j3k0 / cordova-plugin-openwith

Get your Cordova App in the O.S. "Share" menu on iOS and Android
MIT License
138 stars 114 forks source link

Patching of Xcode Project File does not work #7

Closed BigJenson closed 6 years ago

BigJenson commented 6 years ago

Hi,

after installing the Plugin, i got no additional Target in XCode (for the ShareExtension). The Hooks seem to run, but the Target is not added into the projec.pbxproj File.

Adding target "cc.fovea.cordova.openwith/ShareExtension" to XCode project
  - Folder containing your iOS project: /Users/jensfischer/angularProjects/xxxx/platforms/ios/
    Parsing existing project at location: /Users/jensfischer/angularProjects/xxxx/platforms/ios/xxxxx.xcodeproj/project.pbxproj...
    ShareExtension group already exists.
Added ShareExtension to XCode project

(Replaced the projects's name with xxxx for this issue)

Any ideas what could cause this?

j3k0 commented 6 years ago

Hi. Got this to work? If so, how?

NilLlisterri commented 5 years ago

For anyone facing the same problem: I had the same issue, but adding first the platform and then the plugin fixed it for me.