mxwoz
Aspiring developer
Profile
Posts: 22
Reg: Dec 21, 2013
Australia
220
07/12/14 06:38 AM (10 years ago)

ios simulator not running project on 64-bit devices

Hi everyone I'm getting my first project ready for submission to the app store and I've come across this snag... I'm using Xcode 5.1.1 and have tested the project on my iphone 4S and ipad mini devices and there are no issues. BUT on testing in the ios simulator I have come across the following problem: (1) if I set the target device to iphone 64-bit or ipad 64-bit (regardless of deployment target 6.x or 7.x) and then hit Build, I get the error: 'dependency analysis error. no architecture to compile.' (2) if I build my BT project and simulate it on any other device (not 64-bit), and THEN switch to a 64-bit device, it works, but as soon as I enter a HTML doc screen, the error 'missing plugin: the view controller for this plugin was not compiled' comes up on the device screen. Does anyone know what the problem is here? I couldn't find a similar issue in the forums. I'm concerned that apple will reject my submission if this is a significant problem.
 
mxwoz
Aspiring developer
Profile
Posts: 22
Reg: Dec 21, 2013
Australia
220
like
07/12/14 06:56 AM (10 years ago)
I seem to have found a (at least temporary) solution to this elsewhere online. In xcode, under build settings/architectures, set 'build only active architecture' to NO and set 'debug' to NO. Not sure why or how long this will work for. I'd still be very keen to hear other people's thoughts on this or similar experiences.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/12/14 06:59 AM (10 years ago)
Yep that's the answer. Note that live should already be set to no, meaning you wouldn't have problems once you publish the app anyway. Now you can test on 64-bit though.
 
mxwoz
Aspiring developer
Profile
Posts: 22
Reg: Dec 21, 2013
Australia
220
like
07/12/14 07:12 AM (10 years ago)
cheers for the confirmation, chris1. what do you mean by 'live should be set to no'?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
07/12/14 08:30 AM (10 years ago)
In XCode. That setting by default is yes for debug and no for live/production.
 
Tyroner
Aspiring developer
Profile
Posts: 175
Reg: Dec 26, 2012
Johannesburg, S...
4,200
like
07/21/14 09:23 PM (10 years ago)
This worked for me thanks guys!
 
mxwoz
Aspiring developer
Profile
Posts: 22
Reg: Dec 21, 2013
Australia
220
like
07/22/14 01:23 AM (10 years ago)
yes, thanks again, Chris1
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.