forked from microsoft/react-native-code-push
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
CocoaPods install fails — CodePush requires higher iOS deployment target (React Native 0.80+)
Description
Running pod install fails when using @revopush/react-native-code-push with React Native 0.80.1.
CocoaPods reports that the CodePush pod requires a higher iOS deployment target than the one configured in the project.
Environment
- React Native: 0.80.1
- Package: @revopush/react-native-code-push
- macOS: Sonoma
- Xcode: 15+
- CocoaPods: Latest
- Architecture: Apple Silicon (M-series)
Error
[!] CocoaPods could not find compatible versions for pod "CodePush":
In Podfile:
CodePush (from `../node_modules/@revopush/react-native-code-push`)
Specs satisfying the `CodePush` dependency were found, but they required a higher minimum deployment target.
Steps to Reproduce
-
Create or upgrade a project to React Native 0.80.x
-
Install:
npm install @revopush/react-native-code-push -
Run:
cd ios pod install -
Installation fails with deployment target error.
Expected Behavior
pod install should succeed without requiring manual modification of the iOS deployment target, or documentation should clearly state the minimum supported iOS version.
Observed Behavior
The podspec appears to require a higher iOS deployment version than many existing React Native projects use (for example 11 or 12).
Temporary Workaround
Updating the Podfile resolves the issue:
platform :ios, '13.0'and updating the Xcode deployment target accordingly.
Request
- Please clarify the minimum supported iOS deployment target in the documentation.
- Consider adding validation or clearer install messaging for React Native 0.80+ users.
- And how we can resolve fully ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels