specleaks icon indicating copy to clipboard operation
specleaks copied to clipboard

Getting error for bitcode enable

Open poonamdhomane opened this issue 6 years ago • 2 comments

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. file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

poonamdhomane avatar Aug 08 '18 07:08 poonamdhomane

I have the same issue. Anybody fixed it?

said13 avatar Jul 10 '19 12:07 said13

You can enable bitcode for pods, use

post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'YES' end end end

vsnv avatar Aug 02 '19 13:08 vsnv