Post

Replies

Boosts

Views

Activity

Reply to Missing Push Notification Entitlement after building in command line
The problem seemed to stem from not signing the archive (CODESIGNINGALLOWED=NO is bad in this case). Once the xarchive was signed with the provisioning profiles then I no longer received the email from Apple after uploading. I'd originally avoided signing the archive because I'd struggled to get it working with more than one provisioning profile but eventually found the following solution: https://stackoverflow.com/a/29605731/2520623 For reference, this is what my final archive command looked like: xcodebuild -sdk iphoneos -configuration Release -project myapp.xcodeproj -scheme MyApp archive -archivePath myapp.xcarchive -allowProvisioningUpdates OTHER_CODE_SIGN_FLAGS=--keychain tempkeychain.keychain APP_PROFILE=[UUID of app's prov profile] EXTENSION_PROFILE=[UUID of extension's prov profile]
Jan ’21
Reply to "an error occurred trying to capture leaks data"
It looks to me like the Leaks Instrument times out before the app fully initialises. A workaround for this seems to be to start Instruments from within Xcode once the app is running. In other words; start the app in Xcode, go to the Debug Navigator, click the Memory item there and then in the main window click Profile in Instruments (top right). That should take you right into the Leaks Instrument running against your app.
Jul ’20