Post

Replies

Boosts

Views

Activity

Reply to Invalid bundle ID for container.
I could resolve this by completely removing (i.e. deleting) the App ID from the developer account. I have singing and certificates managed by XCode and this somehow got messed up. Deleting the App ID made XCode regenerate everything and not it's fine. (For context: This was on XCode 13 with targets set to iOS 15 and macOS 12.)
Jun ’22
Reply to Kernel Panic with Xcode 13.3
I have this too. I had 4 complete system crashes since yesterday. I am wondering if that happens because my MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports) only has 8GB of RAM. Because "Submission on work queue 36 failed due to insufficient space!" sounds like the Metal driver could not allocate enough memory. Of course this is still a severe bug and should be fixed by Apple. But I'm curious if people with 16 GB or 32 GB have this as well. I noticed my memory pressure often goes yellow when I run the simulator. Maybe testing on the simulator of an older iPhone with less RAM might be a workaround.
Jul ’22
Reply to Detecting TestFlight build on macOS
If you have In-App Purchases or Subscriptions in your app, you can determine the purchase environment from the Transaction object, which has an environment property. There are three possible values: sandbox, xcode, and production. So you cannot distinguish between development and TestFlight builds. But you can determine when you are not in production. So the combination of !DEBUG and transaction.environment != .production can be used to identify TestFlight users. You just need to get hold of some App Store transaction at some point. https://developer.apple.com/documentation/storekit/transaction/3963920-environment
Jun ’23
Reply to Problems with multi-platform apps using app groups on macOS 15
I have the exact same issue with my app. It seems that Sequoia expects the app group to start with the team identifier. But it is not possible to create a group identifier specifically for macOS in multi-platform targets and iOS groups always need to start with group. It is not even possible to create a separate target for macOS because XCode only allows one target per app identifier. This is a serious issue because the first thing users see when they launch the app is a security warning that is incorrect. Either macOS should also accept iOS style group identifiers or XCode should allow setting different identifiers for each system. Yet, the first would be much better, because otherwise, we would need to migrate existing data to a new group folder, which again requires the user to agree to the security alert.
Sep ’24
Reply to Problems with multi-platform apps using app groups on macOS 15
I have found that the release notes of Sequoia actually state that any app group format should work, when the app is distributed through the app store or includes it in the provisioning profile (highlights by me): Specifically, the app must use FileManager to get the app group container path and meet one of the following requirements: the app is deployed through Mac App Store; the app group identifier is prefixed with the app’s Team ID; or the app group identifier is authorised by a provisioning profile embedded within the app. Also, I have discovered in the release notes of macOS 15.1 beta 4 sate that it fixes the following issue: Fixed: Users might be incorrectly prompted when an app that is distributed through TestFlight attempts to access an application group container. (131606564) (FB14288230) I understand, that the security alert should actually not be shown and is currently only shown for XCode and TestFlight builds. I can verify, that no such alert is shown when I run the App Store version of my app. I haven't tested the new 15.1 beta yet, however. So this might actually not be a big issue after all. 😮‍💨
Sep ’24