Skip to main content
Participant
March 27, 2014
Question

External iOS framework arch

  • March 27, 2014
  • 1 reply
  • 505 views

Hi, I'm trying to build my first ANE and I'm having some issues. After a lot of trial and error Iwas able to build an ANE that includes an external framework and bundle. Unfortunately, when I try to test my ANE in my own iOS test app, I get the following error:

ld: warning: ignoring file

"path/to/the/external/framework/being/used", file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6f 0x6e 0x73 0x2f 0x43 0x75 0x72 0x72 0x65 0x6e 0x74 ) whis is not the architecture being linked (armv7)

undefined symbols blah blah because it just ignored the framework it needs

I'm by no means a Xcode nor native iOS expert, but I have no idea how the format can be the hex representation of "Versions/Current" when it was expecting "armv7". The only mention of something similar I found in Apples framework development guide: https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html but it doesn't shed much light on the issue.

Has anyone experienced something like this? Is there something I can do from the static lib project I'm using for the ANE?

Thanks in advance!

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
March 27, 2014

That error seems to have come up for a few people. This post seems like the most hopeful:

http://stackoverflow.com/questions/20419295/unable-to-use-parse-library-parse-linker-warning-file-was-built-for-unsupporte

Participant
March 28, 2014

I'll try tomorrow, thank you a lot for your help!