'XCODE: error opening input file '/Users/name/Desktop/test/appname/node_modules/react-native-compressor/ios/Video/Compressor-Bridging-Header.h'

I have a problem when I run my project in XCode.
I just installed the package react-native-compressor by following the installation instructions
And when I run my project in XCode, I have this problem:

<unknown>:0: error: error opening input file '/Users/name/Desktop/test/appname/node_modules/react-native-compressor/ios/Video/Compressor-Bridging-Header.h' (No such file or directory)

This file exists, and contain exactly what contains in this url: https://github.com/Shobbak/react-native-compressor/blob/master/ios/Video/VideoCompressor.h



Solution 1:[1]

This Path might be incorrect as After /Users/ it says name while there should be an account name of macbook profile that is currently logged in.

Just validate your path like that

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Hashim Khan