react-native ios Podfile issue with “use_native_modules!”

前端 未结 18 2048
一生所求
一生所求 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条回答
  •  庸人自扰
    2020-12-05 18:07

    Ok, my guess is for most people, the accepted answer will fix their issue. For me, the fix was so bizarre, I had to add it here.

    For whatever reason, I ended up creating an invalid AndroidManifest.xml file in my android native setup.

    I looked at the full error output, and the first lines of the error referenced a line number and column number. At that point in my xml file I broke the xml formatting.

    2 days of searching to find a GitHub Issue with a description of where to look.

提交回复
热议问题