-
Notifications
You must be signed in to change notification settings - Fork 1.3k
BlocksKit for arm64 architecture #178
Comments
This is a problem with CocoaPods. This solution worked for me. |
I'm sorry but it's really not the case. I'm not saying that the configurations are telling Xcode to not build for arm64, I'm saying when it tries to build for arm64 it fails with the above error. I had the same issue everyone had, the |
libffi does not currently support AArch64 within the iOS sandbox. This is a developing situation. |
OK, thanks for clearing that up! |
Any update on this? |
Not yet. No news on the end of libffi. We're awaiting the open-source release of the AArch64 7.0 runtime (opensource.apple.com) and we intend to investigate alternatives to libffi for this purpose. |
When you say that libffi does not currently support AArch64 within the iOS sandbox, you mean that on an actual device it actually works? Is this a problem tied to the Simulator only? Can an app without explicit support to armv7s ba submitted to the AppStore? |
No, the other way around. On device libffi currently supports only armv6, armv7, and armv7s. |
@zwaldowski Have you found any alternative to libffi ? Have you some news about Blockskit arm64 support ? |
Any news on replacing libffi to suppory arm64? |
Nope. Apple still hasn't released the AArch64 7.0 runtime on their open source site. |
@raff do you have plans for arm/64bit support for libffi? |
Do you have anyone at Apple you could get an ETA from? |
@segiddins Unfortunately not. |
@zwaldowski @a2 i noticed you pushed 2.0.0 onto master. Does this mean you have a fix for this coming soon? |
ARM/Linaro contributed base Aarch64 support to libffi for Linux a long time. What's the issue with iOS? The hard part is done, isn't it? |
@atgreen: Pure misconception on my part, I realize sheepishly. I assumed because the arm port required all that gentramp business it'd be a similar Act of Congress. However, in my initial tests, the AArch64 works perfectly with minimal changes. Pull request incoming. |
What's time fix it? |
Still no progress on this right? |
any news? ;) |
The next branch has an experimental form of foreign-function interface with arm64 support. There are some edge cases with the Apple ARM64 platform it doesn't handle, but we're working on hashing those out. |
any news on this ? it's been over a month :( |
Functionality is all there, and, again, is sitting in the next branch. Currently waiting on at atgreen/libffi#65. |
I see. Since I'm using CocoaPods, what is the best approach to update to such branch ? |
Please let me know if there are any Pod integration issues. |
Methods are prefixed with bk_??? I understand the namespace game, but we took a beautiful api and turned it ugly. On Jan 8, 2014, at 3:01 PM, Alexsander Akers [email protected] wrote:
|
I'm sorry you feel that way. Prefixed methods are the right thing to do, and some bizarre deprefixing system is not, particularly if your concern is code "beauty". I sincerely apologize for this inconvenience. Furthermore, this is not the place to discuss this particular issue, and is a tracking bug for BlocksKit on arm64. |
Just backing up what @zwaldowski says. Prefixed methods are definitely the right approach when it comes to categories. Sorry to post this on this issue but I just felt the urge to chime in :) |
Is there a way to get the arm64 fixes without the prefixes? |
@a2 yes, I did. Entering: UIAlertView *alert = [UIAlertView bk_a(...) autocompletes with: bk_associateCopyOfValue... No standard bk_alertViewWithTitle:message: The problem persists on a fresh, empty project. I tried importing BlocksKit/BlocksKit.h, just BlocksKit.h in both pch and directly in .m file, but no cigar. |
And if you import "BlocksKit+UIKit.h"? |
@matehat you've just saved my day, friend! Works like a boss! :D |
I met compile error "Unterminated conditional directive" at "next" branch. ( commit #31b1d3dc97 ) my reproduction code is below : |
@AknEp this must be some recent stuff since I started having the same problem. |
Thanks. Solved by set commit identifier manually.
|
I try using
but still get
What am I missing? |
Interesting. The appears to have been an upstream issue. Fixed in 9ff0ffb. |
@zwaldowski just wanted to chime in and thank you for your tremendous support. BlocksKit is awesome :-) |
I've done these steps and am able to get things to build, but I get this warning when I do:
Is this something to be concerned about? This only happens with debug builds; release builds don't seem to exhibit this but i'd like to eliminate all warnings all the time if possible :) |
@klundberg This is an issue with the Intel linker and the warning should be inhibited by |
Yes, |
@klundberg Sorry for the slow response. It turns out it needed to be on |
Awesome, thank you! |
Any chance in seeing BlocksKit 2.1 now that arm64 has been merged into libffi? |
Yes, its release is imminent. Just going to make sure our KVO bugs are all fixed. |
Fixed in v2.2.0. Thanks, everyone. |
Thank you, Thank you a lot |
v2.2.0 works well, yet no long supports iOS5.0. is there a solution to this? |
Hello,
I've been trying to build the library with the latest Xcode 5, targeting iOS 7 and the 3 new default architectures "arm7 arm7s arm64". When doing so, libffi compilation fails with a bunch of errors, in the likes of
When reverting to architectures "arm7 arm7s" it builds fine. Is that behavior expected?
The text was updated successfully, but these errors were encountered: