The following build commands failed:
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/fc-admin/Library/Developer/Xcode/DerivedData/xxxxx-eyjosqxvyjpoebglgftboozsqjan/Build/Intermediates.noindex/ArchiveIntermediates/sit2/IntermediateBuildFilesPath/xxxx.build/sit2_Debug-iphoneos/xxxx.build/Script-5AA6A293440E5DB538057C56.sh
(1 failure)
[17:19:57]: �[31mExit status: 65�[0m
+---------------+-------------------------+
| �[32m�[33mBuild environment�[0m |
+---------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.159.0 |
| export_method | development |
| sdk | iPhoneOS13.6.sdk |
+---------------+-------------------------+
[17:19:58]: ▸ �[35mtotal size is 3795839 speedup is 1.00�[0m
[17:19:58]: ▸ �[35mCode Signing /Users/fi-admin/Library/Developer/Xcode/DerivedData/xxxx-eyjosqxvyjpoebglgftboozsqjan/Build/Intermediates.noindex/ArchiveIntermediates/sit2/InstallationBuildProductsLocation/Applications/xxxx.app/Frameworks/AFNetworking.framework with Identity Apple Development: xxxxxx
[17:19:58]: ▸ �[35m/usr/bin/codesign --force --sign 9B2DC57A8583FD0B114C603BDD46555B872DE3E6 --preserve-metadata=identifier,entitlements '/Users/fc-admin/Library/Developer/Xcode/DerivedData/xxxx-eyjosqxvyjpoebglgftboozsqjan/Build/Intermediates.noindex/ArchiveIntermediates/sit2/InstallationBuildProductsLocation/Applications/xxxxx.app/Frameworks/AFNetworking.framework'�[0m
[17:19:58]: ▸ �[35m/Users/fc-admin/Library/Developer/Xcode/DerivedData/xxxx-eyjosqxvyjpoebglgftboozsqjan/Build/Intermediates.noindex/ArchiveIntermediates/sit2/InstallationBuildProductsLocation/Applications/xxxxx.app/Frameworks/AFNetworking.framework: errSecInternalComponent�[0m
[17:19:58]: ▸ �[35mCommand PhaseScriptExecution failed with a nonzero exit code�[0m
记录一下,Jenkins配置中遇到这个问题
最终解决方法
##增加了这行,获取权限
security set-key-partition-list -S apple-tool:,apple: -s -k mac的密码 -t private /Users/用户名/Library/Keychains/login.keychain-db
fastlane xxxx
网友评论