Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode takes too much time for compile bit code at time of preparing archive

I am trying to make archive but xcode get stuck at time of compile bitcode. what i have to do? Enable bitcode or disable?

like image 202
Nand Parikh Avatar asked May 12 '16 12:05

Nand Parikh


People also ask

Why does Xcode take so long to compile?

Xcode has inbuilt features that allow you to identify functions and expressions that are causing longer compile times. You can specify a compile time limit and identify areas in your codebase that exceed this limit. Open up your project's build settings and add the following flags to your Other Swift Flags .


2 Answers

I have a better solution for this problem. Don't go for the export option tomato iPA, try out as mentioned below:

  1. Right click your Archive and select "Show" in Finder
  2. Then again right click on the resulted file in Finder and select "Show Package Contents"
  3. Then from the result open the product folder --> Application folder --> and select the ".app" file
  4. Then simply add this .app file under apps of iTunes software on Mac
  5. After completing the adding process right click on the app icon in iTunes and show in Finder, which will give you the iPA file.
like image 73
Vinod Mahale Avatar answered Sep 22 '22 08:09

Vinod Mahale


I was facing the same problem. What my suggestion is just enable this check mark when export for iOS App Store Deployment. If you are exporting an adhoc build then do uncheck it. It will work fast.

Bitcode refers to to the type of code: "LLVM Bitcode" that is sent to iTunes Connect. This allows Apple to use certain calculations to re-optimize apps further (e.g: possibly downsize executable sizes). If Apple needs to alter your executable then they can do this without a new build being uploaded

enter image description here

like image 41
OurangZeb Khan Avatar answered Sep 23 '22 08:09

OurangZeb Khan