specta / expecta

A Matcher Framework for Objective-C/Cocoa
MIT License
1.59k stars 158 forks source link

XCTest does not contain bitcode #178

Closed jonakyd closed 8 years ago

jonakyd commented 8 years ago

Hi,

I'm using cocoapods to install expecta and try to build my test target on my device but got no luck. I got following error

clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7

screen shot 2015-11-08 at 12 34 59

I can do a workaround through setting the generated workspace Enable Bitcode to NO, but the workspace will be regenerate everytime. I'm just wondering is there anything expecta can do?

screen shot 2015-11-08 at 12 36 15

any ideas? thanks.

Cocoapods 0.39.0 Xcode7.1(7B91b) iPhone5 iOS9.1