Post

Replies

Boosts

Views

Activity

Reply to CODE_SIGN_INJECT_BASE_ENTITLEMENTS not adding com.apple.security.get-task-allow entitlement
Resurrecting an old thread, as this doesn't seem to be how it works, at least not nowadays. % unzip MyApp.ipa % codesign -d --entitlements :- Payload/MyApp.app ... <key>get-task-allow</key> <false/> ... If I save the entitlements to a file: % unzip MyApp.ipa % codesign -d --entitlements entitlements.plist Payload/MyApp.app and just flip the value of the get-task-allow flag and then resign: % codesign --entitlements entitlements.plist -s "iPhone Distribution" -f Payload/MyApp.app Payload/MyApp.app: replacing existing signature and then install the app I get: WARNING: could not locate iTunesMetadata.plist in archive! WARNING: could not locate Payload/Tester.app/SC_Info/Tester.sinf in archive! Copying 'MyApp.ipa' to device... DONE. Installing 'com.....' Install: CreatingStagingDirectory (5%) Install: ExtractingPackage (15%) Install: InspectingPackage (20%) Install: TakingInstallLock (20%) Install: PreflightingApplication (30%) Install: InstallingEmbeddedProfile (30%) Install: VerifyingApplication (40%)ERROR: Install failed. Got error "ApplicationVerificationFailed" with code 0xe8008016: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.AmySH8/extracted/Payload/MyApp.app : 0xe8008016 (The executable was signed with invalid entitlements.) If I don't change anything in entitlements.plist but just resign with the same entitlements then the app installs ok, but can not be started via USB. So, it's not possible to flip the flag and resign. My understanding is that somehow the get-task-allow entitlement must be present in the provisioning profile, but I have not found out any way to actually make this happen. Any ideas for what I can do?
Aug ’21
Reply to Not seeing crash reports on testflight
I'm also having issues with crash reports since about a month. I have one user on iOS 14.6 that manages to crash my app every time it launches. He runs the newest TF version of the app. However none of his crashes are ever sent to App Store Connect (nor available in Xcode). He doesn’t get any popups asking whether he wants to send crash data. He has “Share with App Developers” enabled in Settings -> Privacy -> Analytics and Improvements. Any idea why his crashes aren’t sent? The latest crash I see in App Store Connect is from 16th of June and there have been crashes since that based on discussions with users. Is the best way to again start relying on some third party crash reporting tool, as Apple's stuff clearly isn't working out? I used Crashlytics in the past before Google ruined them and it was awesome, but is sadly not an option anymore.
Jul ’21