Cordova iOS plugins not found

后端 未结 13 1234
抹茶落季
抹茶落季 2020-12-05 11:04

I recently upgraded to Cordova 2.9.0 from 2.3.0. After following all the upgrade instructions, I was able to get the app to launch in the simulator. However, in Xcode I see

13条回答
  •  自闭症患者
    2020-12-05 11:31

    Came across this issue myself. Found the only solution was running cordova prepare after adding the plugins via CLI. prepare copies the necessary files across to the XCode project within the platforms folder.

    I think this should be done as part of the build command, or the plugin add command if the project is present. Maybe it's a bug, maybe it's deliberate, but I couldn't find much documentation on it.

    Similar question with answers.

提交回复
热议问题