Post

Replies

Boosts

Views

Activity

Previews stopped working when mergeable is enabled
Whenever we include the mergeable configuration on an xcframework which contains a SwiftUI preview, the preview can't compile. That's because it is trying to keep the dynamic configuration but on a binary type that is not a dynamic library. It fails with the error: Linking failed: linker command failed with exit code 1 (use -v to see invocation) 1d: -make_mergeable can only be used when creating a dynamic library clang: error: linker command failed with exit code 1 (use -v to see invocation) That's only happening when we add the preview.
1
0
426
Feb ’24
SKCloudServiceController returning denied and MPMediaQuery not supported
First of all thanks,I'm including support of catalyst on an iPad app. I make use of SKCloudServiceController requestAuthorization on the iPad app and everything works as expected. My surprise comes when I add Catalyst support.Every time I ask this method it always return .denied I reset app permissions by using tccutil reset All my.bundle but same. I never get .notDetermined state. Catalyst app is running in sandbox mode, Could be something related to this? or am I missing any entitlement?Another surprise comes when I try to use MPMediaQuery, in my iOS app works like a charm, but when using the same code in catalyst, console raises the following error:[SDKLibrary] -[MPMediaLibrary _initWithUserIdentity:]_block_invoke: app authorized for access, but MediaLibrary unavailable on this platform.As per Apple documentation https://developer.apple.com/documentation/mediaplayer/mpmediaqueryMPMediaQuery is fully supported in Catalyst. Am I missing something?
4
0
1.1k
May ’20