问题描述
Undefined symbols for architecture armv7: "_CTRadioAccessTechnologyGPRS", referenced from: -[EMReachability networkStatusForFlags:] in libEaseMobClientSDKLite.a(EMReachability.o) "_CTRadioAccessTechnologyEdge", referenced from: -[EMReachability networkStatusForFlags:] in libEaseMobClientSDKLite.a(EMReachability.o) "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from: objc-class-ref in libEaseMobClientSDKLite.a(EMReachability.o) "_NSSQLiteStoreType", referenced from: -[EMOldDBManager persistentStoreCoordinator] in libEaseMobClientSDKLite.a(EMOldDBManager.o) "_OBJC_CLASS_$_NSManagedObjectModel", referenced from: objc-class-ref in libEaseMobClientSDKLite.a(EMOldDBManager.o) "_OBJC_CLASS_$_NSEntityDescription", referenced from: objc-class-ref in libEaseMobClientSDKLite.a(EMOldDBManager.o) "_NSInferMappingModelAutomaticallyOption", referenced from: -[EMOldDBManager persistentStoreCoordinator] in libEaseMobClientSDKLite.a(EMOldDBManager.o) "_OBJC_CLASS_$_NSPersistentStoreCoordinator", referenced from: objc-class-ref in libEaseMobClientSDKLite.a(EMOldDBManager.o) "_NSMigratePersistentStoresAutomaticallyOption", referenced from: -[EMOldDBManager persistentStoreCoordinator] in libEaseMobClientSDKLite.a(EMOldDBManager.o) "_OBJC_CLASS_$_NSManagedObjectContext", referenced from: objc-class-ref in libEaseMobClientSDKLite.a(EMOldDBManager.o) "_CTRadioAccessTechnologyLTE", referenced from: -[EMReachability networkStatusForFlags:] in libEaseMobClientSDKLite.a(EMReachability.o) "_OBJC_CLASS_$_NSMergePolicy", referenced from: objc-class-ref in libEaseMobClientSDKLite.a(EMOldDBManager.o) "_OBJC_CLASS_$_NSFetchRequest", referenced from: objc-class-ref in libEaseMobClientSDKLite.a(EMOldDBManager.o)ld: symbol(s) not found for architecture armv7clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方案
-ObjC的位置设置了吗?lib下几个.a?
解决方案二:
libEaseMobClientSDKLite.a 这个有吗。