react-native-search-api icon indicating copy to clipboard operation
react-native-search-api copied to clipboard

'React/RCTImageSource.h' file not found

Open hamoudaarfaoui opened this issue 5 years ago • 4 comments

After upgrading to RN 0.61, i reinstalled react-native-search-api and run react-native link , but when running my project i get this error message : 'React/RCTImageSource.h' file not found 'React/RCTEventEmitter.h' file not found

hamoudaarfaoui avatar Apr 07 '20 16:04 hamoudaarfaoui

@Danchoys @hassellof

hamoudaarfaoui avatar Apr 07 '20 22:04 hamoudaarfaoui

H! @hamoudaarfaoui! Thank you for your report. The repo is not using cocoapods and thus is not supported by RN 0.61's auto linker. As a workaround you can manually add it to the native iOS project: https://reactnative.dev/docs/linking-libraries-ios

Danchoys avatar Apr 13 '20 11:04 Danchoys

Still will not work , and fail build with same error , i did temporary fix by adding .podspec file and using cocoapods along to link , i should create PR asap

hamoudaarfaoui avatar Apr 13 '20 11:04 hamoudaarfaoui

@hamoudaarfaoui sure, thx!

Danchoys avatar Apr 13 '20 11:04 Danchoys