Issue
I have connected my windows laptop to Macbook pro late 2011 for developing xamarin.forms ios applications. My visual studio version on Widows machine is 16.7.2
with xamarin.ios version 13.20.2.2
.
My xamarin.ios version on Macbook is 13.14.1.39
and Xcode version is 11.3.1(11C504)
. The problem I am facing is I cannot run ios simulator on both windows and mac. I can manually open simulator on Mac. But when we run application against simulator it will build successful , but no simulator shows up. The simulator drop downs on both visual studio and Xcode shows plenty of simulators with ios 13.3. What should be the problem? I have checked and unchecked "Remote simulator to windows"
and no change. Any help is appreciated.
Solution
I had an exact same problem. In my case, it helped to:
- In Visual Studio, right click on iOS project -> Properties -> iOS Bundle Signing
- For Debug | iPhoneSimulator configuration, change Bundle Signing scheme to the "Automatic Provisioning"
- Click Save All button in Visual Studio
- Right click on iOS project and select "Unload project"
- Select unloaded iOS project to see *.csproj file contents
- In
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
Remove tags<CodesignKey>
and<CodesignProvision>
- Click Save all button
- Right click on iOS project -> Reload Project
Now it should be working.
Answered By - Wojciech StaĆczewski
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.