Provisioning profile prefix different than that it

2019-09-14 18:22发布

I'm running into problems getting Branch to work for deep linking. My thought is it's because of the app prefix.

I go to the developer portal and create a new app id:

enter image description here


Then I create a new provisioning profile using that app id:

enter image description here


When I go to set my prov profile and dev cert the prefix do not match:

enter image description here


So I'm guessing that the app is being compiled with a different prefix than what's in the provisioning profile. So when I try to deep link from Branch, it's not finding the app.

I've tried creating new certificates, new provisioning profiles, new app id's. Nothing fixes this. Any ideas?

2条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-09-14 19:12

Alex with Branch here: yes, the provisioning profile mismatch would definitely cause Universal Links not to work! However it shouldn't have any effect on URL scheme deep links. Are both broken right now?

It's tough to troubleshoot exactly where the provisioning profile configuration is off without access to the project file, but here is the Apple docs page about all the places it can be set: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html

查看更多
叛逆
3楼-- · 2019-09-14 19:28

Turns out, Universal Links do not work with Branch test keys due to the limit on the size of the AASA file imposed by Apple.

So, if your Universal Links do not work and you're using test keys, that's probably why. Also, make sure that the url you're using doesn't contain /m/ as that's not a Universal Link.

查看更多
登录 后发表回答