We are in the process of migrating our CircleCI 1.0 project to 2.0 and we’re having a bumpy time. We’ve made progress and the workflows are created, but on our final test run we’ve walked into an issue that everyone would like to avoid: code signing.
So, our pipeline works with
fastlane match and we’ve been able to build, sign and upload our apps for a while now with 1.0. However with 2.0 builds are getting stuck during
gym when signing:
... [09:52:49]: ▸ Generating 'MyAppNotificationServiceExtension.appex.dSYM' [09:52:49]: ▸ Running script '[CP] Copy Pods Resources' [09:52:49]: ▸ Touching MyAppNotificationServiceExtension.appex [09:52:49]: ▸ Signing /Users/distiller/Library/Developer/Xcode/DerivedData/MyApp-bqwbpzspiqvwmehkyqpjdnuythhl/Build/Intermediates.noindex/ArchiveIntermediates/MyApp\ Stage/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/MyAppNotificationServiceExtension.appex
And this is where things time out after 10-15 minutes. Does anyone else experience the same issues? As I said, the lanes worked as they should before we switched to 2.0
Running the lane locally built the app aswell. So something is amiss and I can’t see it. Any ideas?
I’ve taken a look into my branches that still run on CircleCI 1.0 and SSHed in to execute some lanes manually to play through the two small adjustments I made during the migration to 2.0. Everything works there. If I SSH into a 2.0 branch build: no chance. It always gets stuck at the same point when trying to sign the app extension.
Could there be the possibility, that CircleCI doesn’t unlock the keychain correctly?