2017-09-06 89 views
0

我嘗試在iOS上創建帶推送通知的Ionic 3應用程序。Ionic 3 - FirebaseInstanceID找不到

Refeer這個帖子: Ionic 3 - xcode error with cocoapods

我有樹錯誤:

diff: /Podfile.lock: No such file or directory 
diff: /Manifest.lock: No such file or directory 
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 

我試圖解決它買這個修改我的[CP]檢查豆莢Manifest.lock這樣:

diff "${SRCROOT}/Podfile.lock" "${SRCROOT}/Pods/Manifest.lock" > /dev/null 
if [ $? != 0 ] ; then 
    # print error to STDERR 
    echo "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." >&2 
    exit 1 
fi 

我認爲它的工作原理。但現在,我已經在Xcode中新的錯誤嘗試後,我的設備上運行:

Module 'FirebaseInstanceID' not found 

我試圖運行莢再次安裝,但沒有什麼區別。我試圖修改我的podfile像這樣...

# Uncomment the next line to define a global platform for your project 
# platform :ios, '9.0' 

target 'MyProject' do 
pod 'Firebase' 
pod 'Firebase/Core' 
pod 'Fi 

但我保持我的錯誤。有人有解決方案來解決這個問題?

+0

完全相同的問題。找不到出路.... –

回答