2016-09-30 16 views
1

私のアプリをビルドしようとしていますが、新しいアップデートからプラグインを見つけることができません。私はconfigsを使ってトラックを失い始めています私がやっていることの私は、フォルダ内のすべての私のプラグインを持っている:PhonegapプラグインとXcodeが設定で見つかりません

enter image description here

と私の設定ファイルで:

<?xml version='1.0' encoding='utf-8'?> 
<widget id="com.mycom" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"> 
    <name>Hilton Smythe</name> 
    <description> 
     Hilton Smythe Consultancy App 
    </description> 
    <author email="[email protected]" href="http://whatever.com"> 
     HiltonSmythe Web Team 
    </author> 
    <content src="index.html" /> 
    <plugin name="cordova-plugin-whitelist" source="npm" spec="1.1.0" /> 
    <plugin name="org.wbt11a.nativecamera" source="pgb" spec="0.1.4" /> 
    <allow-navigation href="*" /> 
    <allow-intent href="*" /> 
    <access origin="*" /> 
    <preference name="permissions" value="none" /> 
    <preference name="orientation" value="default" /> 
    <preference name="target-device" value="universal" /> 
    <preference name="fullscreen" value="true" /> 
    <preference name="webviewbounce" value="true" /> 
    <preference name="prerendered-icon" value="true" /> 
    <preference name="stay-in-webview" value="false" /> 
    <preference name="ios-statusbarstyle" value="black-opaque" /> 
    <preference name="detect-data-types" value="true" /> 
    <preference name="exit-on-suspend" value="false" /> 
    <preference name="show-splash-screen-spinner" value="true" /> 
    <preference name="auto-hide-splash-screen" value="true" /> 
    <preference name="disable-cursor" value="false" /> 
    <preference name="android-minSdkVersion" value="14" /> 
    <preference name="android-installLocation" value="auto" /> 
    <preference name="SplashScreen" value="screen" /> 
    <preference name="SplashScreenDelay" value="3000" /> 
    <plugin name="org.apache.cordova.battery-status" /> 
    <plugin name="org.apache.cordova.camera" /> 
    <plugin name="org.apache.cordova.media-capture" /> 
    <plugin name="org.wbt11a.nativecamera" source="pgb" spec="0.1.4" /> 
    <plugin name="org.apache.cordova.console" /> 
    <plugin name="org.apache.cordova.contacts" /> 
    <plugin name="org.apache.cordova.device" /> 
    <plugin name="org.apache.cordova.device-motion" /> 
    <plugin name="org.apache.cordova.device-orientation" /> 
    <plugin name="org.apache.cordova.dialogs" /> 
    <plugin name="org.apache.cordova.file" /> 
    <plugin name="org.apache.cordova.file-transfer" /> 
    <plugin name="org.apache.cordova.geolocation" /> 
    <plugin name="org.apache.cordova.globalization" /> 
    <plugin name="org.apache.cordova.inappbrowser" /> 
    <plugin name="org.apache.cordova.media" /> 
    <plugin name="org.apache.cordova.network-information" /> 
    <plugin name="org.apache.cordova.splashscreen" /> 
    <plugin name="org.apache.cordova.vibration" /> 

が多いが、全体の設定

を投稿する必要があるとは思いません

私はコルドバのプラットフォームを実行して、私はちょうどこれらのエラーを取得するのiOSを追加します。

Discovered plugin "org.apache.cordova.geolocation" in config.xml. Adding it to the project Failed to restore plugin "org.apache.cordova.geolocation" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.geolocation Discovered plugin "org.apache.cordova.globalization" in config.xml. Adding it to the project Failed to restore plugin "org.apache.cordova.globalization" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.globalization Discovered plugin "org.apache.cordova.inappbrowser" in config.xml. Adding it to the project Failed to restore plugin "org.apache.cordova.inappbrowser" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.inappbrowser Discovered plugin "org.apache.cordova.media" in config.xml. Adding it to the project Failed to restore plugin "org.apache.cordova.media" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.media Discovered plugin "org.apache.cordova.network-information" in config.xml. Adding it to the project Failed to restore plugin "org.apache.cordova.network-information" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.network-information Discovered plugin "org.apache.cordova.splashscreen" in config.xml. Adding it to the project Failed to restore plugin "org.apache.cordova.splashscreen" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.splashscreen Discovered plugin "org.apache.cordova.vibration" in config.xml. Adding it to the project Failed to restore plugin "org.apache.cordova.vibration" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.vibration

私は明らかに間違って何かをしていますか?

答えて

0

私が想定しているコードバージョンを更新しました。 プラグインの名前は、Cordova 5.0以降に変更されました。あなたは、新しいレジストリ(npmjs.org)を使用しているが、古いプラグインの名前は:cordova-plugin-inappbrowser

org.apache.cordova.inappbrowser

のように、新しい命名規則でプラグインを再度追加します

関連する問題