2017-01-23 16 views
1

タイトルが述べたように、私はシミュレータとデバイスの両方でiOS 10で正常に動作するCordovaの問題に直面しているが、iOS 9では起動しない何もスクリプトが起動していません Xcodeはコンソールに何も表示しません。iOS 9では起動しないが、iOs 10でうまく動作することがわかった。

私は最新のバージョンのCordovaを使用していますが、すべてのプラグインも最新です。 プラグインを1つずつ無効にしようとしましたが、何も起こりません。私は問題の原因を知りません。

ここに私の設定ファイルがあります。私がここで逃した使用:

デバッグのアプローチのための他のアドバイスは歓迎です!

<?xml version='1.0' encoding='utf-8'?> 
<widget id="com.my-domain.myapp" version="2.0.3" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> 
    <name>revolution</name> 
    <description> My Description </description> 
    <author email="my_email" href="my_website"> Author detail </author> 
    <content src="index.html" /> 
    <access origin="*" /> 
    <access origin="cdvfile://*" /> 
    <allow-navigation href="http://*/*" /> 
    <allow-navigation href="https://*/*" /> 
    <allow-navigation href="data:*" /> 
    <allow-intent href="http://*/*" /> 
    <allow-intent href="https://*/*" /> 
    <allow-intent href="tel:*" /> 
    <allow-intent href="sms:*" /> 
    <allow-intent href="mailto:*" /> 
    <allow-intent href="geo:*" /> 
    <platform name="android"> 
     <allow-intent href="market:*" /> 
    </platform> 
    <preference name="StatusBarOverlaysWebView" value="false" /> 
    <preference name="ShowSplashScreenSpinner" value="false" /> 
    <platform name="ios"> 
     <allow-intent href="itms:*" /> 
     <allow-intent href="itms-apps:*" /> 
     <icon height="29" src="res/ios/icon-29.png" width="29" /> 
     <icon height="40" src="res/ios/icon-40.png" width="40" /> 
     <icon height="80" src="res/ios/icon-40-2x.png" width="80" /> 
     <icon height="50" src="res/ios/icon-50.png" width="50" /> 
     <icon height="57" src="res/ios/icon-57.png" width="57" /> 
     <icon height="58" src="res/ios/icon-58.png" width="58" /> 
     <icon height="114" src="res/ios/[email protected]" width="114" /> 
     <icon height="116" src="res/ios/[email protected]" width="116" /> 
     <icon height="120" src="res/ios/[email protected]" width="120" /> 
     <icon height="180" src="res/ios/[email protected]" width="180" /> 
     <icon height="60" src="res/ios/icon-60.png" width="60" /> 
     <icon height="120" src="res/ios/icon-60-2x.png" width="120" /> 
     <icon height="72" src="res/ios/icon-72.png" width="72" /> 
     <icon height="144" src="res/ios/[email protected]" width="144" /> 
     <icon height="76" src="res/ios/icon-76.png" width="76" /> 
     <icon height="87" src="res/ios/[email protected]" width="87" /> 
     <icon height="152" src="res/ios/[email protected]" width="152" /> 
     <icon height="100" src="res/ios/[email protected]" width="100" /> 
     <splash height="480" src="res/screen/ios/launch_iPh4x3-480.png" width="320" /> 
     <splash height="960" src="res/screen/ios/[email protected]" width="640" /> 
     <splash height="1136" src="res/screen/ios/launch_iPh5-1136.png" width="640" /> 
     <splash height="1334" src="res/screen/ios/launch_iPh6-1334.png" width="750" /> 
     <splash height="2208" src="res/screen/ios/launch_iPh6p-2208.png" width="1242" /> 
    </platform> 
    <engine name="browser" spec="~4.1.0" /> 
    <engine name="ios" spec="~4.3.1" /> 
    <plugin name="cordova-plugin-camera" spec="~2.3.1"> 
     <variable name="CAMERA_USAGE_DESCRIPTION" value=" " /> 
     <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value=" " /> 
    </plugin> 
    <plugin name="cordova-plugin-file-transfer" spec="~1.6.1" /> 
    <plugin name="cordova-plugin-file" spec="~4.3.1" /> 
    <plugin name="cordova-plugin-google-analytics" spec="~1.7.4" /> 
    <plugin name="cordova-plugin-whitelist" spec="~1.3.1" /> 
    <plugin name="cordova-plugin-badge" spec="~0.7.4" /> 
    <plugin name="cordova-plugin-device" spec="~1.1.3" /> 
    <plugin name="cordova-plugin-network-information" spec="~1.3.0" /> 
    <plugin name="cordova-plugin-statusbar" spec="~2.2.0" /> 
    <plugin name="cordova-plugin-splashscreen" spec="~4.0.0" /> 
    <plugin name="phonegap-plugin-barcodescanner" spec="~6.0.3" /> 
    <plugin name="cordova-plugin-console" spec="~1.0.4" /> 
    <plugin name="cordova-plugin-dialogs" spec="~1.3.0" /> 
    <plugin name="cordova-sqlite-storage" spec="~1.5.0" /> 
    <plugin name="cordova-plugin-googlemaps" spec="~1.4.0"> 
     <variable name="API_KEY_FOR_IOS" value="my_google_key" /> 
     <variable name="NSLOCATIONWHENINUSEUSAGEDESCRIPTION" value="Show your location on the map" /> 
     <variable name="NSLOCATIONALWAYSUSAGEDESCRIPTION" value="Trace your location on the map" /> 
    </plugin> 
</widget> 
+0

問題の原因を確認できましたか? – sebaferreras

答えて

0

あなたのiOSのクラッシュログをチェックしてみてください。ウィンドウをオーガナイザする

~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>

または

のXcode> [ウィンドウ]> [オーガナイザー]> [デバイス]タブ> [デバイスログ

ショートカットcmd-ですシフト-2。

関連する問題