简体   繁体   中英

Xamarin iOS Universal Links - can not set checkbox Enable Associated Domains

In Xamarin iOS, I am using the Google App Indexing component. I have gone through all the prerequisites but am having this issue with the Entitlements:

When I open the Entitlements.plist in Xamarin, and click on the "Enable Associated Domains" checkbox, it quickly un-checks and says "Object reference not set to an instance of an object". Message displayed when trying to select checkbox

Some things I have tried:

1) Generating the Provisioning Profile with Associated Domains in XCode, deploying to device, and then using that profile and entitlements.plist in my Xamarain project

2) Creating the Provisioning Profile from the Apple Developer portal with the Associated domains enabled in the app ID

3) Manually editing the entitlements.plist as a text file

4) Re-creating a new project, just importing classes and assets

None of the above work.

Q: HOW DO I MAKE THE CHECKBOX ENABLED and WITH NO ERROR MESSAGE ?

Just tried to re-install Xamarin and it appears Visual Studio for Mac has replaced it. When I opened my project in VS Mac, I was able to set the checkbox in the entitlements. Problem solved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM