Post

Replies

Boosts

Views

Activity

Reply to POSIX semaphores on iOS
I ran your code under macOS playground no issues. Just doesn't work under an iOS playground. import Foundation func doExternalHardwareInit() {     let sema = sem_open("our.app.group/A", O_CREAT, 0o660, 1)     defer { sem_close(sema) }     guard sema != SEM_FAILED else {         perror("sem_open")         exit(EXIT_FAILURE)     }     print("Waiting for semaphore")     sem_wait(sema) // stuck here     print("Got semaphore")     // run code that must not run multiple times    sem_post(sema) } doExternalHardwareInit()
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’22
Reply to How can I stop Xcode from indenting on hitting return
are you writing within braces when this happens?
Replies
Boosts
Views
Activity
Mar ’22
Reply to iOS App is getting crash on ios version 15.4
Make sure firebase is setup properly: (assertion Error acauirina assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not runnina or doesn't have entitlement
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Increase Xcode cloud usage limit?
Probably pay more money or build less.
Replies
Boosts
Views
Activity
Mar ’22
Reply to In SwiftUI, How to increase Font Size/Style of a Picker?
In your ForEach set the font size & style for the Text view entries
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Problems after updating to Xcode 13.3
Mark this as answered and your post is best suited here: https://discussions.apple.com/welcome
Replies
Boosts
Views
Activity
Mar ’22
Reply to Over 1 TB of System Data used
Your question is best suited here: https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to No ObservableObject found
import combine
Replies
Boosts
Views
Activity
Mar ’22
Reply to Xcode 13.3 wrongly claiming UI changes on background thread
Change to: @MainActor private func runOnMain(_ action: @escaping ()) async { action() } or @MainActor private func runOnMain(_ action: @escaping () -> async Void) async { Task { @MainActor in action() } }
Replies
Boosts
Views
Activity
Mar ’22
Reply to Update discontinues software driver to Monterey or Big Sur
Time to start shopping around but this question is better suited here https://discussions.apple.com/welcome or reach reach tp Tascam or downgrade to the an OS supported by them.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Universal Control not working Mac OS Monterey 12.3
This you enable bluetooth? Works for me no issue but your question is better suited here -> https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to TotalSpace3, Apple please wake-up!
Not an Apple issue - contact the developers of TotalSpace3 to fix it, not apple!
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to TotalSpace3, Apple please wake-up!
marked as ranting spam
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Why is it so hard to simply play an audio file in SwiftUI?
SwitfUI Video Player:- https://developer.apple.com/documentation/swiftui/swiftui-views-defined-in-other-frameworks
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Why can't my companion app connect to MFi
For questions about using Apple hardware and services, visit Apple Support Communities
Replies
Boosts
Views
Activity
Mar ’22
Reply to POSIX semaphores on iOS
I ran your code under macOS playground no issues. Just doesn't work under an iOS playground. import Foundation func doExternalHardwareInit() {     let sema = sem_open("our.app.group/A", O_CREAT, 0o660, 1)     defer { sem_close(sema) }     guard sema != SEM_FAILED else {         perror("sem_open")         exit(EXIT_FAILURE)     }     print("Waiting for semaphore")     sem_wait(sema) // stuck here     print("Got semaphore")     // run code that must not run multiple times    sem_post(sema) } doExternalHardwareInit()
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22