Describe the bug
When I try to run this for ios I get the following message:
npx react-native run-ios
error Could not find the following native modules: react-native-track-player. Did you forget to run "pod install" ?
To Reproduce
npx react-native run-ios
Environment (please complete the following information):
Run react-native info in your project and share the content.
$ npx react-native info
info Fetching system and libraries information...
System:
OS: macOS High Sierra 10.13.6
CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 634.50 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.18.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.5 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 28, 30
Build Tools: 28.0.3, 30.0.0
System Images: android-27 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6514223
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_252 - /usr/bin/javac
Python: 2.7.6 - /Library/Frameworks/Python.framework/Versions/2.7/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found
What react-native-track-player version are you using?
The line in package.json says:
"react-native-track-player": "github:react-native-kit/react-native-track-player#dev",
Are you testing on a real device or in the simulator? Which OS version are you running?
Simulator
Seems to work, I think maybe because I did this:
ios/Podfile
ensure line as follows:
platform :ios, '10.0'
cd ios
pod install
Most helpful comment
Seems to work, I think maybe because I did this:
ios/Podfile
ensure line as follows:
platform :ios, '10.0'
cd ios
pod install