!!!!發(fā)現(xiàn)當(dāng)依賴找不到時,請重啟xcode,就好了。
'WeexSDK/WXAnalyzerProtocol.h' file not found
以及
[SDWebImageManager sharedManager]
等等已經(jīng)忘記了的問題
最后我將podfile改成了這樣,解決了。
source 'git@github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
#inhibit_all_warnings!
def common
pod 'WeexSDK'
pod 'Weexplugin', :path=>'./Weexplugin/'
pod 'WXDevtool', '0.15.3', :configurations => ['Debug']
pod 'SDWebImage','3.7.5'
pod 'SocketRocket'
pod 'BindingX'
end
target 'WeexDemo' do
common
end
target 'WeexUITestDemo' do
common
end
好不容易啟動后,又發(fā)現(xiàn)打開app直接白屏,并且報錯 ReferenceError: Can't find variable: Vue
最終發(fā)現(xiàn)前人踩過這個坑
Can't find variable: Vue Vue打包的JS如何在IOS加載
成功解決,感動。
最后,大家不要升級xcode10,我說完了。