crazy android
Aspiring developer
Profile
Posts: 172
Reg: Oct 24, 2011
Las Vegas, Nv
9,920
11/07/14 11:10 AM (9 years ago)

iphone 6

Ive been using my iPhone 5c to do my testing on and since iPhone 6 is out i went to test on simulator and got this message Dependency Analysis Error No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch =x86_64, VALID_ARCHS=i386). how do i correct this problem
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/07/14 12:04 PM (9 years ago)
You need to add arm64 to your Architectures. Edit your target's Build Settings. Change the value for Architectures by opening the drop down, click on other... and type 'arm64'. Make sure to keep armv7 too.
 
crazy android
Aspiring developer
Profile
Posts: 172
Reg: Oct 24, 2011
Las Vegas, Nv
9,920
like
11/07/14 12:47 PM (9 years ago)
that worked thanks but now I'm getting Value conversion issue Implicit conversion loses integer precision:'NSInteger'(aka long') to 'int' those are just yellow warnings should and how do i fix that or is it ok to leave?? and thanks again Thomas for the help
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/08/14 03:19 AM (9 years ago)
Actually, I've had pretty good success by just telling the compiler 'no' for 'active only architectures'. Same place; Build settings > Architectures. Cheers! -- Smug
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/08/14 11:01 PM (9 years ago)
You don't have to worry about warnings that you see...they won't stop the compile from happening. You only need to fix them if you think they'll affect how your program runs. Most of the time they are deprecation warnings...old code that Apple would rather have you do a new way, but which still works. Mark
 

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.