简体   繁体   中英

static library armv7 not working on iOS 9

I am working on a iOS app that uses a commercial static library (.a) which is compiled for armv7 architecture. This works fine but it does not work on iOS 9 because Apple requires that all libs should support arm64. Until now the vendor of this library will not deliver me a arm64 version of this library.

I've googled this a lot lately but cannot find a solution or workaround to make this work. Many posts also on stackoverflow say this will not work. I've tried, as some posts say, to add -Wl,-segalign,4000 to the other linker flags in the build settings of XCode in the target of my project but it did not work.

So this probably will not work, but I was wondering does anyone know a solution/workaround so that my app with this static library will work on iOS 9?

Thanks in advance.

As you have ascertained there is no solution here other than obtaining a 64-bit library from the vendor. I am in the same boat with an internal application I own that leverages a vendor's (antiquated) framework that is based on armv7. Until you get your hands on a 64-bit version of that library you are dead in the water.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM