A static library can run on iphone5S,but have compile error on iphone4S. What's the problem?
I have used lipo -info
command to check the static library.
Asked
Active
Viewed 61 times
0

jackbolo
- 97
- 1
- 11
-
How have you set your `Architectures` in Build Settings? You can have a look at my answer [here](http://stackoverflow.com/a/26554428/3527656), on how to make you static library compatible with all architectures i.e. armv7 armv7s i386 x86_64 arm64. – raurora Nov 24 '14 at 03:45
-
I can't find it. Can you give me a link? – jackbolo Nov 24 '14 at 03:52
-
http://stackoverflow.com/questions/26552855/xcode-6-1-missing-required-architecture-x86-64-in-file/26554428#26554428 – raurora Nov 24 '14 at 03:52
-
The static library support `armv7` architecture,why report `undefined symbols for architecture armv7` error? – jackbolo Nov 24 '14 at 06:14
-
Read this to understand the causes: http://stackoverflow.com/a/6429568/3527656 – raurora Nov 24 '14 at 06:26
-
possible duplicate of [Undefined symbols for architecture armv7](http://stackoverflow.com/questions/6429494/undefined-symbols-for-architecture-armv7) – raurora Nov 24 '14 at 06:27
-
I still have not found the solution. – jackbolo Nov 24 '14 at 08:25
-
Please don't paste an image... just copy the text of your errors... – rene Nov 24 '14 at 18:52