Build iOS from terminal
Solve build error for iOS application from terminal
errSecInternalComponent
I encounter error again, when I run the command from terminal with ssh, it report this error, if run the command from terminal on the remote server, it has no error.
security unlock-keychain login.keychain
After run the command before, then run the following command, it will success:
/usr/bin/codesign --force --sign <id> --preserve-metadata\=identifier,entitlements,flags --generate-entitlement-der <path_of_framework>