iOS Universal Links not working via TestFlight

我与影子孤独终老i 提交于 2019-12-22 10:09:57

问题


I'm new to iOS and managed to implement the iOS Universal Links for an app following this.

I have created and uploaded the apple-app-site-association and configured/prepared the app to handle universal links.

It all works well and I can test it successfully when I build the app through xCode into a real device. However the universal links do not work when installing the app via TestFlight.

When installing the app via xCode I can see the HTTP request to the apple-app-site-association file in my web server. But when installing it via TestFlight doesn't seem to try to fetch the association file.

Does anyone knows if this is expected or how can get universal links working when deploying on TestFlight?


回答1:


Make sure your Associated Domains are in both entitlement files: "Debug" and "Release". In my case all domains were listed in Entitlement-Debug.plist file but the Entitlement-Release.plist was empty.

After adding them manually to the 'Release' file - app installed via TestFlight started working with Universal Links.



来源:https://stackoverflow.com/questions/51093464/ios-universal-links-not-working-via-testflight

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!