I am facing the following scenario:
doesn't work - app crashes on load with the following error:
dyld error message library not loaded reason no suitable image found
Any explanations?
Explanation : 32 bit binaries loaded on 64 bit devices fail to do so since the 32 bit pagesize has been changed from 4096 bytes to 16384 bytes in iOS 9.
Conclusion : 32-bit apps with dynamic libraries cannot run on 64-bit devices.
Solutions (one of the two is enough):
Add a new entry to Other linker flags in the dynamic library project:
-Wl,-segalign,4000
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.