Error signing .framework code

I used CocoaPods to set the RNCryptor framework. This works fine on my application, and when archiving the application manually through xcode, it works fine.

But when I try to archive using the terminal using the command:

xcodebuild -workspace "$APP.xcworkspace" -scheme "$APP" archive 

I get an error message:

 /usr/bin/codesign --force --sign ... /RNCryptor.framework no identity found Command /bin/sh failed with exit code 1 
+6
source share
2 answers

It looks like you need to set the code identifier in your project, which includes Pods.

Go to your project’s settings and look at the Code Signing section and see if it’s installed with the name β€œ iPhone Distribution: Maximillian ” or β€œ iPhone Development: Maximillian ”.

0
source

In my case, the problem was not related to the wireframe. An updated version of the provisioning profile required a different signature identifier; When I installed a new certificate, the problem was resolved.

0
source

All Articles