개발/Flutter
Flutter IOS error: CocoaPods could not find compatible versions for pod "Firebase/Messaging" (Apple M1 issue)
Byunpa24
2021. 10. 5. 17:36
반응형
참고 깃허브:
Flutter: CocoaPods could not find compatible versions for pod "Firebase/Messaging"
I'm trying to run flutter on iOS Simulator and when executing flutter run the next error appears: [!] CocoaPods could not find compatible versions for pod "Firebase/Messaging": In Podfile:
stackoverflow.com
I was able to solve similar error by updating the target iOS platform to 10.0. Update the platform configured in the Podfile to platform :ios, '10.0'. I've also had to update the iOS Deployment Target to 10.0 - located on Runner > Info > Deployment Target
After that, deleting the Podfile.lock with
1) rm -rf Podfile.lock
2) ios terminal에서 arch -x86_64 pod install --repo-update
반응형