Xcode 4.5 does not support generating armv6 binaries

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

User avatar
Prof_PP
Posts: 126
Joined: 07 Dec 2007, 08:53
Location: Austria
Contact:

Xcode 4.5 does not support generating armv6 binaries

Postby Prof_PP » 13 Sep 2012, 07:20

Morning Team.
I guess the post heading is self explanatory.
I have upgraded Xcode 4.4 to 4.5 for support of iOS6, and I get "linker command failed". This code is working under Xcode 4.4 and even submitted to the iTunes store as a working product. I made the required changes for 4.5, mainly cosmetic and semantic, but it fails to link.

Reason given is

Code: Select all

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: IphoneProjects/SFS2XAPIIOS.framework/SFS2XAPIIOS for architecture armv7s

I presume that the iOS API will need to be updated from armv6 to armv7, yes?

Any timeline on this fix would be much appreciated for my project schedule.

Cheers
Paul 8)

PS: The Xcode 4.5 release notes state clearly....

Support removed for armv6
Xcode 4.5 and later does not support generating armv6 binaries. (12282156)
mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby mmilen » 13 Sep 2012, 14:43

Hi Guys,

When can we expect the API to be recompiled with armv7s support.

Milen
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Xcode 4.5 does not support generating armv6 binaries

Postby Lapo » 14 Sep 2012, 14:47

Aaah, sweet Apple, if it wasn't for you we would always be bored :D
We'll be looking into this as soon as possible. We're right now preparing the next release which will support HTML5 and websockets. It will be out in a matter of days. So this one will be the next in the queue.

Stay tuned.
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Prof_PP
Posts: 126
Joined: 07 Dec 2007, 08:53
Location: Austria
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby Prof_PP » 15 Sep 2012, 15:50

Yes, Apple keeps us all busy. Now we have multiple screen sizes to contend with. But it's a living 8)

Any hints on what the time frame is for "next in the queue"? Weeks? Months? Tomorrow?

Just hoping to sort out my project planner, so I know when to work and when to go Harley riding.
User avatar
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby A51Integrated » 17 Sep 2012, 15:01

I'm going to assume this would only require a recompile of the API in XCode 4.5. Shouldn't take that long (days) to release.
A51 Integrated
http://a51integrated.com / +1 416-703-2300
User avatar
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby A51Integrated » 17 Sep 2012, 15:14

I think this may have something more to do with the fact that the SFS API has support for both armv6 and 7 (yes, 7 is already in there, not 7s).

Try this:

  • Remove the SFS Framework from "Build Phases"
  • Add both architectures in "Other Linker Flags" (Build Settings) , for that, you need to click on + and add armv6 and armv7
  • Add the SFS Framework in armv7.. with -l
  • Don't forget #if defined _ARM_ARCH_7 in your code
A51 Integrated

http://a51integrated.com / +1 416-703-2300
User avatar
Prof_PP
Posts: 126
Joined: 07 Dec 2007, 08:53
Location: Austria
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby Prof_PP » 17 Sep 2012, 15:29

Okay, need a bit more help here please.

Remove the SFS Framework from "Build Phases"


Done.

Add both architectures in "Other Linker Flags" (Build Settings) , for that, you need to click on + and add armv6 and armv7


Add them as "-armv6" and "-armv7", yes?

Add the SFS Framework in armv7.. with -l


Do not know what you mean here. I can add the framework in the build phase screen (new place for it in 4.5), but how to add "in armv7.. with -l"?

Don't forget #if defined _ARM_ARCH_7 in your code


Why do I need this? Will armv7 not work if the ios is less than 6?

Thanks in advance
Paul
Mazyod
Posts: 25
Joined: 04 Sep 2012, 16:05

Re: Xcode 4.5 does not support generating armv6 binaries

Postby Mazyod » 17 Sep 2012, 15:36

@Prof_PP

I think he was hinting the SFS developers. In order to make it work (for now), all you have to do is remove the -armv7s architecture (which means your app won't run on the iPhone5).

I would personally say that workarounds are useless for such a problem, since, hopefully, armv7s support will be released in a few.

I am waiting for it, too.
User avatar
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby A51Integrated » 17 Sep 2012, 15:40

There is a hack documented here:

http://www.galloway.me.uk/2012/09/hacki ... s-library/

to get it working.
A51 Integrated

http://a51integrated.com / +1 416-703-2300
User avatar
Prof_PP
Posts: 126
Joined: 07 Dec 2007, 08:53
Location: Austria
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby Prof_PP » 17 Sep 2012, 15:55

There is a hack documented here:
http://www.galloway.me.uk/2012/09/hacki ... s-library/
to get it working.


This is for the Smartfox guys like Mazyod said, Yes?
There is no way this hack does anything for me.

I would personally say that workarounds are useless for such a problem, since, hopefully, armv7s support will be released in a few.


I will wait until Lapo sorts this out. Hopefully in the not too distant future - I am sure he doesn't have anything else to do, right :wink:
User avatar
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby A51Integrated » 17 Sep 2012, 15:58

Not Lapo, it's us. We'll get it sorted out. Just in the meantime, there are some options.
A51 Integrated

http://a51integrated.com / +1 416-703-2300
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Xcode 4.5 does not support generating armv6 binaries

Postby Lapo » 18 Sep 2012, 19:25

I will wait until Lapo sorts this out. Hopefully in the not too distant future - I am sure he doesn't have anything else to do, right

Don't get me started on Obj-C, it's not for me, too many square brackets. My head hurts :D
Lapo

--

gotoAndPlay()

...addicted to flash games
mmilen
Posts: 298
Joined: 09 Nov 2010, 00:48
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby mmilen » 21 Sep 2012, 02:56

Older source code did compile with armv7s support, so should not be an issue to get it going.
scofy
Posts: 79
Joined: 08 Apr 2012, 09:04

Re: Xcode 4.5 does not support generating armv6 binaries

Postby scofy » 25 Sep 2012, 10:55

set like this:
build settings -- valid architectures -- armv6 armv7
User avatar
Prof_PP
Posts: 126
Joined: 07 Dec 2007, 08:53
Location: Austria
Contact:

Re: Xcode 4.5 does not support generating armv6 binaries

Postby Prof_PP » 25 Sep 2012, 11:35

scofy wrote:set like this:
build settings -- valid architectures -- armv6 armv7


Cant see how this helps. XCode 4.5 does not support armv6 binaries.

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 13 guests