我尝试使用推送通知构建离子3应用程序,我在iOS部署时遇到了一些问题.
我在xcode中有这3个错误:
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.
Run Code Online (Sandbox Code Playgroud)
我尝试了很多在互联网上找到的解决方案:
使用命令"pod install","pod update"
删除并安装CocoaPods
更新CocoaPods
删除"Pods"文件夹,"Podfile.lock"和"Podfile"并运行"pod install"命令.
从Link Binary From Librairies中删除libPods-myApp.a.
但没有什么是有效的......
我真的不知道自己要做什么.
我的Podfile:
# DO NOT MODIFY -- auto-generated by Apache Cordova
platform :ios, '8.0'
target 'MyProject' do
project 'MyProject.xcodeproj'
pod 'GoogleCloudMessaging', '~> 1.2.0'
pod 'GGLInstanceID', '~> 1.2.1'
end
Run Code Online (Sandbox Code Playgroud)
我的Podfile.lock:
PODS:
- GGLInstanceID (1.2.1) …
Run Code Online (Sandbox Code Playgroud)