【发布时间】:2019-10-08 23:01:50
【问题描述】:
我有一个使用 Objective-C 作为基础的颤振应用程序,然后我添加了一些基于 SWIFT 的库,所以我打开了 SWIFT 支持,所有的麻烦都由此开始。我添加了 SWIFT 支持:
config.build_settings['SWIFT_VERSION'] = '5.0'
use_frameworks!
和
platform :ios, '9.0'
到我的 Podfile。此操作删除了所有与 swift-lib 相关的错误,但现在我收到了上面关于代码设计的错误。
我已阅读有关此错误的信息并尝试了以下操作:
- 重置登录钥匙串
- 在“始终允许”的提示中输入登录钥匙串密码
- 删除派生数据
- 重新安装 Xcode
- 重启 macOS 一百万次
- 将开发者证书移动到系统钥匙串
- 创建一个全新的 Apple ID 和所有证书
没有任何帮助,错误就在这里,并且是相同的。
Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftCoreLocation.dylib'
error: The specified item could not be found in the keychain.
Probing signature of /Users/alutikova/Library/Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftDispatch.dylib
error: The specified item could not be found in the keychain.
Probing signature of /Users/alutikova/Library/Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftMetal.dylib
error: The specified item could not be found in the keychain.
Probing signature of /Users/alutikova/Library/Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftQuartzCore.dylib
/usr/bin/codesign '-r-' '--display' '/Users/alutikova/Library/Developer/Xcode/DerivedData/Runner-bwqlfsixhrzgsfakfinzgchwtvci/Build/Products/Debug-iphoneos/Runner.app/Frameworks/libswiftQuartzCore.dylib'
error: The specified item could not be found in the keychain.
任何帮助将不胜感激,因为我完全陷入困境。
【问题讨论】:
标签: ios swift xcode flutter codesign