Please see https://releases.xamarin.com/stable-release-cycle-8-w-ios-10-and-xcode8-support/ for the details about this release, including the steps to update or downgrade as needed.
This is a major feature release. Our thanks to all the users who tried the Beta versions and reported bugs! Many of those issues have been resolved in these latest builds. As a caution, there are still a number of those bugs that have not yet been resolved and have been moved to the follow-up bug fix releases. This release to the Stable Channel is primarily aimed at providing the best correspondence to the available Xcode 8 Final versions for users who follow a routine of prompt feature release updates. If you are not updating to Xcode 8 yet, you can optionally wait to update to Xamarin Cycle 8 versions until one of the follow-up bug fix releases.
Please file a quick bug report using the "Cycle 8" new bug form if you see any behavior that looks suspicious in these versions (and if it isn't clear whether one of the known issues in the release notes matches the problem).
Comment in this forum thread if your question is not related to a suspicious behavior after installation, but instead one of the following:
(These issues will be addressed in the follow-up bug fix releases.)
[Xamarin for Visual Studio] - Upstream non-standard behavior of NuGet Package Manager extension (Xamarin tracking bug 44146) triggered by XamarinVS 4.2 - "GetFullVsVersionString must be called on the UI thread" error appears when attempting to open Manage NuGet Packages for Solution, blocking the use of the NuGet package manager on certain systems
Temporary workaround: Install this small extension from the Xamarin VS team that will force the NuGet Package Manager to load before the Xamarin extensions.
Alternate temporary workaround: Before opening any projects, open Tools > NuGet Package Manager > Package Manager Settings to force the NuGet Package Manager extension to load before the Xamarin extensions.
[Xamarin.iOS] - 44225 - "Error: TrustFailure (CertificateUnknown)" when using Apple TLS handler to access HTTPS servers that use virtual domains (via Server Name Indication).
[Xamarin for Visual Studio], [Xamarin Studio] - 43566 - The iOS Designer initialization process will cause any running iOS 10 simulator to become non-responsive. The designer initialization happens when opening an iOS project in Xamarin Studio and during the connection to the remote Mac in Visual Studio. This issue does not affect Xcode 7.3, iOS 9.3 (and lower) simulators.
[Xamarin.Android] - 44268 - "Unexpected libzip error: Inval" when building projects that reference any of the Android Support Libraries on Windows if the user name contains any accented characters.
Temporary workaround: Create and log in with a Windows user account that has only ASCII letters in the user name.
Alternate workaround: Add a XAMARIN_CACHEPATH environment variable under Control Panel > System > Advanced system settings > Environment Variables, and set it to a path that uses only ASCII letters in the directory names.
[Xamarin.Android] - 44184 - "The "BuildApk" task failed unexpectedly. Xamarin.Tools.Zip.ZipException: Entry has been changed" when attempting to archive or deploy apps that use certain NuGet packages.
[Xamarin.UITest] - Xcode 8 removes the UI Automation API, causing "SetUp : System.InvalidOperationException : Sequence contains no matching element ... at System.Linq.Enumerable.First[TSource] ... at Xamarin.UITest.iOS.Instruments.GetAutomationTemplatePath ()" when attempting to use UITest locally.
Candidate fix: Update to the Xamarin.UITest 2.0.0 Beta prerelease, which is based on Calabash 0.20 and includes a new API that uses XCUITest rather than UI Automation.
Alternate temporary workaround: Keep using Xcode 7, or just keep Xcode 7 installed in the default location and unpack Xcode 8 side-by-side to a custom location.
[Xamarin.iOS] - "Error MT0091: This version of Xamarin.iOS requires the iOS 10.0 SDK (shipped with Xcode 8.0) when the managed linker is disabled. Either upgrade Xcode, or enable the managed linker." This message will appear when building using Xcode 7.3 or older with Xamarin.iOS 10. The issue arises because Xamarin.iOS 10 is built to include the Xcode 8 symbols. When enabled, the Xamarin managed linker can remove these unused symbols to allow building successfully against older versions of Xcode.
[Xamarin for Visual Studio] - Build > Export Android Package (.apk) and Tools > Android > Publish Android App have been replace by the Build > Archive command that is part of the new Android Archive Manager and Publishing workflow.
The Xamarin team is working to review each newly submitted bug to update its status from NEW.
NEW Reviewed Xamarin.Android 10 8 Xamarin.iOS 4 23 Xamarin.Mac 1 0 Visual Studio Extensions 13 22 Xamarin Studio 13 24 Mono 3 6 Totals 44 83
(This is a snapshot of the live report from Bugzilla as of September 26 19:03 UTC. It will be updated periodically.)
Posts
And I also experience this issue: 44227: GetFullVsVersionString must be called on the UI thread
Makes NuGet completely unusable. Haven't found a workaround yet, had to downgrade to 4.1.2.
When you downgrade your MEF Cache will also get corrupted, so go to %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache and delete everything in there. Otherwise your iOS projects won't load.
Hello.
I installed the new version and if I try to use build-tools 24.0.2 and target sdk 24 I get the same issue that is reported here:
https://forums.xamarin.com/discussion/76798/compiler-issue-with-targetsdkversion-24-and-jdk-1-8
After updating my android project became "Incompatible"
I have found a quick fix outlined here
So i delete everything in the
C:\Users\%username%\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
folder and then open visual studio and it works.I then close down visual studio and reopen and suddenly it is broken again.
Is this a bug?
I have attached the activitylog.xml
Not sure to which product/technology within Xamarin is related, but I got some issues: https://forums.xamarin.com/discussion/77357/issues-with-xamarin-forms-2-3-2-127-released-today-sept-14/p1?new=1
-Deleted-
The latest release will not deploy my android app to either a device or to a simulator (Xamarin Android Player).
In the Deploying to Device window I get
Deployment failed because of an internal error: Failure [INSTALL_FAILED_DEXOPT]
Deployment failed. Internal error.
Any help in resolving this issue?
@JonathanDibble have you updated your Android sdk?
The following is shown when trying to open Storyboard from Xamarin Studio in MAC. Last stable update and also Xcode 8 update made today. Is there a workaround?
This version does not have support for files saved in Xcode 8 format.
I filed 2 bug reports, I know it's mostly iOS and Xcode now but I hope you take a look at it before Stable release, because this concerns the Installer.
https://bugzilla.xamarin.com/show_bug.cgi?id=44288
https://bugzilla.xamarin.com/show_bug.cgi?id=44289
I have the same issue, after editing my storyboard within Xcode 8, can't edit it in Xamarin Studio.
@JKAy I installed the installation sets that XamarinStudio provided me and nothing else
@JonathanDibble try updating the android SDK
Xamarin Studio:
Tools -> Sdk Manager -> then just install packages / updates
Visual Studio
Tools -> Android -> Android SDK Manager -> again just install packages / updates
I also had what sounds like a similar problem
Same issue
@JKay Thanks for the solution!
Getting this error creating a bug via the suggested form.
Here is another thread for the "Deployment failed because of an internal error: Failure [INSTALL_FAILED_DEXOPT]" Android error:
https://forums.xamarin.com/discussion/77142/help-with-new-deployment-issue-for-my-forms-app-install-failed-dexopt-from-xamarin-studio
@JKay I followed your suggestion, it still fails to deploy
Thanks for the heads-up! That should now be fixed.
Hi,
I just upgraded to Cycle 8, and upgraded my ios environment too. Deployment on ios works fine. But when I set my Droid project as the startup, it no longer recognises my phone (USB attached) or my Xamarin Android Player. The Start button just says Start, no options. Haven't changed anything and before the update I was deploying and debugging fine. Please help!
EDIT: After six or seven VS restarts it now seems back to normal... Weird
It's amazing! Now, that nothing works like we all already wait, HOW TO DOWNGRADE?
See the "Updating and downgrading" section on the Release Blog post. Let me also get the store.xamarin.com team to refresh the Looking for the version before links to point to Cycle 7 for a bit better convenience of grabbing all the corresponding versions. I'll get that rolling now.
(As mentioned in the top post, see the blog "for the details about this release, including the steps to update or downgrade as needed.")
@Lostinmyworld, @CyrilCathala, @KelseyKjeldsen
Definitely do file a bug report for that as soon as you get a chance so the engineering team can start investigating. I checked Bugzilla quickly, and that error isn't mentioned in any bugs yet, so a new bug report will be perfect. Thanks much!
@BrendanZagaeski i am really confused, this is mostly for windows downgrade, i have Xamarin studio for Mac since the update today i can't get the simulator to run it bombs out without an error so i can't run my project anymore the build works fine i have tried everything, so now where can i find a downgrade instruction for XS for mac? i need a solution asap please
To downgrade, you'll want to download and install the August 1 version of each of the following on Mac:
(In other words, each of the products listed under "Products Released" on the blog post that is available on Mac.)
On Windows, if you're using Visual Studio you only need the
Xamarin.VisualStudio*.msi
. If you're using Xamarin Studio on Windows, you'll also want to download and install the old version of Xamarin Studio.(In other words, each of the products listed under "Products Released" on the blog post that is available on Windows.)
I have tried to submit a bug, but I can't submit to bugzilla, I get this message: "There is no version named 'XI 10.0 (iOS 10)' in the 'iOS' product."
@CyrilCathala,
ACK! Let me have them fix that submission form. In the mean time, you can file for Xamarin.iOS directly via:
https://bugzilla.xamarin.com/enter_bug.cgi?product=iOS&version=XI+10.0+(iOS10)&component=General&target_milestone=10.0.1+(C8SR1)
Update: The submission form is now fixed. Thanks for the heads-up!
Just update to last stable channel and app taht was ok so far crashes... I see the splashscreen but can't reach any breakpoint of the startup activity ? Any pointers ?
We were aiming to release tomorrow and were performing final testing when iOS 10 was released.
We encountered a critical bug with the layouts and saw that an update to address this was in Cycle 8.
We upgraded from Cycle 7 to Cycle 8 and have encountered a lot of issues but one in particular is now completely blocking our ability to even build.
I've created a bug here and attached a sample to it: https://bugzilla.xamarin.com/show_bug.cgi?id=44343
This has now halted our ability to build OR release.
We can't go back to cycle 7 because it locks up on iOS 10 devices and we can no longer build because cycle 8 can't get past this compile error.
Help!
@BrendanZagaeski Also I tried to use the updated form but I just get an error that the component hasn't been selected, so I had to fill out the form manually instead. I didn't know which milestone to set so left it as master, which I think is wrong
If you get the message "This version does not have support for files saved in Xcode 8 format." after editing a storyboard with Xcode 8, here is a partial workaround:
1. Open the storyboard once more in Xcode 8.
2. Under the storyboard properties, change "Opens In" to "Xcode 7.x".
Source: https://bugzilla.xamarin.com/show_bug.cgi?id=44330
If I do that, I must have Xcode 7.x also in Mac, right? Xcode does not have backwards compatibility? Really now?
Well, if I change that it is true that Xamarin Studio does open the Storyboard, but Xcode 8 not, it insists to change compatibility to Xcode 8 only. So, if I install Xcode 7.x the issue will be resolved (I hope). Am I correct?
Thank you for your swift answers!!
Hi all,
Since upgrading I have noticed a warning with the Android build. I can reproduce by creating a new Android blank app and a new Class Library (Portable). Add ref the Class Library to the Android app and then build.
I swear this didn't happen before the latest update, but I'm about to downgrade to find out for sure.
It's a nuisance on my development box but I think it is causing actual errors on my build box.
Any advice would be appreciated!
Can someone help me out with a link to the Cycle 7 installer, so I can downgrade?
EDIT: nevermind, found the 'all versions' link.
This was solved today.
Is anyone else getting issues with deploying to both ios and android? Randomly sometimes detects if devices/emulators are attached and sometimes not, for both... Can't really test anything at the moment!
EDIT: It looks like when you change the startup project it no longer realises it's changed and refreshes to the new OS. Eg I have it on Droid, deploy okay, then switch to IOS and I now see no devices. But if I close VS and open again with IOS as the startup, then (after a very long time) it realises it's IOS and shows the emulator options. It's still very sporadic whether or not it actually does deploy on the ios simulator, sometimes just stops midway through
@Lostinmyworld said:
I did setup Xcode 7.3.1 and successfully opened Storyboard with Xcode AND with Xamarin Studio. But...
MTOUCH: Error MT0091: This version of Xamarin.iOS requires the iOS 10.0 SDK (shipped with Xcode 8.0) when the managed linker is disabled. Either upgrade Xcode, or enable the managed linker.
^This shows after build. When set in iOS Project Linker to an option other to 'Don't Link' this stops to show.
Instead the debugger decides never to connect to either ios10 or ios9.2 simulator.
Sooooo, it's a trap. Any workaround? Or do I have to install Xamarin Studio previous version for Mac??
Ok, just installed the update 3 of VS, rebooted and app works...
Hi all,
I've just tried to run a project that tries to P/Invoke asl_log on Mac OS Sierra and got a crash. I'm guessing this might be related to the issue #43541 mentioned on the mono 4.6 release notes on releases.xamarin.com (crashing when calling NSLog/os_log), though I can't be sure as I can't access the bugzilla entry for it.
I tried to do the suggested AOT workaround by running mono --aot on the app but that doesn't make a difference. Not sure if I'm doing something wrong there, or if there is another problem?
This is all working fine on El Capitan :-(
Am I the only one who cannot debug a PCL project on a physical iOS device anymore?
I opened bug #44366.
Ick. I haven't seen that come up before with the form. I'll make sure the team fully reviews and updates the behavior of form for the next release. In the mean time, I've added fallback instructions to the first post in the thread: