Skip to content

'SpotifyiOS.h' file not found - Example App #223

Open

Description

Hey @cjam, I'm getting some Xcode build errors while trying to get the example up and running.

Line 10 of RNSpotifyRemoteError: 'SpotifyiOS.h' file not found

I followed all of steps outline in the README.md and I also ran yarn submodules in the root directory. Here's a video of all the steps I took (I rotated the Spotify client secret shown in the video!)

Any idea of what I did wrong here?

Activity

  1. ghost changed the title [-]'SpotifyiOS.h' file not found[/-] [+]'SpotifyiOS.h' file not found - Example App[/+] on Dec 22, 2022
  2. toddriley commented on Dec 29, 2022

    @toddriley

    There are a couple issues with running the example app. The first is that line 14 of the Podfile assumes the dependency is in a parent directory instead of inside node_modules.

    pod 'RNSpotifyRemote', :path => "../../"

    If you update this line to be the following:

    pod 'RNSpotifyRemote', :path => '../node_modules/react-native-spotify-remote'
    

    Then you'll get the same error because the react-native-spotify-remote dependency is missing from package.json. But if you run:

    yarn add react-native-spotify-remote

    Then that error will go away.

  3. cjam commented on Dec 29, 2022

    @cjam
    Owner

    Hey, sorry for the delay. I'll have to take a gander at trying to run the example app again. As for @toddriley's comment, it is true that it points upward two directories. This was so that the example app would use the latest code within the library itself, so it was intended but perhaps it has stopped working as intended.

  4. johra commented on Jan 15, 2023

    @johra

    Also getting the same problem, @cjam an update on example would be greatly appreciated. Trying to get the project running using Expo and EAS build. Almost done appart from this and also the linking of xcframework instead of framework.

  5. chen-rn commented on Aug 22, 2023

    @chen-rn

    Also getting the same problem, @cjam an update on example would be greatly appreciated. Trying to get the project running using Expo and EAS build. Almost done appart from this and also the linking of xcframework instead of framework.

    Hey! did you manage to get this working with a Managed Expo dev client?

  6. johra commented on Aug 23, 2023

    @johra

    Yes, but I hade to make a special expo-plugin for it, see here: https://github.com/EkornEvent/Tempofy/blob/master/spotify-plugin/index.js

  7. chen-rn commented on Aug 24, 2023

    @chen-rn

    Oh that looks fantastic!

  8. Wulfheart commented on Mar 17, 2025

    @Wulfheart

    Yes, but I hade to make a special expo-plugin for it, see here: https://github.com/EkornEvent/Tempofy/blob/master/spotify-plugin/index.js

    So does it work without XCode?

  9. johra commented on Mar 17, 2025

    @johra

    Yes that is correct

  10. Wulfheart commented on Mar 17, 2025

    @Wulfheart

    Oh this is cool. Then I don’t have to buy a MacBook!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions