After successfully pairing with my iOS build machine, I created a brand new Xamarin Forms project and attempted to run the Hello World app as-is in the iPhone Simulator. The build succeeds but deployment errors out with the following log:
1>Server returned an error. The remote server returned an error: (500) Internal Server Error.
1>Server error code: 500
1>Internal Server Error
1>TrialCheckChanges failure during build
1>Exception thrown: Object reference not set to an instance of an object
1>Remote build step failed.
I attempted to use an iPhone device (my device shows up in Visual Studio). But again, same error. When I try a different MacBook Pro it works fine. But with the MacBook I want as my build box I have this error.
More background as to exact reproduction steps:
1) I created a new xamarin trial account and installed xamarin on a Windows 7 machine.
2) I also installed xamarin on a MacBook Pro that I had with existing team accounts already in XCode.
3) I created a Xamarin Forms template project and the iOS deployment worked perfectly. So did Android. But Windows Phone did not. I tried closing and restarting Visual Studio, and then every time I would try to build my solution, it would crash visual studio. Eventually I discovered that I had to delete the Windows Phone project everytime I used the template to create a new solution, and then it would not crash.
4) SO I decided to upgrade my Windows 7 to Windows 8.1 Pro in an attempt to fix the Windows Phone issue.
5) I had to revoke the license to my windows 7 machine and re-assign it to the same machine with Windows 8.1 Pro (after installing Visual Studio 2013 and Xamarin again, still using the trial license).
6) Simultaneously, I also decided to use a different MacBook Pro for development, as the other one was not owned by me. I installed XCode and Xamarin on it, and again revoked the license on the other MacBook Pro and redirected the license to this MacBook Pro.
7) I created a new Apple developer account, created a provisioning profile, app id, including a wildcard one, etc..
8) I created a Xamarin Forms project on the new MacBook Pro successfully using Xamarin Studio and was able to deploy the project onto my iPhone 5 with no issues.
9) Now in Visual Studio I changed the build server to my new MacBook Pro (although the old one still shows up). I had unpaired the old MacBook and started a new pairing with the new one. After some issues like not being able to read the SDK status and restarting stuff, it eventually paired successfully.
10) I then tried to deploy to the device, and then got the error above. Same thing with simulator.
11) I tried installing the Alpha version on the MacBook Pro, but still the same issue.
12) I switched back to using the other MacBook pro build server, which worked perfectly, even though its license had been revoked. This showed me that the problem was not on the Windows side.
13) I again paired with my new MacBook Pro and unfortunately I had the same issue.
The exact error on the Visual Studio side was pasted above.
Here is the error on the Mac side in the mtbserver.log file:
Starting pdb2mdb "FormsTemplateiOS.exe"
Starting /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --entitlements
stdout: some_guid MonoTouch TRIAL 2014-07-27T04:42:02.
I tried running the same thing again on the other MacBook Pro and it seems to have the same stdout result except a different guid.
Any ideas what is going on? I really need a resolution on this problem ASAP please.