Jenkins/fastlane - There are no local code signing identities found
Solution
- As @Scriptable said in his comment:
Because the Jenkins service runs like a daemon, it cannot access the login keychain, it uses the system keychain. Please make sure that your signing certificates are in the system keychain and see if this helps your issue.
- Certificate is never ever set as Always Trust, it must be Use System Default
After fixing above issue, I faced this issue:
caution: excluded filename not matched: __MACOSX/*caution: excluded filename not matched: *.DS_Storesecurity: cert import failed: Write permissions error.security: problem decoding[10:24:35]: something bad happened: Unable to extract profile[10:24:35]: stacktrace: ["/Users/Shared/Jenkins/.rvm/gems/ruby-2.6.3/gems/fastlane-2.141.0/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!'", "/Users/Shared/Jenkins/.rvm/gems/ruby-2.6.3/gems/fastlane-2.141.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'" .....
Any suggestions ?