Search code examples
iphoneiosipadplistarchive

How to make an archive if there are two target in my apps


Friends!

I am creating archive file of my application and then creating ipa and plist file of it for sharing it.

But if there are two targets in my application, I can't create plist and ipa file for enterprise. I am getting the screen shown in image.

enter image description here


Solution

  • i got my answer by :

    http://astralbodies.net/blog/2011/03/27/xcode-4-problem-submitting-app-with-static-library/

    it is showing:

    1) Click on the Core Plot project which should be a child of your App’s project.

    2) Click on the Project CorePlot-CocoaTouch and go to the Build Settings. Set “Skip Install” to Yes.

    3) Click on the CorePlot-CocoaTouch target and set “Skip Install” to Yes.

    4) Click Build Phases and under Copy Headers, move all of the Public and Private entries to the Project section.