After upgrading to latest XCode and Xamarin, when building in Visual Studio, I can no longer target any iOS devices older than 11. What happened?
If you want to build against iOS 10 frameworks, you would need to use Xcode 8 by setting the Xamarin's Apple SDK to point to a copy of Xcode 8.
Now via the Deployment Target within the Info.plist you can control what is the minimum iOS version that you want your app to run against.
The Deployment Target setting is used to select the minimum required version of the operating system on which your application will run. This is set in your Project's Info.plist file. You should pick the minimum version that has all the APIs that you need to run your application.
For a Forms-based Xamarin.iOS you do not want to set the min. to less then iOS 8
Xamarin.Forms applications can be written for the following operating systems:
iOS 8 or higher
Android 4.0.3 (API 15) or higher (more details)
Windows 10 Universal Windows Platform (more details)
Windows 8.1 / Windows Phone 8.1 WinRT (more details)
Windows Phone 8 Silverlight (DEPRECATED)
Related
I am not able to install the appbundle file in windows phone 10
I have tried copying the file on device and also via the winappdeploycmd.exe tool
But nothing works!
If you use .Net Standard 2.0 and Xamarin.Forms 3.0 you can't install the app on Windows 10 Mobile, because .Net Standard 2.0 support was added with the Windows 10 v1709 Build 16299, but Microsoft never released that version for phones. They hang at lower feature2 branch with Build 15254.
So you have 2 options:
use PCL as shared code with Xamarin.Forms 2.5.1 and Min/TargetBuild 14393/15063 to serve both, Desktop/Tablets and phones
create separate brach/app with PCL for mobile (Min/TargetBuild 14393/15063) and 1 app for desktop which uses .net standard 2.0 (Min/TargetBuild 16299/16299) and latest Xamarin.Forms version.
I have an existing Window Universal Appliction on the store.
https://www.microsoft.com/store/apps/9wzdncrdmn96
This app runs on Windows 10 as Windows 8.1 App.
I plan to release a "real Windows 10 UWA" for Windows 10 (Windows 10 Mobile) Users.
At the moment the app has three packages x86, x64 and ARM.
Can I add "dedicated" Windows 10 UWA to this App?
The app will have same functionality but a litte different look (due to new controls I'll use).
Idea: publish a new Version and additionally include the W10 UWA Packages.
Yes you can add a UWP version of the app to your existing windows universal packages. when you are done developing you can upload the UWP version with a higher version number than the universal app
The requirements for the Visual Studio Tools for Apache Cordova specify that SDK for the API Level 19 must be installed. Do that means that apps created with it will only run on android KitKat devices? Any way to target older devices?
Please review the following article for reference:
https://msdn.microsoft.com/en-us/library/dn757054.aspx
Cordova targets a single SDK (currently 19 though a upcoming release will move this to 21). However this is just the SDK used to build - by default Cordova apps can be deployed on devices running API level 10 or higher (2.3.3). Unless you're creating a custom plugin that will use an API only available on Android 5.0, you won't be affected by the SDK used.
The Android tab on the config.xml designer allows you to set alternate values for what goes in "AndroidManifest.xml" file, but the build itself will always use SDK 19.
http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
Android 4.4.x (API level 19) is required by Visual Studio to build app or create app package targeting Android platform not for running the app. You can create Cordova app targeting device running Android released before KitKat.
We have upgraded to XCode 5 and Xamarin.iOS 7.x, but have one app we are not quite ready to support iOS 7 for yet.
Is there a way to target the iOS 6.0 SDK, and compile the app so that it has the old iOS 6 keyboard, etc.?
We tried changing the settings in iOS Build->SDK Version, and we can change it when targeting the simulator, but the option doesn't exist for AhHoc or AppStore builds.
Any ideas?
Xcode ships with several simulator SDK but only one device SDK. So you need to install an older version of Xcode. E.g. installing Xcode 4.6 will give you the 6.1 SDK).
Both versions can coexists side-by-side if you rename the existing one before installing the 2nd.
Be sure to have XS points to the Xcode you want to use (it's not a project specific setting).
I have built my app for WP7.0 - will it still work on WP7.1?
Do I need to rebuild it using WP7.1 sdk? If yes, how can i rebuild my current app to 7.1 mango?
Your 7.0-built application will work as expected in 7.1, but the fast application switching (multitasking) experience may not be optimal.
To rebuild/optimise your application for Mango:
Install the updated tools (currently RC)
In the Properties pane of the application, change "Target Windows Phone OS Version" to "Windows Phone OS 7.1"
Update your code in App_Activated to only process the state if ActivatedEventArgs.IsApplicationInstancePreserved is false
Keep in mind that, for the next few weeks, you cannot release a bug fix for users with 7.0 once you release a 7.1 build.