Wintermute Engine Forum

Wintermute Engine => WME Lite => Topic started by: piere on February 09, 2013, 10:13:53 AM

Title: iPad Architecture issues
Post by: piere on February 09, 2013, 10:13:53 AM
Hello I am running XCode 4.6 and have an iPad 3rd generation running iOS 6.1.  I am getting an Apple Mach-O linker error when setting the architectures to armv7, and when it is on armv6, I am getting a "XCode cannot run using the selected device. Choose a destination with a supported architecture in order to run this device.". I have the latest dependencies from bitbucket, but im trying everything and nothing is compiling.

addition information: When on armv7, the Mach-O linker error it mentions that the library lfreeimage cannot be found. I have re-downloaded the new bitbucket sources a few times and put them in the xcode-ios\dep directory, so everything should be there. So can the armv7 not read that library ?

Can anyone help? Thanks
Title: Re: iPad Architecture issues
Post by: piere on February 18, 2013, 10:28:18 AM
no one has any suggestions?    ::hijack
Title: Re: iPad Architecture issues
Post by: piere on February 24, 2013, 01:28:54 PM
Please can someone help me. Im trying to submit my WME game to the appstore and its not letting me because of this issue. PLEASEEEE help
Title: Re: iPad Architecture issues
Post by: Mnemonic on February 24, 2013, 02:08:37 PM
Are you sure you're using the November 2012 dependencies? libfreeimage in that archive is compiled for armv7.

Code: [Select]
> lipo -info libfreeimage-iphone.a
input file libfreeimage-iphone.a is not a fat file
Non-fat file: libfreeimage-iphone.a is architecture: armv7
Title: Re: iPad Architecture issues
Post by: Mnemonic on February 24, 2013, 02:24:28 PM
All devices since iPhone 3GS (and iPod Touch 3) support armv7 instruction set. Current iOS SDK doesn't support iOS earlier than 4.3 (you should set this in your project settings as minimal supported version), so as far as I can tell armv7 support should be enough since you can't target old armv6-only devices anyway.
Title: Re: iPad Architecture issues
Post by: piere on February 25, 2013, 12:19:18 AM
Thanks I got it working, and submitted to the app store. I love you Mnemonic !!
Title: Re: iPad Architecture issues
Post by: 2.0 on March 04, 2013, 11:59:22 AM
Thanks I got it working, and submitted to the app store. I love you Mnemonic !!

Can you give to us link to the game at appstore whet it will be there? :)
Title: Re: iPad Architecture issues
Post by: piere on March 04, 2013, 12:43:38 PM
Yes I will give the link when it is up. Hopefully this week. Thanks for all the support from you guys.  ::rock