本文介绍了在Titanium Studio中设置最低iOS版本号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在 Appcelerator Titanium Studio 中从默认的 4.3 设置最低iOS版本?

How can we set minimum iOS version in Appcelerator Titanium Studio from default 4.3?

推荐答案

将以下设置添加到tiapp.xml.确保将6.1更改为要为其构建应用程序的最低iOS版本.

Add following setting to the tiapp.xml. Make sure to change 6.1 to whatever minimum iOS version you want to build your app for.

<ios>
    <min-ios-ver>6.1</min-ios-ver>
</ios>

builder.py查看此值,以确定用于构建项目的最低版本.您可以在以下位置找到builder.py:

builder.py looks at this value to decide what minimum version to build the project with. You can find builder.py at following location:

~/Library/Application Support/Titanium/mobilesdk/osx/<Titanium-SDK-Version>/iphone/builder.py

别忘了用您的Titanium SDK版本替换<Titanium-SDK-Version>.

Don't forget to substitute <Titanium-SDK-Version> with your Titanium SDK version.

这篇关于在Titanium Studio中设置最低iOS版本号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 19:37