Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

BlocksKit iOS 1.5.2s unrecognized selector issue in Simulator Only #96

Closed
jameshays opened this issue Sep 25, 2012 · 13 comments
Closed

Comments

@jameshays
Copy link

I just upgraded to version 1.5.2s, adding ARMv7s support, but now i'm getting unrecognized selector errors being thrown when running in the simulator. Is anybody else seeing this? Nothing else in my project has changed and when I revert back to the 1.5.2 version, it works just fine again.

Any thoughts?

Thanks,
James

@jameshays
Copy link
Author

Doh, found the warning pointing to the problem.
ignoring file /Libraries/BlocksKit/libBlocksKit.a, missing required architecture i386 in file /Libraries/BlocksKit/libBlocksKit.a (3 slices)

Anybody else seeing this?

@zwaldowski
Copy link
Collaborator

What does lipo -info libBlocksKit.a show?

@jameshays
Copy link
Author

Architectures in the fat file: libBlocksKit.a are: armv6 armv7 (cputype (12) cpusubtype (11))

@zwaldowski
Copy link
Collaborator

That indeed doesn't have i386, which is really weird because I added it in
by hand. Can you try it with "xcrun lipo" instead?

@jameshays
Copy link
Author

Same thing:

Goliath:Library james$ xcrun lipo -info libBlocksKit.a
Architectures in the fat file: libBlocksKit.a are: armv6 armv7 (cputype (12) cpusubtype (11))

@zwaldowski
Copy link
Collaborator

I'm so sorry for the inconvenience. Will be fixed shortly.

@jameshays
Copy link
Author

No worries. Glad it could be found and fixed.

Would you mind detailing what you have to do to fix it?

@zwaldowski
Copy link
Collaborator

Not really any magic, just building the i386 slice (for the Simulator) and
using lipo to blend it with the other three. Might have to use the iOS SDK
lipo (xcrun -sdk iphoneos lipo), I think, for armv7s. If I'm unable to do
it today (my laptop is taking a visit to the island of misfit MacBooks),
I'll cajole @pandamonia into doing it. Thanks. :-)

@polyclick
Copy link

Same problem, would be great if this gets fixed :p

@zwaldowski
Copy link
Collaborator

Sorry about the delay, ongoing computer problems. I'll have a fixed build tonight, I know how much of a hassle using it from source can be.

@jameshays
Copy link
Author

Eh, it's a pretty quick issue to work around as long as you aren't trying to submit anything for armv7s. For us, it's not that critical, just something that should be done eventually. Thanks for doing it.

@a2
Copy link
Collaborator

a2 commented Oct 6, 2012

This should be fixed in the 1.5.2 rerelease. Thanks for bringing this to our attention.

@a2 a2 closed this as completed Oct 6, 2012
@admmasters
Copy link

This is still happening and I'm getting these unrecognised selector issues in all of the latest releases. I'm getting the warning:

missing required architecture i386 in file /Volumes/Files/Developer/iPadProject/ThirdParty/BlocksKit/libBlocksKit.a (2 slices)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants