timflapper / cordova-spotify-plugin

This plugin provides a PhoneGap / Cordova API for the Spotify iOS SDK.
MIT License
48 stars 12 forks source link

Duplicate URL Types in Xcode #5

Open frey1esm opened 9 years ago

frey1esm commented 9 years ago

I am using the plugin in an Ionic / Angular project. Each time I build for ios via:

$ ionic build ios

...Xcode adds a duplicate URL Type in Xcode (Info --> Url Types)

I currently have 248 URL Types !

timflapper commented 9 years ago

@frey1esm, This is a known issue with Cordova. At first my code included a (quite hacky) fix for this but it would also clean out any other URL types already in the project so I decided to remove it. You can check if updating your version of Cordova / Ionic might resolve the issue.

frey1esm commented 9 years ago

One thing of note. When the new URL Type is created, the "URL Schemes" is populated with "{{URL_SCHEME}}"

Is that the correct setting, or should it be "myapp-spotify" which is the URL Scheme that I entered when I installed your plugin???