xcode打包签名访问失败errSecInternalComponent

错误信息

/Users/xxxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-bzwyypshqjwshtbpohwldjmqkstx/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/NotificationService.appex: errSecInternalComponent

原因

钥匙串没有授权, 访问签名失败, 参见 https://stackoverflow.com/questions/24023639/xcode-command-usr-bin-codesign-failed-with-exit-code-1-errsecinternalcomponen

解决方案 

编译前解锁钥匙串

security unlock-keychain login.keychain

  

原文地址:https://www.cnblogs.com/dabaopku/p/10876794.html