Mac OS X Build Server Missing file with archived extension .xcent in IPA

I am trying to archive a project using Xcode 6.1.1 and Mac OS X Server 4.0.3 and OS X 10.10.2. Signing an application with adHoc works as part of the integration. But now I have a problem that the ".entitlements" file is not being processed correctly.

When I download xcarchive, the archived-extended .xcent files are part of the application package, but the file is missing from the IPA file from the same integration, so I cannot install it on the device. Could it be that exporting xcarchive with an adHoc certificate does not handle permissions in the same way as with enterprise or development provisioning? And if so, how should I configure the project to create archived .xcent extended permissions using "adHoc"?

Thanks for any help

+6
source share
1 answer

This may be due to an error in xcode (see http://www.openradar.me/21309940 ). My workaround was to configure my build script for continuous integration. After exporting the .ipa file, it unpacks the .ipa file, copies the archived-expanded-entitlements.xcent from the .xcarchive directory to the Payload/<yourproject>.app , and then unpacks the Payload directory to a new .ipa file.

+1
source

Source: https://habr.com/ru/post/982701/


All Articles