nordnet / cordova-universal-links-plugin

[DEPRECATED] - Cordova plugin to support Universal/Deep Links for iOS/Android.
https://github.com/nordnet/cordova-universal-links-plugin/issues/160
MIT License
348 stars 531 forks source link

Can't get it to work on iOS #60

Closed jusdeleon closed 8 years ago

jusdeleon commented 8 years ago

I tried building my app with Intel XDK. Do I strictly need to build the project on the CLI in order for it to work?

nikDemyankov commented 8 years ago

Plugin uses JS hooks to configure native project properly. They are executed when you run cordova prepare or cordova build. You can build your project without the CLI, but you'll have to configure resulting project manually.

jusdeleon commented 8 years ago

Hi, by "configure", are we talking about the apple-app-site-association file? Or the configuration of the plugin itself?

nikDemyankov commented 8 years ago

Plugin does the following changes in the native project:

  1. Enables Associated Domains.
  2. Generates entitlements file with the list of associated domains. It uses domains, that you defined in config.xml.

Also, it generates apple-app-site-association file. This file is outside of the native project. Although, it holds domains from the config.xml.

If you want to use plugin and can't prepare it from the CLI by executing cordova prepare - then you will have to make these steps manually.

jusdeleon commented 8 years ago

I'm receiving this error when building in the CLI:

Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: com.apple.developer.associated-domains.

Was wondering if you could help me out.

nikDemyankov commented 8 years ago

As stated in the error message: you are trying to sign the app with the wrong provisioning profile. Go to your Apple developer console and check app preferences.

Also, check that the bundle id of the app you are building is correct.

jusdeleon commented 8 years ago

Thanks for your help. Got it working.

nikDemyankov commented 8 years ago

Great :)