注册

环信IOS SDK 导入出现问题

环信IOS SDK 导入出现问题,出现58个红色错误,用的是带语音聊天的.a静态库,请帮帮忙Undefined symbols for architecture x86_64:

  "_CTRadioAccessTechnologyEdge", referenced from:

      -[EMReachability networkStatusForFlags:] in libEaseMobClientSDK.a(EMReachability.o)

  "_CTRadioAccessTechnologyGPRS", referenced from:

      -[EMReachability networkStatusForFlags:] in libEaseMobClientSDK.a(EMReachability.o)

  "_CTRadioAccessTechnologyLTE", referenced from:

      -[EMReachability networkStatusForFlags:] in libEaseMobClientSDK.a(EMReachability.o)

  "_NSInferMappingModelAutomaticallyOption", referenced from:

      -[EMOldDBManager persistentStoreCoordinator] in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_NSMigratePersistentStoresAutomaticallyOption", referenced from:

      -[EMOldDBManager persistentStoreCoordinator] in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_NSSQLiteStoreType", referenced from:

      -[EMOldDBManager persistentStoreCoordinator] in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:

      objc-class-ref in libEaseMobClientSDK.a(EMReachability.o)

  "_OBJC_CLASS_$_NSEntityDescription", referenced from:

      objc-class-ref in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_OBJC_CLASS_$_NSFetchRequest", referenced from:

      objc-class-ref in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_OBJC_CLASS_$_NSManagedObjectContext", referenced from:

      objc-class-ref in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_OBJC_CLASS_$_NSManagedObjectModel", referenced from:

      objc-class-ref in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_OBJC_CLASS_$_NSMergePolicy", referenced from:

      objc-class-ref in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_OBJC_CLASS_$_NSPersistentStoreCoordinator", referenced from:

      objc-class-ref in libEaseMobClientSDK.a(EMOldDBManager.o)

  "_SCNetworkReachabilityCreateWithAddress", referenced from:

      +[EMReachability reachabilityWithAddress:] in libEaseMobClientSDK.a(EMReachability.o)

  "_SCNetworkReachabilityCreateWithName", referenced from:

      +[EMReachability reachabilityWithHostName:] in libEaseMobClientSDK.a(EMReachability.o)

  "_SCNetworkReachabilityGetFlags", referenced from:

      -[EMReachability currentReachabilityStatus] in libEaseMobClientSDK.a(EMReachability.o)

      -[EMReachability isReachable] in libEaseMobClientSDK.a(EMReachability.o)

      -[EMReachability isConnectionRequired] in libEaseMobClientSDK.a(EMReachability.o)

      -[EMReachability isConnectionOnDemand] in libEaseMobClientSDK.a(EMReachability.o)

      -[EMReachability isInterventionRequired] in libEaseMobClientSDK.a(EMReachability.o)

      -[EMReachability isReachableViaWWAN] in libEaseMobClientSDK.a(EMReachability.o)

      -[EMReachability isReachableViaWiFi] in libEaseMobClientSDK.a(EMReachability.o)

      ...

已邀请:
other linker flags -ObjC  注意大小写。

要回复问题请先登录注册