从 Xcode8.0 升级到 Xcode8.1 后,Braintree 的几个捆绑包的代码签名失败。
尝试了很多之后,无法找到任何解决方案。在这里我发布错误日志。
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
项目在设备上运行良好,还能够创建存档来分发它。但不适用于模拟器。
如果有人面临同样的问题,请帮助我。