CocoaPods is only supported on darwin machines
See original GitHub issuePS F:\Roma\prog\izigo\ios> npx pod-install
npx: installed 1 in 3.862s
Scanning for pods...
CocoaPods is only supported on darwin machines
No search results for that! Please help! I’ll try to reboot meanwhile.
I updated yarn with npm install -g yarn
and tried to install async-storage again:
yarn add @react-native-community/async-storage
yarn add v1.22.4
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > @typescript-eslint/parser@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "@react-native-community/eslint-config > eslint-plugin-react@7.12.4" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0".
warning "@react-native-community/eslint-config > eslint-plugin-react-native@3.6.0" has incorrect peer dependency "eslint@^3.17.0 || ^4 || ^5".
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] Building fresh packages...
success Saved 1 new dependency.
info Direct dependencies
└─ @react-native-community/async-storage@1.10.3
info All dependencies
└─ @react-native-community/async-storage@1.10.3
Done in 91.20s.
Could those warnings be related to the reason? I installed yarn just today… From https://classic.yarnpkg.com/
with .msi file.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
CocoaPods is only supported on darwin machines · Issue #364
It means that CocoaPods are only available for MacOS. You can use Expo, which has dependencies bundled inside, so you can develop iOS...
Read more >npx pod-install returns "CocoaPods is not supported in this ...
Context: I'm trying to create a React Native App with react-native-video . The iOs installation instruction starts with npx pod-install .
Read more >pod-install - npm
Why CocoaPods requires a darwin machine. But now you can simply instruct users to run npx pod-install . This package will do the...
Read more >pod-install | Yarn - Package Manager
Why CocoaPods requires a darwin machine. But now you can simply instruct users to run npx pod-install . This package will do the...
Read more >pod-install - npm Package Health Analysis - Snyk
Learn more about pod-install: package health score, popularity, security, maintenance, versions and more. ... Why CocoaPods requires a darwin machine. But ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It means that CocoaPods are only available for MacOS. You can use Expo, which has dependencies bundled inside, so you can develop iOS on Windows.
There is no way to
pod install
on any other platform than macOS. CocoaPods is a dependency manager for apps on Apple platforms. You cannot build an app for Apple platforms without a Mac, unless you use a third-party service like Expo. This is not a “problem”. It is just how things currently are if you want to develop an app for iOS/macOS.