-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build iOS example project, SpotifyiOS.h not found #63
Comments
hey @GitGeddes you'll likely need to get the git submodules. There's a script to do this in the package.json:
|
We figured out these problems and got the example running. Setting the SpotifyiOS.framework to not embed fixed the last issue. And reading the yarn commands in One last thing, I couldn't get the simulator to work properly because it doesn't have the Spotify app installed. The |
Hey @GitGeddes , glad you were able to figure this out, sorry for the delay. There is a Contributing guide in the repo that walks through how to get started with the example app: https://github.com/cjam/react-native-spotify-remote/blob/master/CONTRIBUTING.md Adding to this issue in the event that anyone finds it by searching. As for the simulator, the spotify SDK, and by proxy this package, needs to be run on an actual device with spotify installed. |
I am trying to run the example project and server, but the example folder doesn't include the SpotifyiOS framework, even after doing pod install. I assume that the files come from here, https://github.com/spotify/ios-sdk/tree/master/SpotifyiOS.framework/Versions/A but I'm not sure which files I need or how to create the ".framework" folder so that XCode can link to it.
Without this framework, XCode build fails with "'SpotifyiOS.h' file not found" in RNSpotifyItem.h using the example project. How can I download the framework and get the example working?
The text was updated successfully, but these errors were encountered: