Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitcode signature failure in Xcode

I updated Xcode to the last version, and now when I'm trying to compile the project I'm getting an error "Invalid bitcode signature", hovewer, the bitcode for my project is disabled. How can I fix it? What should I change to sign my bitcode correctly?

My Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target 'MyProjectName' do

pod 'Realm'
pod 'CorePlot'
pod 'GoogleMaps'

end

I checked already, everything is fine with it.

like image 376
Alexandr Kolesnik Avatar asked Apr 03 '17 08:04

Alexandr Kolesnik


People also ask

What does enable Bitcode do in Xcode?

Enable bitcode Bitcode is an Apple technology that enables you to recompile your app to reduce its size. The recompilation happens when you upload your app to App Store Connect or export it for Ad Hoc, Development, or Enterprise distribution.

Is Bitcode mandatory?

Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14. Xcode no longer builds bitcode by default and generates a warning message if a project explicitly enables bitcode: “Building with bitcode is deprecated.

What is Bitcode?

Bitcode is the intermediate representation of a code or app that LLVM compilers use. Bitcode contains all the necessary information to recompile a mobile application. In most cases, once a mobile app developer finishes the development process on an app, they upload a compiled binary file to iTunes Connect.


1 Answers

I'm not sure if you have the same situation with me. I only have this issue when I tried to test with iPhone device. It turns out that the debug configuration with Build Active Architecture Only is set to NO. After I set to YES, I can test with my iPhone. enter image description here

like image 80
Vincent Avatar answered Nov 03 '22 03:11

Vincent