Search code examples
iphonearchivecore-plot

How do you Create a single-bundle App/Archive using static libraries like Core-Plot?


I struggled a bit before I found an answer and so I'm posting it here.

Problem: Building archive with Core-Plot resulted in an Organizer error that said something about building a single-bundle archive. Issue seemed to be problem with headers located in /usr of Install_Root.

See below for the solution.


Solution

  • There may be other ways. This one worked for me. Create run script in Build Phase of target App.

    deleteTest - deleteTest.xcodeproj

    Then run Archive. Wha-la!