【发布时间】:2017-09-06 09:38:24
【问题描述】:
我尝试在 iOS 上构建一个带有推送通知的 Ionic 3 应用程序。
参考这篇文章: 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] 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
我尝试再次运行 pod install 但没有区别。我试图像这样修改我的 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 xcode push-notification ionic2