cocoapods-binary icon indicating copy to clipboard operation
cocoapods-binary copied to clipboard

XCTest.framework does not contain bitcode

Open PH9 opened this issue 5 years ago • 0 comments

plugin 'cocoapods-binary'

platform :ios, '9.0'

use_frameworks!
inhibit_all_warnings!
all_binary!
enable_bitcode_for_prebuilt_frameworks!

target 'MyApp' do
  target 'MyTests' do
    inherit! :search_paths
  end
end

After bundle exec pod update

It shown

[x] 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 armv7



[x] clang: error: linker command failed with exit code 1 (use -v to see invocation)

PH9 avatar Aug 04 '20 09:08 PH9