GLBasic forum

Main forum => Off Topic => Topic started by: mentalthink on 2012-Sep-10

Title: Error whit last Xcode and iPod (Solved!!!)
Post by: mentalthink on 2012-Sep-10
Hi sorry for put here this problem... but I think in the English forum not it´s correct...

I have a trouble whit my iPod Touch, something extrange, I take a look to google, and a lot of people ocurrs but for me not works nothing.. I have 3 hours making probes, and my iPod don´t get nothing, iPad works fine...

When I say to Xcode to compile whit iPod touch I have this error... (into a Pop-Up)

Xcode cannot run using the selected device.
Choose a destination with a supported architecture in order to run on this device.

And I don´t know what I have to do, I try to change form armv7 to armv6 and I try to change a lot of thing but nothing... iPod don´t want eat the code.... The code are simple examples of Xcode, not in Glbasic, then it´s impossible a problem of Glbasic....

------------------------------------SOLVED THE PROBLEM, IF ANYONE HAVE THE SAME PROBLEM PUT THIS-----------------------

Thanks to Hardyx, for his Help 


Basicaly you have to delete the armv7 Architecture,a and tell to Xcode only compile for armv6.






[attachment deleted by admin]
Title: Re: Error whit last Xcode and iPod
Post by: hardyx on 2012-Sep-10
Try to select target iOS version (base SDK) in the project properties. Assure you are signing the app with the correct identity (iphone developer). You must to include the device ID in the provision profile and install in the device. Enable the device for debugging in XCode too. Sometimes you must to use the correct SDK for each iOS version.

What iPod Touch model do you have? Maybe it's not supported by last SDK.
Title: Re: Error whit last Xcode and iPod
Post by: mentalthink on 2012-Sep-10
Hi Hardyx thanks for your reply... Yes I put the correct Xcode version, in this case it´s the 4.2 ...
About the iPod it´s the 2g, but the Xcode 4.4 permet this device, the last update i show don´t permet.... Apple and the money money...

PS: I think the trouble but i´m not sure can be , in the developer program my iPod appears whit another name... not the same like in Itunes... perhaps the trouble it´s this... I go to try to change...

Regards Hardyx and thanks for help me...

Iván J,
Title: Re: Error whit last Xcode and iPod
Post by: hardyx on 2012-Sep-11
Check that you have the correct provision profile in the iPod and you are signing with the correct identity.
Greetings.
Title: Re: Error whit last Xcode and iPod (Solved!!!)
Post by: matchy on 2013-Feb-08
I'm using xcode 4.6 and an app compiles when changing the architecture to armv6 but it's fails to send it to either ipods iOS 6.1. Any advice?

(http://i.stack.imgur.com/CGZO1.png)
Title: Re: Error whit last Xcode and iPod (Solved!!!)
Post by: mentalthink on 2013-Feb-08
Hi Matchy I think if you use an Ipod whit the iOS are < than 5.1 you can't use the last Xcode... Apple don't leave develop whit this XCode. :rant: :rant:

For me I find a lot of in internet--- and for solve my problem, when I put something in my iPod secGen... I have to delete Armv7
and leave only Armv6 in the architecture (I don't rebember 100% but it think it's in this way)...

If can help my Xcode versión is this ... 4.4.1

I think who knows this perfectly this kinds of extrange things it's  hardyx...

Regards Matchy


Title: Re: Error whit last Xcode and iPod (Solved!!!)
Post by: matchy on 2013-Feb-08
So I need a newer device (iPod) to test on xc4.6?
Title: Re: Error whit last Xcode and iPod (Solved!!!)
Post by: mentalthink on 2013-Feb-08
Matchy don't arrives the mail... I send the number..
Title: Re: Error whit last Xcode and iPod (Solved!!!)
Post by: spacefractal on 2013-Feb-08
armv6 is today no longer supported and hence if you want to dev for ios 6, then you need to scrap arm6 and devices older than 3gs.

with other word, Apple have dropped arm6 support in the newest xcode versions.
Title: Re: Error whit last Xcode and iPod (Solved!!!)
Post by: hardyx on 2013-Feb-08
Quote from: mentalthink on 2012-Sep-10
Basicaly you have to delete the armv7 Architecture,a and tell to Xcode only compile for armv6.
This trick is only to allow you to test in your 2G iPod touch, but when you upload the app to Appstore you must to enable the armv7 support again. Apple app validator needs you to upload an armv7 binary in the pack. Look this question:

http://stackoverflow.com/questions/12487689/validating-app-application-is-missing-architecture-armv7
Title: Re: Error whit last Xcode and iPod (Solved!!!)
Post by: matchy on 2013-Feb-10
Even with xcode 4.4.1, I just realized I need to downgrade the devices from iOS 6.1 to 5.1 but I can't even do that tools.
Title: Re: Error whit last Xcode and iPod (Solved!!!)
Post by: matchy on 2013-Feb-12
Could someone kindly confirm for me that GLBasic distribution project is not compatible nor possible with iOS6.1 xcode compile only?!
As my iPod 4G units have been updated to iOS6.1, I can not even, apparently at this stage, use redsn0w and cydia blobs backups as I haven't saved those.

What do you suggest I do because there are also other friends/clients test units that are updated that I have no control over?