stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
10/01/14 06:54 PM (9 years ago)

check dependancies

Went to new version of Xcode to test already accepted app for the iphone 6 and 6 +. Get an error to check dependancies and the following: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386). App still runs on the iphone 5s (didn't check any others as yet). Can anyone explain what I have to do to get it to be compatible with the iphone 6 in Xcode for future compilations. It is on my iphone 6 and runs fine on the device as far as I can tell.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
10/01/14 07:20 PM (9 years ago)
That happened to me too. In your Build Settings, under 'Architectures' set the "Build Active Architectures Only" to "No". I'm not sure if that's a 'fix all', but it is a 'fixed mine'. Cheers! -- Smug
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
10/01/14 08:24 PM (9 years ago)
Smug, That worked great with the iphone 6 but when trying with the iphone 6 + I get something I've never seen before: Unable to run app in simulator: An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4 Any ideas? Steve
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
10/01/14 08:26 PM (9 years ago)
Actually, quit Xcode and restarted and all is well. Thanks again.
 

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.