iOS导入3.0.7版本SDK,模拟器运行报Undefined symbols for architecture i386:
iOS通过cocoapods 导入极光3.0.7SDK ,7Plus模拟器运行报Undefined symbols for architecture i386错误。
在Build Settings里的 Build Active Architecture Only 的Debug模式设置成了yes,Release模式设为NO,错误还在。
错误详情:
Undefined symbols for architecture i386:
"kJPFNetworkDidReceiveMessageNotification", referenced from:
-[AppDelegate buildJPushConfig:] in AppDelegate.o
"_OBJC_CLASS$JPUSHService", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in TPSTabBarRootViewController.o
objc-class-ref in MySelfSettingVC.o
"_OBJC_CLASS$_JPUSHRegisterEntity", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386