Cordova iOS plugins not found

后端 未结 13 1261
抹茶落季
抹茶落季 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:50

    We opened the project in Xcode, and looked in the Project navigator sidebar.

    Under the virtual "Plugins" folder we noticed that the files for some plugins were missing from this folder.

    The solution was to right-click on Plugins and select Add Files to "ProjectName"...

    Then we navigated into the plugin's folder and added all the .swift and .m and .h files there.

    Doing this created new references in the file platforms/ios/[ProjectName].xcodeproj/project.pbxproj so we kept those changes.

提交回复
热议问题