1

i have a problem to distributing application with 2 project (one project with sub-project include inside). When i try to make as usual "archive", i'm not able to send application. Could someone help me? Regards

Corallino
  • 109
  • 2
  • 14
  • You'll need to give some more details on what's not working and what error messages if any you're receiving. – Joachim Isaksson Mar 29 '12 at 15:09
  • My schema of my project is like this: MyApp is my project name. I add inside another project: otherApp.xcodeproj. When i try to make Archive to delivery the app to Apple Store, in the organizer identify my project like an "Generic Xcode Archive" and not like "iOS App Archive" – Corallino Mar 29 '12 at 15:23
  • This question and its answer is also valid for archiving Mac applications. – Jerry Tian Mar 28 '13 at 03:12

2 Answers2

4

I'm guessing the sub-project is a library? And when you do Build > Archive you get an .xcarchive file instead of a .ipa? If so, you need to set the Skip Install flag to No on your library (see this answer), then Build > Archive will generate a .ipa file.

Community
  • 1
  • 1
Simon Whitaker
  • 20,506
  • 4
  • 62
  • 79
1

The reason this is happening is because you have two projects.
For the sub-project you need to edit the Target > Build Settings and set the Skip Install setting to Yes.
Afterwards the "Archive" action will work as usual.

The iOSDev
  • 5,237
  • 7
  • 41
  • 78
Filippo
  • 11
  • 2