Cordova iOS Plugins fail after building, unless I remove platform and plugin JSON first

后端 未结 3 1978
情话喂你
情话喂你 2021-01-04 16:34

I have a Cordova 3.2.0 project, and I\'m testing using the XCode emulator and an iPhone 4S over USB.

When I execute the following, the app runs without error:

<
3条回答
  •  爱一瞬间的悲伤
    2021-01-04 17:03

    In XCode, goto Build Phases -> open the Compiled Sources dropdown. Click + and add the missing plugin .m file that should be in your Plugins directory (but is missing from the compiled sources).

    This solution came from another stack overflow answer, here: https://stackoverflow.com/a/21148428/80254

提交回复
热议问题