1
从Xcode8.0升级到Xcode8.1后,代码签名失败了几个Braintree捆绑。Xcode8.1无法编码签名文件
尝试了很多后,无法找到任何解决方案。 在这里我发布错误日志。
CodeSign /Users/Arvaan/Library/Developer/Xcode/DerivedData/InstaCare-bielwuzaqgqgngcpffjnjballruv/Build/Products/Debug-iphonesimulator/Braintree-Drop-In-Localization.bundle
cd /Users/Arvaan/Documents/BitBucket/iOS/2016/Xcode8_1/New/Instacare/Pods
export CODESIGN_ALLOCATE=/Applications/Xcode8_1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode8_1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode8_1.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "-"
/usr/bin/codesign --force --sign - --timestamp=none /Users/Arvaan/Library/Developer/Xcode/DerivedData/InstaCare-bielwuzaqgqgngcpffjnjballruv/Build/Products/Debug-iphonesimulator/Braintree-Drop-In-Localization.bundle
/Users/Arvaan/Library/Developer/Xcode/DerivedData/InstaCare-bielwuzaqgqgngcpffjnjballruv/Build/Products/Debug-iphonesimulator/Braintree-Drop-In-Localization.bundle: bundle format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1
项目在设备上运行良好,也可以创建存档来分发它。但不能在模拟器上工作。
如果有任何人面临同样的问题,那么请帮助我。
看起来像一个本地化错误。可能的模拟器使用另一种首选语言。您可以在设置应用程序中设置它(常规 - >语言) – shallowThought