简体   繁体   中英

How do I build an iOS xamarin app for an older SDK version?

Currently SDK 15.4 is the only available option to build my iOS Xamarin project with in the "iOS Build -> SDK Version" drop-down field of project options. It looks like that SDK is located in folder /Library/Frameworks/Xamarin.iOS.framework. If I wanted to instead compile for SDK 13.4... how would I go about doing this? Do I just have to download the SDK 13.4 to that folder or is there more to it? And where would I download this older SDK from?

Thanks!

In Visual Studio for Mac, you can install different Xamarin.iOS packages whatever you want however it only works on Mac.You can go to Xamarin.iOS github repo and download the pkg file ,install on mac.

Also,as @Steve suggested,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.

You could refer to this link for more details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM