[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linking error for simulator iPhone 5s and iPho

From: Eli Burke
Subject: Re: [Linphone-developers] Linking error for simulator iPhone 5s and iPho
Date: Mon, 19 Jan 2015 16:45:13 -0500

I posted this before but I guess it got lost in the noise. You do not need to switch your settings back and forth if you set them up as follows (using Xcode 6):
* Open your Target’s Build Settings
* set "Valid Architectures" to armv7 arm64
* set Architectures to $(ARCHS_STANDARD) which should cause it to show (armv7, arm64)
* click the triangle next to 'Build Active Architectures Only”, select Debug, and change it to YES. Leave Distribution and Release set to NO.
* If you include any sub-projects, you may need to repeat these steps for each of them.

Using these settings, I can build and run in the simulator, on a connected iPhone 4S, iPhone 6, and create archives to upload to the app store without any of the x86_64 errors.

If you still have problems, try checking Stack Overflow. There are lots of posts about it. It is not a Linphone problem.


Date: Mon, 19 Jan 2015 14:16:35 +0100
From: Guillaume BIENKOWSKI <address@hidden>
To: address@hidden

Yes, you should only use this for your simulator builds.
When archiving the code, switch back to allowing arm64. Disabling it 
seems to disable the x86_64 arch too.



Le 19/01/2015 11:55, Matteo Leggieri, Automa s.r.l. a ?crit :
I'm sorry Guillaume to not checking mailing list about this argument.
I follow your suggest and application run. This option is only for 
simulator? So when I need to run application on a real iPhone 5s or 6, 
is it necessary to add again architecture arm64 in build options?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]