现象:
Undefined symbols for architecture armv7:
"___gxx_personality_sj0", referenced from:
-[MOBFBigInteger init] in MOBFoundation
-[MOBFBigInteger initWithInt:] in MOBFoundation
-[MOBFBigInteger initWithBigInteger:] in MOBFoundation
-[MOBFBigInteger initWithString:radix:] in MOBFoundation
-[MOBFBigInteger initWithRandomPremeBits:] in MOBFoundation
-[MOBFBigInteger addByBigInteger:] in MOBFoundation
-[MOBFBigInteger subByBigInteger:] in MOBFoundation
...
"_inflate", referenced from:
+[MOBFData uncompressDataUsingGZip:] in MOBFoundation
"_deflate", referenced from:
+[MOBFData compressDataUsingGZip:] in MOBFoundation
"_crc32", referenced from:
+[MOBFData stringByCRC32Data:] in MOBFoundation
"_inflateEnd", referenced from:
+[MOBFData uncompressDataUsingGZip:] in MOBFoundation
"_deflateInit2_", referenced from:
+[MOBFData compressDataUsingGZip:] in MOBFoundation
"_inflateInit2_", referenced from:
+[MOBFData uncompressDataUsingGZip:] in MOBFoundation
"_deflateEnd", referenced from:
+[MOBFData compressDataUsingGZip:] in MOBFoundation
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方案:
1. 此将会在V3.4.4935后的版本解决;
2. 其它版本更新Native/plugins/com.justep.cordova.plugin.security.mob/plugin.xml
评一波