Xcode 10签名错误:Frameworks / libswiftsimd.dylib:代码对象根本未签名

时间:2019-05-04 13:15:54

标签: ios xcode xcode10

我最近升级到Xcode 10.2.1-客户端将其设备更新到iOS 12.2,这导致移动应用程序的功能停止工作(相机/ qr扫描仪)。因此,用新的Xcode重建了我的应用程序(这是一个离子应用程序)。我可以通过Xcode在模拟器中构建和运行,但无法存档以进行分发。看起来像是我无法解决的代码签名错误。

已经尝试过重新分配配置文件,清理构建文件,删除派生数据。

日志输出

probing signature of /Users/sam/Library/Developer/Xcode/DerivedData/Bootcamp_Admin-ajntpyeonsdorvblemqwhyetkmpr/Build/Intermediates.noindex/ArchiveIntermediates/Bootcamp Admin/InstallationBuildProductsLocation/Applications/Bootcamp Admin.app/Frameworks/libswiftsimd.dylib
/usr/bin/codesign -r- --display /Users/sam/Library/Developer/Xcode/DerivedData/Bootcamp_Admin-ajntpyeonsdorvblemqwhyetkmpr/Build/Intermediates.noindex/ArchiveIntermediates/Bootcamp Admin/InstallationBuildProductsLocation/Applications/Bootcamp Admin.app/Frameworks/libswiftsimd.dylib
/Users/sam/Library/Developer/Xcode/DerivedData/Bootcamp_Admin-ajntpyeonsdorvblemqwhyetkmpr/Build/Intermediates.noindex/ArchiveIntermediates/Bootcamp Admin/InstallationBuildProductsLocation/Applications/Bootcamp Admin.app/Frameworks/libswiftsimd.dylib: code object is not signed at all

Codesigning /Users/sam/Library/Developer/Xcode/DerivedData/Bootcamp_Admin-ajntpyeonsdorvblemqwhyetkmpr/Build/Intermediates.noindex/ArchiveIntermediates/Bootcamp Admin/InstallationBuildProductsLocation/Applications/Bootcamp Admin.app/Frameworks/libswiftsimd.dylib
/usr/bin/codesign --force --sign E53B3573B6BABE35C4A71D789E5E5058D1895105 --verbose /Users/sam/Library/Developer/Xcode/DerivedData/Bootcamp_Admin-ajntpyeonsdorvblemqwhyetkmpr/Build/Intermediates.noindex/ArchiveIntermediates/Bootcamp Admin/InstallationBuildProductsLocation/Applications/Bootcamp Admin.app/Frameworks/libswiftsimd.dylib
/Users/sam/Library/Developer/Xcode/DerivedData/Bootcamp_Admin-ajntpyeonsdorvblemqwhyetkmpr/Build/Intermediates.noindex/ArchiveIntermediates/Bootcamp Admin/InstallationBuildProductsLocation/Applications/Bootcamp Admin.app/Frameworks/libswiftsimd.dylib: errSecInternalComponent

error: Failed with exit code 1

1 个答案:

答案 0 :(得分:0)

在Xcode菜单-文件->项目设置中

将构建系统更改为-旧式构建系统,然后尝试

让我知道它是否有效

enter image description here