BUILD FAILED on iOS, fatal error: 'HockeySDK/HockeySDK.h' file not found
BrennanRoberts opened this issue · 1 comments
BrennanRoberts commented
I've been unable to get my application to run on iOS using the instructions on the homepage. Here's what I've done:
1. Create ios/Podfile
target 'sweetgreen_family' do
pod 'HockeySDK'
end
2. Run pod install
from ios/
Results:
Analyzing dependencies
Downloading dependencies
Installing HockeySDK (4.1.6)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `myapp.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
[!] Automatically assigning platform ios with version 8.0 on target myapp because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
3. Open myapp.xcodeproj in Xcode and drag ./ios/Pods/Pods.xcodeproj
and the contents of ./node_modules/react-native-hockeyapp/RNHockeyApp
into the Libraries section.
4. Run react-native run-ios
Results: BUILD FAILED
with
In file included from /Users/brennan/code/myapp/node_modules/react-native-hockeyapp/RNHockeyApp/RNHockeyApp.m:1:
/Users/brennan/code/myapp/node_modules/react-native-hockeyapp/RNHockeyApp/RNHockeyApp.h:9:9: fatal error: 'HockeySDK/HockeySDK.h' file not found
#import <HockeySDK/HockeySDK.h>
This results in the red "react-native-hockeyapp platform setup not complete" screen in the app.
What am I doing wrong?
BrennanRoberts commented
Cloning a fresh repo fixed this issue. I had tried git reset && git clean -fd
so the culprit must have been something being gitignore
d.