Undefined symbols for architecture i386 - Lipo error?
问题 I have compiled libclang.a for i386 and armv7. I'm able to build my ios app with i386 libclang.so but it can't be started because of ".dylib not found" error. Then i decided to create fat lib using lipo: lipo -create ../i386/libclang.a ../armv7/libclang.a -output ../fat/libclang.a and added fat library instead of i386. Now i'm getting multiple build errors: Undefined symbols for architecture i386: "llvm::TimeRecord::getCurrentTime(bool)", referenced from: clang::cxindex::Logger::~Logger() in