How to build Xamarin against an old version of IOS SDK

I am trying to create a Xamarin Forms app for an Apple store using Xamarin Studio on my MacBook. Until recently, this worked fine.

The only options available to me in the SDK version dropdown in the iOS Build tab are Default and 8.3 . If I build using any of these and try to upload to the store, I get the following error:

ERROR ITMS-90068: "This package is invalid. The value specified for the MinimumOSVersion key '8.3' is not acceptable.

I am guessing this is due to updating all Xamarin and Xcode components to the latest versions.

I am trying to figure out how to get SDK 8.2 back.

I tried downloading iOS 8.2 Simulator from Xcode > Preferences > Downloads

but didn't seem to add anything in the Xamarin SDK version dropdown.

Any ideas?

+3


source to share


2 answers


You are misleading the SDK version used to build your application and the minimum iOS version your application requires.

It is perfectly possible to build an app using the iOS 8.3 SDK and target iOS 5.1.1 for example.



You need to install the minimum iOS version for your app instead of changing the SDK version; this is done in the project's iOS app variants by setting Deployment Target

to the minimum iOS version for your app.

+8


source


Here's what I did to solve the problem:



  • Right click on the project .iOS

    > Options
  • Install Build > iOS Build > Link behaviour

    in Link Framework SDKs Only

    .
+1


source







All Articles