How do I remove the last update to my Xamarin - xamarin.ios

How do I remove the last update to my Xamarin ?
I keep getting this error
Error MT0091: This version of Xamarin.iOS requires the iOS 11.0 SDK (shipped with Xcode 9). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs). (MT0091)
but when I upgrade to Xcode 9, there where too many bugs...
so I need to just go back down.

Related

Can I Remove Push.SetSenderID(string) Now That It's Obsolete?

Is it safe to remove the line of code that calls Microsoft.AppCenter.Push.Push.SetSenderId, which has been marked obsolete?
I updated Microsoft.AppCenter.Push, increased the Xamarin.Android target framework to 8.1, updated AndroidManifest.xml, added google-services.json and updated the proguard config following these steps:
https://learn.microsoft.com/appcenter/sdk/push/migration/xamarin-android
However, the following warning is unclear as to whether I can safely delete Microsoft.AppCenter.Push.Push.SetSenderId:
'Push.SetSenderId(string)' is obsolete: 'For all the Android developers using App Center, there is a change coming where Firebase SDK is required to use Push Notifications. For Android P, its scheduled at the release date for the latest OS version. For all other versions of Android, it will be required after April 2019. Please follow the migration guide at https://aka.ms/acfbxa.' (CS0618)
Yes, you can safely delete Microsoft.AppCenter.Push.Push.SetSenderId once you have completed the recommended steps:
Increase the Xamarin.Android target framework to 8.1
Update AndroidManifest.xml
Add google-services.json from Firebase
After completing the recommended steps, Microsoft.AppCenter.Push.Push.SetSenderId will no longer execute any code in the SDK (it is essentially a no-op).

Does MtouchSdkVersion setting affect what version of iOS we can run on?

When deploying an existing Xamarin forms proj from Visual Studio I was getting errors like "Failed to load AOT module ‘System.Net.Http’ while running in aot-only mode". This had worked in the past, it seemed Xcode had recently updated before I hit the problem. I found I was able to get the project deploying by changing the csproj entry 10.0 to 10.3. It looks like I could change this setting and everyone would be ok if they also had updated xcode.
My concern is: Does this change what versions of iOS the application can support? Would it have any other surprises when deployed to the apple store?
One thing I don't understand is I am the only person seeing this issue. Another developer is able to deploy to an iOS device (iPad instead of an iPhone) that also has the latest version of iOS without problems. Running “xcodebuild -version” shows we have the same version of xcode installed (8.3.1) and running “xcodebuild -showsdks” shows we have the same iOS sdk available (iOS 10.3).
There is some good documentation on the iOS SDK version: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/cross_development/Overview/overview.html#//apple_ref/doc/uid/20002001-BABEBGCF
You can build against a higher version of the SDK and run against lower versions of iOS.
Building against different versions of the iOS SDK can cause differences in behavior, these may show as regressions in your application.

Can't update hot tuna ios dialog support to version 3.5

When I try to update or to install dialog support package I get the error:
Could not install package 'MvvmCross.HotTuna.Touch.Dialog 3.5.0'. You are trying to install this package into a project that targets 'MonoTouch,Version=v1.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
The issue is you are still targeting the old 32 bit only iOS api (the MonoTouch.dll). All apps being written for the store must support 64 bit and 32 bit (Xamarin.ios.dll).
You can I believe get a build of mvvmcross 3.5 that will support the old apis, but I'd look at upgrading your project to support the new iOS apis. Xamarin produce some good docs here: http://developer.xamarin.com/guides/cross-platform/macios/32-and-64/.
This goes without saying but make sure you have everything in source control first before upgrading just in case. Once you have upgraded you should upgrade all mvvmcross components to 3.5

Warning MT1108 after ios update

How do I fix:
warning MT1108: Could not find developer tools for this 6.1.3 (10B329) device. Please ensure you are using a compatible Xcode version and then connect this device to Xcode to install the development support files.
I updated my iPad to new version of iOS and this started happening...I updated my xcode version to the latest stable version (Xcode 5, I believe)...I still have `xcode 4 on my computer how do I get this stop happening...
You'll need Xcode 4.6 - which was the version shipping support for the iOS 6.1 SDK. Xcode 4.5 shipped support for iOS6 while Xcode 5 previews (not stable) ships support for iOS7.
In general a later version will be ok, but sometimes the changes are too big (e.g. moving from gcc to clang) that this might not work. Also the NDA around iOS7 and Xcode5 means you're unlikely to get help here (or in other public forums).
So if you're developing for iOS 6.1 (the released, stable version of iOS) you should be using Xcode 4.6 (the stable tools/SDK) so you can deploy your applications to the appstore.

Update Xcode project to iOS 4.1

I started a project under iOS 3.1 and I stopped developing for a while. Now I installed the new SDK with iOS 4.1. If I wanna build now, there is a error message which says "There is no SDK with the name or path 'iphoneos3.1', which actually make sense.
So how can I "upgrade" my project to iOS 4.1?
thx
In the project settings search for base SDK and set this to 4.1. You might set the deployment target to 3.x on the targets' info page (that is if you want to target 3.x, of course).

Resources