我是一个没有签名的动态框架 CODE_SIGNING_ALLOWED =没有 CODE_SIGNING_REQUIRED = NO EXPANDED_CODE_SIGN_IDENTITY =
此框架链接的主要应用程序工作正常,而测试因代码签名要求而失败。
2016-10-05 17:40:40.034 xctest[46026:374452] The bundle “CoreUnitTests.xctest” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
2016-10-05 17:40:40.035 xctest[46026:374452] (dlopen_preflight(/Users/user/Library/Developer/Xcode/DerivedData/Application-cafxiqfcbbczvkezpwscftqdsllz/Build/Products/Debug-iphonesimulator/CoreUnitTests.xctest/CoreUnitTests): Library not loaded: @rpath/Core.framework/Core
Referenced from: /Users/user/Library/Developer/Xcode/DerivedData/Application-cafxiqfcbbczvkezpwscftqdsllz/Build/Products/Debug-iphonesimulator/CoreUnitTests.xctest/CoreUnitTests
Reason: no suitable image found. Did find:
/Users/user/Library/Developer/Xcode/DerivedData/Application-cafxiqfcbbczvkezpwscftqdsllz/Build/Products/Debug-iphonesimulator/Core.framework/Core: required code signature missing for '/Users/user/Library/Developer/Xcode/DerivedData/Application-cafxiqfcbbczvkezpwscftqdsllz/Build/Products/Debug-iphonesimulator/Core.framework/Core'
/Users/user/Library/Developer/Xcode/DerivedData/Application-cafxiqfcbbczvkezpwscftqdsllz/Build/Products/Debug-iphonesimulator/Core.framework/Core: required code signature missing for '/Users/user/Library/Developer/Xcode/DerivedData/Application-cafxiqfcbbczvkezpwscftqdsllz/Build/Products/Debug-iphonesimulator/Core.framework/Core'
)
Program ended with exit code: 82
有没有办法在测试包中禁用代码签名要求?