iOS Xcode build error after manual installation
Current behavior
After doing the iOS manual setup(I'm on bare workflow btw, just ejected expo), running in xcode gives following build error:
error opening input file '/Users/......../node_modules/react-native-compressor/ios/Video/Compressor-Bridging-Header.h' (No such file or directory)
It looks like the react-native-compressor/ios/Video/ directory doesn't have Compressor-bridging-Header.h So I copied Compressor-bridging-Header.h from react-native-compressor/ios/ to Video directory. then I get
/Users/.........../node_modules/react-native-compressor/ios/Video/Compressor-Bridging-Header.h:4:9: 'React/RCTBridgeModule.h' file not found
and
failed to emit precompiled header '/Users/........../Library/Developer/Xcode/DerivedData/.............../PrecompiledHeaders/Compressor-Bridging-Header-swift_2FUMZMGWGJN5S-clang_1UF3F5AFOI7VT.pch' for bridging header '/Users/.................node_modules/react-native-compressor/ios/Video/Compressor-Bridging-Header.h'
Expected behavior
Able to run on simulator without having build errors
Platform
- [X] iOS
React Native Version
0.63
React Native Compressor Version
0.5.11
Reproducible Steps And Demo
Yarn add the library and go through steps 1-4 of iOS manual installation.
@realfelixyu can you add minimal repro through the GitHub repo? because it was working on my side.
I think it is already fixed. feel free to reopen if you see this problem again. thanks.
No i'm getting this too
@jaexplorer @realfelixyu can you make reproducible example because it is not reproducing on my side.
I believe it has to do with having XCode 13. Can you confirm?
@jaexplorer I am using 13.2 version of xcode but not getting this issue. everything is working good on my side
@nomi9995 Okay well, I cannot install it manually, or automatically (as per other issues posted aswell). I cannot produce a reproducable scenario for you. But I see others experiencing the same issue. I don't know the cause.
On version 0.63.2 btw react native
@jaexplorer can you try this error
yarn add react-native-compressor@rnlessthan65
@jaexplorer any update?
@numandev1 I am having the same problem and just opened a fresh issue with all my details, https://github.com/Shobbak/react-native-compressor/issues/144
Thanks
fixed in the latest version, please feel free to reopen if you get this issue again