1

我试图检查我的设备上的应用程序,但我有iOS 5.1.1。所以我在tiapp.xml中设置为5.0。即使降低了tiapp.xml中的ios版本,仍然抛出错误

当我尝试运行它时,仍然出现错误。

错误:

The device is running `iOS 5.1.1`, however the app's the minimum iOS version is set to 6.0 
In order to install this app on this device, lower the <min-ios-ver> to 5.1 in the **tiapp.xml**: 

[ERROR] : This app does not support the device "XXXXXX’s iPhone" 
<ti:app xmlns:ti="http://ti.appcelerator.org"> 
    <ios> 
     <min-ios-ver>5.0</min-ios-ver> 
    </ios> 
</ti:app> 

我已经添加了“最小IOS版本”标签仍然抛出了同样的错误。

tiapp.xml

<ti:app xmlns:ti="http://ti.appcelerator.org"> 

    <id>com.XXXXXXXX</id> 
    <name>Taxi</name> 
    <version>1.0</version> 
    <publisher>XXXXXX</publisher> 
    <url>http://</url> 
    <description>not specified</description> 
    <copyright>2014 by XXXXX</copyright> 
    <icon>appicon.png</icon> 
    <fullscreen>false</fullscreen> 
    <navbar-hidden>false</navbar-hidden> 
    <analytics>true</analytics> 
    <guid>e7914e57-5b00-4ade-8254-1044c0c65b67</guid> 
    <property name="ti.ui.defaultunit" type="string">dp</property> 
    <ios> 
     <min-ios-ver>5.0</min-ios-ver> 
     <plist> 
      <dict> 
       <key>UISupportedInterfaceOrientations~iphone</key> 
       <array> 
        <string>UIInterfaceOrientationPortrait</string> 
       </array> 
       <key>UISupportedInterfaceOrientations~ipad</key> 
       <array> 
        <string>UIInterfaceOrientationPortrait</string> 
        <string>UIInterfaceOrientationPortraitUpsideDown</string> 
        <string>UIInterfaceOrientationLandscapeLeft</string> 
        <string>UIInterfaceOrientationLandscapeRight</string> 
       </array> 
       <key>UIRequiresPersistentWiFi</key> 
       <false/> 
       <key>UIPrerenderedIcon</key> 
       <false/> 
       <key>UIStatusBarHidden</key> 
       <false/> 
       <key>UIStatusBarStyle</key> 
       <string>UIStatusBarStyleDefault</string> 
      </dict> 
     </plist> 
    </ios> 
    <android xmlns:android="http://schemas.android.com/apk/res/android"/> 
    <mobileweb> 
     <precache/> 
     <splash> 
      <enabled>true</enabled> 
      <inline-css-images>true</inline-css-images> 
     </splash> 
     <theme>default</theme> 
    </mobileweb> 
    <modules> 
     <module platform="commonjs">ti.cloud</module> 
     <module platform="iphone">ti.map</module> 
     <module platform="android">ti.map</module> 
    </modules> 
    <deployment-targets> 
     <target device="android">true</target> 
     <target device="blackberry">false</target> 
     <target device="ipad">true</target> 
     <target device="iphone">true</target> 
     <target device="mobileweb">true</target> 
     <target device="tizen">false</target> 
    </deployment-targets> 
    <sdk-version>3.2.1.GA</sdk-version> 

    </ti:app> 
+0

之前所设定的最低版本的Xcode中,你试过做建筑之前清洗工程? – daniula

+0

我确实尝试清洁,没有帮助 – user3352085

回答

相关问题