Post

Replies

Boosts

Views

Activity

Menu works fine in iPad and Mac Catalyst but crashed on Apple Silicon
Hi, I have an iPad app that has menus, like:  CommandGroup(replacing: .help) {                 Button("Help") { showHelp = true }                     .keyboardShortcut("/")  } They works fine in iPad and also if compiled to Mac Catalyst, but will crash on Apple Silicon Mac when selected the menu items with errors like: [General] -[_UIEditMenuInteractionMenuController propertyList]: unrecognized selector sent to instance 0x600000190540 I did not use storyboard and only use SwiftUI. Any suggestions? Note: of course the best solution is to compile to Mac Catalyst, but the app has some other issues when run in Mac Catalyst. So I can only release it as iPad app.
5
0
1.8k
Jan ’23
Localization in Mac Catalyst does not work in macOS 12 menu
Localization works fine in macOS 13, but not in macOS 12 menu (still show English while in localized language). Is it possible to make it work in macOS 12?             CommandGroup(after: .appInfo) {     Button("About Company") { showAppsSheet = true }      } Tried setting the name in LocalizedStringKey then put in Button but does not work.
1
0
1.1k
Jan ’23
Widget in iOS app not shown as Mac Catalyst app
I wish to support Mac with my iPhone/iPad app using Mac Catalyst. Our app shows widgets on iPhone/iPad home screen properly. Using Mac Catalyst is straight forward (except to exclude all ActivityKit codes). However, although the app shows up and work perfectly, I can't see the widgets in notification center. Separate compile the widget extensions show no errors but nothing is shown. Also tried build separately, drag into Applications folder, run the build and the widgets are not shown. Any suggestions? Using the Xcode 14.2 and macOS 13.1.
2
0
1.7k
Jan ’23
Mac Catalyst release notes?
In the process of converting our SwiftUI app to Mac Catalyst, we found that although the app works fine in macOS 13, it is very buggy in macOS 12 (menu does not get refreshed when enable/disable, color palette does not work properly, localized text does not show up in menu, etc). Is there release notes for Mac Catalyst running on different macOS releases? And how do we disable features that don't work on older OS? Thanks!
0
0
825
Jan ’23
Cannot remove App Privacy after removing AdMob and tracking
I wanted to remove AdMob from my iOS app, so I remove all traces of AdMob, and make sure that info.plist does not have NSUserTrackingUsageDescription, no external framework used, and no traces of NSUserTrackingUsageDescription in my codes (global search in Xcode not found). However, previous version has setup App Privacy in AppStore Connect. Uploading a new build I can remove all entries in App Privacy except for one (?): Data Types - 1 data type collected from this app: Product Interaction And I cannot remove this one: when selecting not collecting info, I got this error message: Your app contains NSUserTrackingUsageDescription, indicating that you will request permission to track users. You must indicate which data types are tracking users. If this is incorrect, update your app binary and upload a new build to App Store Connect. What shall I do? And what is this Product Interaction tracking? (The rest can all be reset to not tracking except this one.)
37
6
33k
May ’21
Ignore StoreKit in Apple Silicon Mac?
I wish to include some recommendation app links in our app, but when upload to App Store I got this message: ITMS-90863: Apple silicon Macs support issue - The app uses symbols that are not present on Mac: Is it possible to bypass those codes in Apple Silicon Macs with SwiftUI? I can't check for #if os since for Apple Silicon Macs, this is an iPad app.
0
0
861
Mar ’21
Distribution Profile Type for Mac Catalyst app?
Hi, this might sounds dumb, but to create a distribution profile for Mac Catalyst app, should I choose Mac or Mac Catalyst? When select "Mac Catalyst" type, I saw this message, which concerns me since I don't use any "maccatalyst" prefix for our apps. To generate a provisioning profile for an App ID with a "maccatalyst" prefix, search for the iPad app's App ID. Then select the App ID under "Enabled App IDs with an associated application identifier".
7
0
2.9k
Nov ’20