Bungles
Bungles

Reputation: 2257

Distribute Archive shows Mac OS instead of iOS

I created a brand new project in the latest version of Xcode and have been building and running it fine in both Simulator and on Devices plugged into my Mac.

Recently I needed to archive & export an .ipa for someone else to install (still using my developer profile and one of my developer devices), but was unable to do so because when I click on the "Distribute" button on the "Archive" tab of the Organizer window, the top choice is "Submit to Mac App store" instead of the iOS store.

Nothing in my project settings indicates Mac OS instead of iOS, so I'm baffled as to why this is happening. I've tried duplicating the Target/Product, but the results are the same. I've also had someone else build the project on a different Mac and they experience the same problem.

Is this a known bug in Xcode and is there some way to get past it?

Thanks, BT

Upvotes: 4

Views: 747

Answers (1)

Johan Kool
Johan Kool

Reputation: 15927

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.

(Found answer via this question: My iPhone app is being archived as "Mac App Archive" and not "iOS app archive".)

Upvotes: 1

Related Questions