Ionic 3 - FirebaseInstanceID找不到
问题描述:
我尝试在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
但我保持我的错误。有人有解决方案来解决这个问题?
答
我在ios设备上运行我的ionic3应用程序时肯定会遇到这个问题,这里是你可能需要做的工作。 运行cd platforms/ios pod install
或查看此链接获取更多帮助。 https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md
完全相同的问题。找不到出路.... –