买了新Mac 想也没想就直接安装最新的Cocoapods了....结果出了这个问题
dyld: Symbol not found: _OBJC_CLASS_$_AVAnalytics
Referenced from: /Users/Fincher/Library/Developer/CoreSimulator/Devices/65131BD8-11E6-4486-8BC8-AABF9811CD37/data/Containers/Bundle/Application/ABB7755B-E0A3-4F9E-A9D9-83BC1160F9D5/baiyunwang.app/baiyunwang
Expected in: flat namespace
in /Users/Fincher/Library/Developer/CoreSimulator/Devices/65131BD8-11E6-4486-8BC8-AABF9811CD37/data/Containers/Bundle/Application/ABB7755B-E0A3-4F9E-A9D9-83BC1160F9D5/baiyunwang.app/baiyunwang
老电脑:
OS X 10.10.5
Xcode 6.4
Cocoapods 0.37.1
AVOSCloud (in Podfile.lock) 3.1.2.6
新电脑:
OS X 10.10.4
Xcode 6.4
Cocoapods 0.38.2
AVOSCloud (in Podfile.lock) 3.1.3.3
Github上有对于这个问题的描述:
https://github.com/CocoaPods/CocoaPods/issues/3773
LeanCloud论坛:
https://forum.leancloud.cn/t/ios-sdk-3-1-2-6-cocoapods/1807
Issus里面说到:“Updated to 0.38.2 this issue no longer exist. closed” 但是我现在还是会有这个问题 =_=
好像是-ObjC
flag 在新的cocoapods里被移除了 导致静态的没办法link 然后我记得pod update后 Jazzhands也报错了.....
目前的办法 估计只能 sudo gem install cocoapods -v 0.37.1
尝试中...