iOS Jenkins libswiftMetal.dylib: errSecInternalComponent

Mac机器 部署jenkins环境报错:

 15:28:08                      

/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/HuiNengCloud-                    
bpbsszzqmvbgmygprvgiiybjylcb/Build/Intermediates.noindex/ArchiveIntermedi
ates/HuiNengCloud/InstallationBuildProductsLocation/Applications/HuiNengCl
oud.app/Frameworks/libswiftMetal.dylib: errSecInternalComponent

解决方案:

在编译脚本之前加如下脚本:密码为电脑开机密码

security unlock-keychain -p 密码

build

xcodebuild -workspace xxx.xcworkspace -scheme xxx -configuration     
$CONFIGURATION archive -archivePath build/xxx.xcarchive;

你可能感兴趣的:(iOS Jenkins libswiftMetal.dylib: errSecInternalComponent)