离子2 - 错误:模块' FirebaseInstanceID'在ios中找不到

时间:2017-09-08 11:18:35

标签: ios angular firebase push-notification ionic2

我尝试在iOS上使用推送通知构建一个Ionic 2应用程序。

我有三个错误:

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] Check Pods 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

this question

我尝试再次运行pod安装,但没有区别。

但我保留了我的错误。有人有办法解决这个问题吗?

0 个答案:

没有答案