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

回答

相關問題