react-native ios Podfile issue with “use_native_modules!”

前端 未结 18 2086
一生所求
一生所求 2020-12-05 17:15

In my react-native project (react-native@0.60) in the ios/ dir I run pod install and get this error:

[!] Invalid `Podfile` file: no implicit con         


        
18条回答
  •  旧时难觅i
    2020-12-05 17:59

    This started happening out of the blue today, and the problem was a space in my directory structure. Ex:

    /path/to/Directory\ Name/RNProject throws the !native_modules error /path/to/DirectoryName/RNProject works as it should

    Pods was looking for "Directory. "

提交回复
热议问题