11

Since I upgraded xCode to 4.5 I can not find option to save my iOS app as .ipa file which I want to distribute over Testflight. Any suggestions?

Here is screenshot of archive options:

archive options

knagode
  • 5,816
  • 5
  • 49
  • 65

1 Answers1

26

Archive you build, then, in the Organizer's Archives tab, select the archive you want to export as ipa, click on Distribute... and select Save for Enterprise Ad-Hoc Deployment.

This is what this looks like on my machine:

Xcode archive export

Community
  • 1
  • 1
Michael Ochs
  • 2,846
  • 3
  • 27
  • 33
  • It seems like I dont have this option :/ (I updated my question and added screenshot) – knagode Oct 19 '12 at 09:14
  • 1
    I don't do Mac development, but the given options you have pretty much look like your Xcode thinks that this is a Mac app! I don't know what triggers this in Xcode but have a look at the build settings of your target: Supported Platform should say 'iOS' and Target Device Family should say 'iPhone', 'iPad', or 'Universal' depending on your app. (See my updated post!) – Michael Ochs Oct 19 '12 at 10:37
  • This was the problem and here is how to solve this issue: http://stackoverflow.com/questions/10411105/my-iphone-app-is-being-archived-as-mac-app-archive-and-not-ios-app-archive – knagode Oct 19 '12 at 10:59
  • @knagode: Whats the difference between `Archive` & `Build For Archive` ? – Abhishek Bedi Apr 03 '13 at 11:14
  • "Build for Archive" doesn't archive your work it just makes a build. http://stackoverflow.com/questions/5444880/when-i-build-for-archive-in-xcode-4-where-does-the-file-go – knagode Apr 03 '13 at 17:53