Xcode creates archive instead of IPA

I am trying to create an ipa file (Product->Archive->Share) but Xcode produces just archive file.

It worked well few days ago. I was always getting working ipa but now I can't make it to produce ipa (when I click on share in archive I can't sign the code). I have added subproject into main project within few past days (CorePlot-CocoaTouch). I am no one hundred sure it can relates.

Answers


If you've added a static library, they get installed by default now. This is not okay for iPhone applications. Go to the project file and select the static library's target. Under Build Settings, go to the Deployment section and change the Skip Install setting to YES. Since Xcode 4, it is now NO by default, which will break your IPA (since the only binary you can install legally is the application binary itself).

You may have to switch from the Basic view to the All view to see this setting.


Since the answer that worked for me is buried in the comments, I thought I'd bring it to the top. In my case, changing the header files for the static library to Project fixed the issue.

To do this, select your library target, then go to Build Phases > Copy Headers and move the header files from Public to Project.


One who has tried all other answers and had no luck the please check this check box, hope it'll help (did the trick for me xcode 6.0.1)


In XCode 5 the same error occurs if you have multiple targets and wrong checkmarks in Manage Schemes. Then Xcode puts 2 binaries into 1 Generic Archive. This does not affect checked in files into e.g. git!


The other answers are all probably right, but didn’t help in my case. I spent hours on this and finally rebooted. Then I once more got the application archive I had gotten a week ago.


If you include a project that produces a static library, try checking the option "copy only when installing". This stopped Xcode from including the static library inside my application archive. I used Xcode 6.3.2.


Need Your Help

Blurry background images after update to IE11

css background-image internet-explorer-11

So this morning I got an automatic update to IE 11, after checking my eyes it appears that some of my background images are blurry.

extract float numbers from data file

python regex file-io extract

I'm trying to extract the values (floats) from my datafile. I only want to extract the first value on the line, the second one is the error. (eg. xo @ 9.95322254_0.00108217853