What is the correct way to set build configurations in an ios project using static libraries for creating an archive in xcode 4? -


i have working application relies on several static libraries, i've added dependencies application , added link static libraries bit in build phases. builds , runs fine in simulator , on attached ipad.

i wanted create .ipa use test flight followed instructions on test flight's site (http://support.testflightapp.com/kb/tutorials/how-to-create-an-ipa-xcode-4) , other tutorials relating creating archive app uses static libraries (http://diaryofacodemonkey.ruprect.com/2011/03/18/ad-hoc-app-distribution-with-xcode-4/, http://www.musicalgeometry.com/?p=1237).

following these tutorials, when create archive linker errors not being able find various libraries, example: ld: library not found -loauthtouch

(i've tried using new project , new static library project make sure it's not setting i've changed , same problem).

this seems because added build configuration called "ad hoc" app creating archive, , based on linker command , fact adding "ad hoc" configuration static libraries use allows archive created i'm assuming static libraries being built different directory.

i'd rather not have add new build configuration libraries use, question is, should create archive of app without tinkering every library use?

a second related question: tutorials mentioned set "skip install" build setting yes static libraries, apple documentation (http://developer.apple.com/library/mac/#documentation/toolslanguages/conceptual/xcode4userguide/distapps/distapps.html) seems indicate setting application, rather libraries. know right?

it work, must paths correct , make sure have set skip install no on each of static libraries in workspace. went through , ended deleting existing ad hoc distribution configuration both main target , each of static library targets. created new ad hoc configuration on main project , each static library project , verified of settings in each of them.

see this link, this, , this of helped sort through this.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -