Trying to use Travis CI to build, archive and distribute my Ad Hoc app builds through Crashlytics (Fabric). Having an issue with the code signing process though, as it attempts to code sign the cocoapods I am using. Here is the output:
=== ARCHIVE ===
xcodebuild archive My Cool App - AdHoc
Pods / Bolts (AdHoc)
✗ Check dependencies (16 ms)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Check dependencies
Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“My Cool App (AdHoc)”) has an AppID of “com.nitwitstudios.mycoolapp” which does not match your bundle identifier “org.cocoapods.Bolts”.
I was having this issue with a project that has use_frameworks!
enabled.
The temporary workaround I found for this was changing the code signing identity for any iOS SDK for all of my Cocoapod frameworks to default so that it was iOS Distribution
:
This doesn't really seem like a permanent solution though - this gets overwritten anytime I pod update
.