Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
This issue seems to be a change between VS 3.3 and 3.5 in which we had removed the Build -> Deploy options, but certain items are no longer accessible such as deploying to a device when running a "Start without debugging" under an AdHoc configuration with a distribution profile.
After a bit of investigation with Brendan Zagaeski, it seems the following command runs in 3.3:
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --devname "Brendan Zagaeski’s iPhone" --installdev "/Users/macuser/Library/Caches/Xamarin/mtbs/builds/iPhoneApp1/93693501792e14fb2edbe5bc563222c0/bin/iPhone/Ad-Hoc/iPhoneApp1.app"
but it does not run in 3.5 and therefore doesn't deploy to device.
My guess is that the current code detects n AdHoc provisioning profile and doesn't run the DeployApplication command.
From a customer's perspective:
I’ve seemed to have encountered a new issues ever since upgrading to the latest Xamarin bits on the stable channel. I’m using Visual Studio to develop an iOS app. I used to have the ability to deploy the app to any device in my provisioning profile by going to Build->Deploy. It would then either deploy a Debug or AdHoc build to my specified device (depending on my active configuration. Ever since the latest update, I no longer have this ability. The option for Build->Deploy in the main menu is grayed out and not selectable. I go to my Solution Configuration Manager, to make sure “Deploy” is checked. Now it looks like the Check Box for “Deploy” is grayed out as well and won’t let me check it.
Right now the only way I can Deploy to devices is to run the Debugger, but this takes way too much time. Using “Deploy” was much faster and allowed me to deploy to multiple iPhones and iPads rapidly so we can perform user tests on the latest builds for various. Can someone if I’m doing anything wrong? Did something break? This is rather annoying and would appreciate any help.
One could manually install the ipa by hand, but this seems tedious compared to what we originally had.
I have checked this Issue and I am also unable to deploy application to device using ad-hoc distribution.
Mac Server Log: https://gist.github.com/saurabh360/b8501c502350ae6386d8
MTBServer Log: https://gist.github.com/saurabh360/16c526851fa19a9d448d
Build Output: https://gist.github.com/saurabh360/e3454d9ffc9a505060de
XVS 18.104.22.168 (58a59ecb5fa40a0a2e97617c36c069074404c6ae)
I'm confused here. Has this been fixed and going to be in a future release, or was this just closed for no reason given?
The interesting recent discussion was all hidden in private comments. To summarize: from the preliminary results, it appears that in the upcoming Xamarin 3.8 release the "Deploy" context menu item for Xamarin.iOS projects in the Solution Explorer has been successfully changed back to allow deploying Ad-Hoc builds to device directly from Visual Studio.
I have checked this issue with XVS 3.8.113 + X.iOS 22.214.171.124.
Steps that I have followed :
1. Create a single view template application
2. Select Ad-hoc configuration
3. Set Identifier and provisioning profile
4. Deploy application via click on debug button it says that application deploy and a popup appears : http://screencast.com/t/bOk2CNEhzFf
Actual result : Application does not deploy on device and I am getting following logs :
mtbserver log : https://gist.github.com/Mohit-Kheterpal/4c49fcfbcf37976e1242
IDE log :https://gist.github.com/Mohit-Kheterpal/26ef511e9d3185beca58
macserverlog : https://gist.github.com/Mohit-Kheterpal/9e91c6887f80b918b172
However If I select Deploy option in context menu then it gives error.
Error : https://gist.github.com/Mohit-Kheterpal/82f54685674e46202c47
IDE Logs : https://gist.github.com/Mohit-Kheterpal/2db0eacb4bfa2614be8a
mtbserverlog : https://gist.github.com/Mohit-Kheterpal/e34a8bb583fe3c074400
Please let me know what should I do to verify this issue ?
Mohit I can confirm that I too am seeing the same behavior and the Ad-hoc deploy of a single view application is also failing for me. In the attached Mac Server log I am seeing the following error message:
[06-Nov-2014 14:55:11] Command [GetFile: CommmandUrl=GetFile] finished (61)
[06-Nov-2014 14:55:11] Request handled in 15.374ms
Deploying 'App1' into the device 'Ian's 6+ iPhone'
Joe, I think you guys branched 3.9 again from master, which means the commit might have gotten in. Moving to the 3.9 milestone for confirmation.
I have checked it with following builds and I am also unable to deploy application to device using Ad-Hoc distribution.
Checked with builds:
Xamarin Log: https://gist.github.com/saurabh360/ae6fa6524261d661af2b
VS Trace log: https://gist.github.com/saurabh360/77d1d23354e0c04a4b0b
MTBSever Log: https://gist.github.com/Mohit-Kheterpal/110142e7f74b323aef2b
Ok, it didn't make it in then, back to 3.10 as per Joe's change on 2014-11-19.
This bug has been fixed via this bug for service release 2 / 3.10.
*** This bug has been marked as a duplicate of bug 26519 ***
Can I get an ETA for this fix? Reported it back in September, and appreciate that it was fixed, but I would love to have a build that contains this fix. This has been a real productivity killer since September. Thanks!