ios: pod install failed
React: 16.8.6 RN: 0.60.5 macOS: 10.15.6 react-native-push-notification-ios/push-notification-ios: 1.7.1
Build target: iOS 9
npx: installed 1 in 3.122s
Scanning for pods...
1.9.3
> pod install
Detected React Native module pod for RNCPushNotificationIOS
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "RNCPushNotificationIOS":
In Podfile:
RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)
Specs satisfying the `RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)` dependency were found, but they required a higher minimum deployment target.
Aborting run
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18
Ok, I got it working here.
On the
Podfile, do the following changes:-
platform :ios, '9.0'+platform :ios, '10.0'This worked for me Thanks
The push notification module are only supported for iOS10 and above. Please update the ios version on the pod file
https://github.com/react-native-push-notification-ios/push-notification-ios/issues/224#issuecomment-722358678