简体   繁体   中英

Fastlane gym failed with error only when running over ssh: Task failed with exit 1 signal 0 /usr/bin/codesign --force sign '' '--verbose'

When I am running same Fastlane locally from terminal it works fine. But when I run it from Jenkins Pipeline on Mac node which is connected using ssh with username and password.

I started getting this error after I run some security commands to create keychain, find certificates, identity, import certificate and p12 files in keychain

*/*.app/Frameworks/libswiftcore.dylib: replacing existing signature
*/*.app/Frameworks/libswiftcore.dylib: unknown error -1=ffffffffffffffff
error: Task failed with exit 1 signal 0
     /usr/bin/codesign --force sign '' '--verbose'

I tried after removing all other keychains other than login and system, I also restarted Mac, I am also cleaning before building. I am using separate derived data folder for every build. Still I am getting same error when running using Jenkins Pipeline, my Mac machine is connected to jenkins using ssh.

Thanks.

Started working when removed identity from keychain, added keychain_password parameter in match action.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM