Skip to content
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

iOS build error: STKAudioPlayer.h not found #10

Closed
PocketHack opened this issue Aug 9, 2016 · 2 comments
Closed

iOS build error: STKAudioPlayer.h not found #10

PocketHack opened this issue Aug 9, 2016 · 2 comments

Comments

@PocketHack
Copy link

I keep getting "STKAudioPlayer.h not found" on line 5 of ReactNativeAudioStreaming.h when trying to build the Example project for iOS.

I cloned this repo, ran npm install in the Example folder, opened ios/Example.xcodeproj and tried to build in XCode. Got the aforementioned error.

I tried cloning it again, running npm install followed by react-native link react-native-audio-streaming (it told me the library was already linked for both platforms). Opening the XCode project and trying to build produced the same error.

Should that work? That isn't working for me. Is it working for you?

@tlenclos
Copy link
Owner

tlenclos commented Aug 9, 2016

The external library StreamingKit is managed with cocoapod and I haven't found a proper way to download it automatically. Please see the manual installation for iOS https://github.com/tlenclos/react-native-audio-streaming#ios, this should work.

@PocketHack
Copy link
Author

I'm building the Example folder from this repo, which already has the right version of StreamingKit in it. The problem seems to be that $(PODS_ROOT) is not in the Header Search Paths for ReactNativeAudioStreaming.xcodeproj.

brettpappas added a commit that referenced this issue Oct 14, 2016
iOS build error: STKAudioPlayer.h not found referenced in issue #10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants