Hello,
I connect through window only
It means that you are using Xamarin Hot Restart and connect a Local Device.
There are two solutions you could have a try:
- Enable automatic provisioning. Please follow the MAUI Hot Restart doc to create an App Store Connect API key and add your Individual account (Apple developer account), then configure Automatic Provisioning. (This doc is about MAUI, it also applies for Xamarin) For this solution, it's not supported if your app has the following entitlements: App Groups, Associated Domains, Apple Pay, Game Center, HealthKit, HomeKit, Hotspot, In-App purchase, Multipath, NFC, Personal VPN, Push Notifications, Wireless Accessory Configuration.
- Connect your device with Mac, and pair to mac, then select your device from Remote Device. After that, you could try to choose manual provisioning like screenshot in your comment. If the profile is invalid, you have to create a new one. Please see Manual provisioning for Xamarin.iOS.
If you have any other issues, please feel free to post in here.
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.