命令PhaseScriptExecution失败,退出代码非零-errSecInternalComponent

时间:2019-03-21 22:35:46

标签: ios xcode

今天我尝试存档我的项目,但它一直失败...我可以成功构建并运行它...当我尝试仅存档 时,会显示错误!

BoltsSwift.framework似乎有问题...我正在使用Parse SDK,这就是为什么要拥有它...

这是错误日志:

PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/sotiriskaniras/Library/Developer/Xcode/DerivedData/NUP-gahxesbdjkqixfcoizgsawlmseit/Build/Intermediates.noindex/ArchiveIntermediates/NUP/IntermediateBuildFilesPath/NUP.build/Release-iphoneos/NUP.build/Script-583A75869943ED3BF4CF52AC.sh (in target: NUP)
    cd /Users/sotiriskaniras/Development/nup-repo/ios-code-repository/NUP
    /bin/sh -c /Users/sotiriskaniras/Library/Developer/Xcode/DerivedData/NUP-gahxesbdjkqixfcoizgsawlmseit/Build/Intermediates.noindex/ArchiveIntermediates/NUP/IntermediateBuildFilesPath/NUP.build/Release-iphoneos/NUP.build/Script-583A75869943ED3BF4CF52AC.sh

mkdir -p /Users/sotiriskaniras/Library/Developer/Xcode/DerivedData/NUP-gahxesbdjkqixfcoizgsawlmseit/Build/Intermediates.noindex/ArchiveIntermediates/NUP/BuildProductsPath/Release-iphoneos/NUP.app/Frameworks
Symlinked...
rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/sotiriskaniras/Library/Developer/Xcode/DerivedData/NUP-gahxesbdjkqixfcoizgsawlmseit/Build/Intermediates.noindex/ArchiveIntermediates/NUP/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/BoltsSwift.framework" "/Users/sotiriskaniras/Library/Developer/Xcode/DerivedData/NUP-gahxesbdjkqixfcoizgsawlmseit/Build/Intermediates.noindex/ArchiveIntermediates/NUP/InstallationBuildProductsLocation/Applications/NUP.app/Frameworks"
building file list ... done
BoltsSwift.framework/
BoltsSwift.framework/BoltsSwift
BoltsSwift.framework/Info.plist

sent 1181983 bytes  received 70 bytes  2364106.00 bytes/sec
total size is 1181590  speedup is 1.00
Code Signing /Users/sotiriskaniras/Library/Developer/Xcode/DerivedData/NUP-gahxesbdjkqixfcoizgsawlmseit/Build/Intermediates.noindex/ArchiveIntermediates/NUP/InstallationBuildProductsLocation/Applications/NUP.app/Frameworks/BoltsSwift.framework with Identity iPhone Developer: Themistoklis Drakonakis (69DWD23R7K)
/usr/bin/codesign --force --sign 4C58E1765EEAB7E38EEFDCD6C7AEA7A9CCFC3484  --preserve-metadata=identifier,entitlements '/Users/sotiriskaniras/Library/Developer/Xcode/DerivedData/NUP-gahxesbdjkqixfcoizgsawlmseit/Build/Intermediates.noindex/ArchiveIntermediates/NUP/InstallationBuildProductsLocation/Applications/NUP.app/Frameworks/BoltsSwift.framework'
/Users/sotiriskaniras/Library/Developer/Xcode/DerivedData/NUP-gahxesbdjkqixfcoizgsawlmseit/Build/Intermediates.noindex/ArchiveIntermediates/NUP/InstallationBuildProductsLocation/Applications/NUP.app/Frameworks/BoltsSwift.framework: errSecInternalComponent
Command PhaseScriptExecution failed with a nonzero exit code

1 个答案:

答案 0 :(得分:2)

我终于明白了!我的开发和发行证书有问题-不知道是什么-所以我吊销了它们,创建了新证书并重新存档!问题已解决!