leavez / cocoapods-binary

integrate pods in form of prebuilt frameworks conveniently, reducing compile time
MIT License
1.3k stars 207 forks source link

XCTest.framework does not contain bitcode #131

Open PH9 opened 3 years ago

PH9 commented 3 years ago
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)