Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My iPhone app is being archived as "Mac App Archive" and not "iOS app archive"

Tags:

xcode

ios

iphone

I'm trying to release an ad-hoc ipa using XCODE 4.3.1. when archiving my iOS app I can see in the Organizer that the archive type is "Mac App Archive", While I know it should be "iOS App Archive".

Now when I'm trying to Distribute I don't have IPA options but mac apps options..

By the way, when I'm running it on my device it compiling and running perfect. The Project settings says: "Device family: iPhone"

Any idea's?

Thanks !

like image 421
Guy S Avatar asked May 02 '12 09:05

Guy S


2 Answers

Since Guy didn't post it as a proper answer, I will, because I can confirm it works.

Check if you have accidentally made your Info.plist part of your target. It shouldn't be. Uncheck it in the Target Membership pane or remove it from the Copy Bundle Resources build phase.

like image 174
Johan Kool Avatar answered Sep 20 '22 20:09

Johan Kool


If you use Facebook SDK and import their plist file, you need to remove it from the target.

like image 41
Andrus Cosmin Avatar answered Sep 19 '22 20:09

Andrus Cosmin