I try to build an Ionic 3 app with push notification on iOS.
Refeer to this post : Ionic 3 - xcode error with cocoapods
I had tree errors :
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.
I tried to solve it buy this modification in my [CP] Check Pods Manifest.lock to this :
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
I think it works. But now, I have a new error in xCode after try to run on my device :
Module 'FirebaseInstanceID' not found
I tried to run pod install again but no difference. I tried to modify my podfile like this ...
# 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
But I keep my error. Someone have a solution to solve this ?
I had the same issue, and this solution worked for me:
cordova platform rm ios
cordova platform add ios
Inside platforms/ios
pod install --verbose
Go to platforms/ios/Pods/Target Support Files/Pods-proj
Copy all the content of the files:
Pods-proj.debug.xconfig
Pods-proj.release.xconfig
And put them in their equivalents in platforms/ios
Cleaning and Building was then successful in Xcode.
It looks like they weren't being found or properly referenced somehow in the top-level files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With