Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Phonegap Build error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Phonegap Build error

    HI everyone.

    Today i try to update a new app to phonegap but i got fail for IOS and Android.What makes me more puzzled i dont have this issues before.Previously I`m using cli-6.3.0 . Since it return me error and did not build the app i upgrade it to 6.5.0 but it still fail..Can anyone help me with this. I`ve even try to change the plugin version but still return error. I need to fix this ASAP.

    Below is my config.xml.


    <?xml version='1.0' encoding='utf-8'?>
    <widget id="com.poi.poi2u" version="0.0.1" versionCode="1" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
    <name>POI2U</name>
    <description>
    For POI purpose
    </description>
    <author email="" href="">
    POGT 2016
    </author>
    <feature name="http://api.phonegap.com/1.0/device" />
    <preference name="permissions" value="" />
    <preference name="orientation" value="default" />
    <preference name="target-device" value="universal" />
    <preference name="fullscreen" value="false" />
    <preference name="webviewbounce" value="true" />
    <preference name="prerendered-icon" value="true" />
    <preference name="stay-in-webview" value="false" />
    <preference name="ios-statusbarstyle" value="default" />
    <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="internalOnly" />
    <preference name="phonegap-version" value="cli-6.5.0" />
    <preference name="FadeSplashScreen" value="true" />
    <preference name="FadeSplashScreenDuration" value="2" />
    <preference name="EnableViewportScale" value="false" />
    <preference name="MediaPlaybackRequiresUserAction" value="true" />
    <preference name="AllowInlineMediaPlayback" value="false" />
    <preference name="TopActivityIndicator" value="gray" />
    <preference name="BackupWebStorage" value="none" />
    <preference name="iosPersistentFileLocation" value="Library" />
    <preference name="KeyboardDisplayRequiresUserAction" value="false" />
    <preference name="SurpressesIncrementalRendering" value="true" />
    <preference name="android-maxSdkVersion" value="" />
    <preference name="android-targetSdkVersion" value="" />
    <preference name="KeepRunning" value="true" />
    <preference name="splash-screen-duration" value="5000" />
    <preference name="ErrorUrl" value="error.html" />
    <preference name="LoadingDialog" value="Please wait, the app is loading." />
    <preference name="LoadingPageDialog" value="Please wait, the data is loading." />
    <preference name="LoadUrlTimeoutValue" value="20000" />
    <preference name="AndroidPersistentFileLocation" value="Internal" />
    <preference name="android-build-tool" value="gradle" />
    <icon src="icon.png" />
    <splash src="splash.png" />
    <splash platform="ios" height="1136" src="res/screen/ios/screen-iphone-portrait-568h-2x.png" width="640" />
    <icon platform="android" qualifier="ldpi" src="res/icon/android/icon-36-ldpi.png" />
    <icon platform="android" qualifier="mdpi" src="res/icon/android/icon-48-mdpi.png" />
    <icon platform="android" qualifier="hdpi" src="res/icon/android/icon-72-hdpi.png" />
    <icon platform="android" qualifier="xhdpi" src="res/icon/android/icon-96-xhdpi.png" />
    <icon platform="android" qualifier="xxhdpi" src="res/icon/android/icon-144-xxhdpi.png" />
    <icon platform="ios" src="res/icon/ios/icon-small.png" width="29" height="29" />
    <icon platform="ios" src="res/icon/ios/icon-40.png" width="40" height="40" />
    <icon platform="ios" src="res/icon/ios/icon-50.png" width="50" height="50" />
    <icon platform="ios" src="res/icon/ios/icon-57.png" width="57" height="57" />
    <icon platform="ios" src="res/icon/ios/icon-60.png" width="60" height="60" />
    <icon platform="ios" src="res/icon/ios/icon-72.png" width="72" height="72" />
    <icon platform="ios" src="res/icon/ios/icon-76.png" width="76" height="76" />
    <icon platform="ios" src="res/icon/ios/icon-small-2x.png" width="58" height="58" />
    <icon platform="ios" src="res/icon/ios/icon-40-2x.png" width="80" height="80" />
    <icon platform="ios" src="res/icon/ios/icon-50-2x.png" width="100" height="100" />
    <icon platform="ios" src="res/icon/ios/icon-57-2x.png" width="114" height="114" />
    <icon platform="ios" src="res/icon/ios/icon-60-2x.png" width="120" height="120" />
    <icon platform="ios" src="res/icon/ios/icon-72-2x.png" width="144" height="144" />
    <icon platform="ios" src="res/icon/ios/icon-76-2x.png" width="152" height="152" />
    <icon platform="ios" src="res/icon/ios/icon-60-3x.png" width="180" height="180" />
    <!-- Windows Phone 8 -->
    <icon platform="winphone" src="res/icon/windows-phone/icon-48.png" />
    <icon platform="winphone" src="res/icon/windows-phone/icon-62-tile.png" role="background" />
    <!-- Windows Phone 8.1+ -->
    <icon platform="winphone" src="res/icon/windows-phone/square44x44logo.scale-100.png" width="44" height="44"/>
    <icon platform="winphone" src="res/icon/windows-phone/square44x44logo.scale-240.png" width="106" height="106"/>
    <icon platform="winphone" src="res/icon/windows-phone/square150x150logo.scale-100.png" width="150" height="150"/>
    <icon platform="winphone" src="res/icon/windows-phone/square150x150logo.scale-240.png" width="360" height="360"/>
    <icon platform="winphone" src="res/icon/windows-phone/square71x71logo.scale-100.png" width="71" height="71"/>
    <icon platform="winphone" src="res/icon/windows-phone/square71x71logo.scale-240.png" width="170" height="170"/>
    <!-- Launch images / splash screens -->
    <splash platform="android" qualifier="port-ldpi" src="res/screen/android/screen-ldpi-portrait.png" />
    <splash platform="android" qualifier="port-mdpi" src="res/screen/android/screen-mdpi-portrait.png" />
    <splash platform="android" qualifier="port-hdpi" src="res/screen/android/screen-hdpi-portrait.png" />
    <splash platform="android" qualifier="port-xhdpi" src="res/screen/android/screen-xhdpi-portrait.png" />
    <splash platform="android" qualifier="port-xhdpi" src="res/screen/android/screen-xhdpi-n7-portrait.png" />
    <splash platform="android" qualifier="port-xxhdpi" src="res/screen/android/screen-xxhdpi-portrait.png" />
    <splash platform="android" qualifier="port-xxhdpi" src="res/screen/android/screen-xxhdpi-n7-portrait.png" />
    <splash platform="android" qualifier="land-xxhdpi" src="res/screen/android/screen-xxhdpi-n7-landscape.png" width="1920" height="1200" />
    <splash platform="android" qualifier="land-xxhdpi" src="res/screen/android/screen-xxhdpi-landscape.png" width="1920" height="1080" />
    <splash platform="android" qualifier="land-xhdpi" src="res/screen/android/screen-xhdpi-n7-landscape.png" width="1280" height="800" />
    <splash platform="android" qualifier="land-xhdpi" src="res/screen/android/screen-xhdpi-landscape.png" width="1280" height="720" />
    <splash platform="android" qualifier="land-hdpi" src="res/screen/android/screen-hdpi-landscape.png" width ="800" height="480" />
    <splash platform="android" qualifier="land-mdpi" src="res/screen/android/screen-mdpi-landscape.png" width="480" height="320" />
    <splash platform="android" qualifier="land-ldpi" src="res/screen/android/screen-ldpi-landscape.png" width="320" height="200" />
    <!-- iPhone and iPod Touch -->
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait.png" width="320" height="480" />
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-2x.png" width="640" height="960" />
    <!-- iPhone 5 and iPod Touch (5th generation) -->
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-568h-2x.png" width="640" height="1136" />
    <!-- iPhone 6 -->
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-667h-2x.png" width="750" height="1334" />
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-736h-3x.png" width="1242" height="2208" />
    <!-- iPad -->
    <splash platform="ios" src="res/screen/ios/screen-ipad-portrait.png" width="768" height="1024" />
    <splash platform="ios" src="res/screen/ios/screen-ipad-landscape.png" width="1024" height="768" />
    <!-- Retina iPad -->
    <splash platform="ios" src="res/screen/ios/screen-ipad-portrait-2x.png" width="1536" height="2048" />
    <splash platform="ios" src="res/screen/ios/screen-ipad-landscape-2x.png" width="2048" height="1536" />
    <!-- Windows 8 -->
    <splash platform="winphone" src="res/screen/windows-phone/screen-portrait.jpg" />
    <!-- Windows 8.1 -->
    <splash platform="winphone" src ="res/screen/windows-phone/screen.scale-240.png" />
    <access origin="*" />
    <allow-navigation href="http://*/*" />
    <allow-navigation href="https://*/*" />
    <allow-navigation href="data:*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <platform name="ios" />
    <platform name="android" />
    <feature name="http://api.phonegap.com/1.0/file" />
    <feature name="http://api.phonegap.com/1.0/network" />
    <plugin name="cordova-plugin-console" source="npm" />
    <plugin name="cordova-plugin-device" source="npm" />
    <plugin name="cordova-plugin-device-motion" source="npm" />
    <plugin name="cordova-plugin-device-orientation" source="npm" />
    <plugin name="cordova-plugin-file" source="npm" />
    <plugin name="cordova-plugin-network-information" source="npm" />
    <plugin name="cordova-plugin-splashscreen" source="npm" />

    <plugin name="cordova-plugin-spinnerdialog" source="npm" />
    <plugin name="cordova-plugin-whitelist" source="npm" />

    <plugin name="ionic-plugin-keyboard" source="npm" />
    <plugin name="com.peerio.cordova.plugin.privacyscreen" spec="1.0.2" source="npm" />
    <plugin name="cordova-plugin-blurred-snapshot" spec="0.1.3" source="npm" />
    <plugin name="cordova-privacy-screen-plugin-mra" spec="0.3.1" source="npm" />
    <plugin spec="https://github.com/lifeofcoding/cordova-blur-app-privacy-screen.git" source="npm" />
    <plugin spec="https://github.com/ti8m/DocumentHandler.git" source="git" />



    <plugin name="cordova-plugin-dialogs" source="npm" />
    <plugin name="cordova-plugin-file-transfer" source="npm" version="1.5.1" />
    <plugin name="cordova-plugin-datepicker" source="npm" />
    <plugin name="cordova-plugin-file-opener2-base64" source="npm" />
    <plugin name="cordova-plugin-image-picker" source="npm" />
    <plugin name="cordova-plugin-native-transitions" source="npm" />
    <plugin name="de.appplant.cordova.plugin.printer" source="npm" />
    <plugin name="pushwoosh-pgb-plugin" source="npm" />

    <gap:config-file platform="ios" parent="UIBackgroundModes" overwrite="true">
    <array>
    <string>location</string>
    </array>
    </gap:config-file>


    <gap:config-file platform="ios" parent="NSLocationAlwaysUsageDescription">
    <string>This app uses location services for use with push notifications.</string>
    </gap:config-file>

    <plugin name="cordova-plugin-blurred-snapshot" source="npm" />
    <plugin name="cordova-privacy-screen-plugin-mra" source="npm" />
    <plugin name="com.peerio.cordova.plugin.privacyscreen" source="npm" />
    <plugin name="cordova-plugin-statusbar" source="npm" />
    <plugin name="cordova-plugin-x-toast" source="npm" />
    <plugin name="phonegap-plugin-push" source="npm" />
    <plugin spec="https://github.com/ti8m/DocumentHandler" source="git" />

    <plugin name="cordova-open" source="npm" />
    <plugin name="cordova-plugin-inappbrowser" source="npm" />
    </widget>

    #2
    Re: Phonegap Build error

    Originally posted by [email protected] View Post
    HI everyone.

    Today i try to update a new app to phonegap but i got fail for IOS and Android.What makes me more puzzled i dont have this issues before.Previously I`m using cli-6.3.0 . Since it return me error and did not build the app i upgrade it to 6.5.0 but it still fail..Can anyone help me with this. I`ve even try to change the plugin version but still return error. I need to fix this ASAP.

    Below is my config.xml.


    <?xml version='1.0' encoding='utf-8'?>
    <widget id="com.poi.poi2u" version="0.0.1" versionCode="1" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
    <name>POI2U</name>
    <description>
    For POI purpose
    </description>
    <author email="" href="">
    POGT 2016
    </author>
    <feature name="http://api.phonegap.com/1.0/device" />
    <preference name="permissions" value="" />
    <preference name="orientation" value="default" />
    <preference name="target-device" value="universal" />
    <preference name="fullscreen" value="false" />
    <preference name="webviewbounce" value="true" />
    <preference name="prerendered-icon" value="true" />
    <preference name="stay-in-webview" value="false" />
    <preference name="ios-statusbarstyle" value="default" />
    <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="internalOnly" />
    <preference name="phonegap-version" value="cli-6.5.0" />
    <preference name="FadeSplashScreen" value="true" />
    <preference name="FadeSplashScreenDuration" value="2" />
    <preference name="EnableViewportScale" value="false" />
    <preference name="MediaPlaybackRequiresUserAction" value="true" />
    <preference name="AllowInlineMediaPlayback" value="false" />
    <preference name="TopActivityIndicator" value="gray" />
    <preference name="BackupWebStorage" value="none" />
    <preference name="iosPersistentFileLocation" value="Library" />
    <preference name="KeyboardDisplayRequiresUserAction" value="false" />
    <preference name="SurpressesIncrementalRendering" value="true" />
    <preference name="android-maxSdkVersion" value="" />
    <preference name="android-targetSdkVersion" value="" />
    <preference name="KeepRunning" value="true" />
    <preference name="splash-screen-duration" value="5000" />
    <preference name="ErrorUrl" value="error.html" />
    <preference name="LoadingDialog" value="Please wait, the app is loading." />
    <preference name="LoadingPageDialog" value="Please wait, the data is loading." />
    <preference name="LoadUrlTimeoutValue" value="20000" />
    <preference name="AndroidPersistentFileLocation" value="Internal" />
    <preference name="android-build-tool" value="gradle" />
    <icon src="icon.png" />
    <splash src="splash.png" />
    <splash platform="ios" height="1136" src="res/screen/ios/screen-iphone-portrait-568h-2x.png" width="640" />
    <icon platform="android" qualifier="ldpi" src="res/icon/android/icon-36-ldpi.png" />
    <icon platform="android" qualifier="mdpi" src="res/icon/android/icon-48-mdpi.png" />
    <icon platform="android" qualifier="hdpi" src="res/icon/android/icon-72-hdpi.png" />
    <icon platform="android" qualifier="xhdpi" src="res/icon/android/icon-96-xhdpi.png" />
    <icon platform="android" qualifier="xxhdpi" src="res/icon/android/icon-144-xxhdpi.png" />
    <icon platform="ios" src="res/icon/ios/icon-small.png" width="29" height="29" />
    <icon platform="ios" src="res/icon/ios/icon-40.png" width="40" height="40" />
    <icon platform="ios" src="res/icon/ios/icon-50.png" width="50" height="50" />
    <icon platform="ios" src="res/icon/ios/icon-57.png" width="57" height="57" />
    <icon platform="ios" src="res/icon/ios/icon-60.png" width="60" height="60" />
    <icon platform="ios" src="res/icon/ios/icon-72.png" width="72" height="72" />
    <icon platform="ios" src="res/icon/ios/icon-76.png" width="76" height="76" />
    <icon platform="ios" src="res/icon/ios/icon-small-2x.png" width="58" height="58" />
    <icon platform="ios" src="res/icon/ios/icon-40-2x.png" width="80" height="80" />
    <icon platform="ios" src="res/icon/ios/icon-50-2x.png" width="100" height="100" />
    <icon platform="ios" src="res/icon/ios/icon-57-2x.png" width="114" height="114" />
    <icon platform="ios" src="res/icon/ios/icon-60-2x.png" width="120" height="120" />
    <icon platform="ios" src="res/icon/ios/icon-72-2x.png" width="144" height="144" />
    <icon platform="ios" src="res/icon/ios/icon-76-2x.png" width="152" height="152" />
    <icon platform="ios" src="res/icon/ios/icon-60-3x.png" width="180" height="180" />
    <!-- Windows Phone 8 -->
    <icon platform="winphone" src="res/icon/windows-phone/icon-48.png" />
    <icon platform="winphone" src="res/icon/windows-phone/icon-62-tile.png" role="background" />
    <!-- Windows Phone 8.1+ -->
    <icon platform="winphone" src="res/icon/windows-phone/square44x44logo.scale-100.png" width="44" height="44"/>
    <icon platform="winphone" src="res/icon/windows-phone/square44x44logo.scale-240.png" width="106" height="106"/>
    <icon platform="winphone" src="res/icon/windows-phone/square150x150logo.scale-100.png" width="150" height="150"/>
    <icon platform="winphone" src="res/icon/windows-phone/square150x150logo.scale-240.png" width="360" height="360"/>
    <icon platform="winphone" src="res/icon/windows-phone/square71x71logo.scale-100.png" width="71" height="71"/>
    <icon platform="winphone" src="res/icon/windows-phone/square71x71logo.scale-240.png" width="170" height="170"/>
    <!-- Launch images / splash screens -->
    <splash platform="android" qualifier="port-ldpi" src="res/screen/android/screen-ldpi-portrait.png" />
    <splash platform="android" qualifier="port-mdpi" src="res/screen/android/screen-mdpi-portrait.png" />
    <splash platform="android" qualifier="port-hdpi" src="res/screen/android/screen-hdpi-portrait.png" />
    <splash platform="android" qualifier="port-xhdpi" src="res/screen/android/screen-xhdpi-portrait.png" />
    <splash platform="android" qualifier="port-xhdpi" src="res/screen/android/screen-xhdpi-n7-portrait.png" />
    <splash platform="android" qualifier="port-xxhdpi" src="res/screen/android/screen-xxhdpi-portrait.png" />
    <splash platform="android" qualifier="port-xxhdpi" src="res/screen/android/screen-xxhdpi-n7-portrait.png" />
    <splash platform="android" qualifier="land-xxhdpi" src="res/screen/android/screen-xxhdpi-n7-landscape.png" width="1920" height="1200" />
    <splash platform="android" qualifier="land-xxhdpi" src="res/screen/android/screen-xxhdpi-landscape.png" width="1920" height="1080" />
    <splash platform="android" qualifier="land-xhdpi" src="res/screen/android/screen-xhdpi-n7-landscape.png" width="1280" height="800" />
    <splash platform="android" qualifier="land-xhdpi" src="res/screen/android/screen-xhdpi-landscape.png" width="1280" height="720" />
    <splash platform="android" qualifier="land-hdpi" src="res/screen/android/screen-hdpi-landscape.png" width ="800" height="480" />
    <splash platform="android" qualifier="land-mdpi" src="res/screen/android/screen-mdpi-landscape.png" width="480" height="320" />
    <splash platform="android" qualifier="land-ldpi" src="res/screen/android/screen-ldpi-landscape.png" width="320" height="200" />
    <!-- iPhone and iPod Touch -->
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait.png" width="320" height="480" />
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-2x.png" width="640" height="960" />
    <!-- iPhone 5 and iPod Touch (5th generation) -->
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-568h-2x.png" width="640" height="1136" />
    <!-- iPhone 6 -->
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-667h-2x.png" width="750" height="1334" />
    <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-736h-3x.png" width="1242" height="2208" />
    <!-- iPad -->
    <splash platform="ios" src="res/screen/ios/screen-ipad-portrait.png" width="768" height="1024" />
    <splash platform="ios" src="res/screen/ios/screen-ipad-landscape.png" width="1024" height="768" />
    <!-- Retina iPad -->
    <splash platform="ios" src="res/screen/ios/screen-ipad-portrait-2x.png" width="1536" height="2048" />
    <splash platform="ios" src="res/screen/ios/screen-ipad-landscape-2x.png" width="2048" height="1536" />
    <!-- Windows 8 -->
    <splash platform="winphone" src="res/screen/windows-phone/screen-portrait.jpg" />
    <!-- Windows 8.1 -->
    <splash platform="winphone" src ="res/screen/windows-phone/screen.scale-240.png" />
    <access origin="*" />
    <allow-navigation href="http://*/*" />
    <allow-navigation href="https://*/*" />
    <allow-navigation href="data:*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <platform name="ios" />
    <platform name="android" />
    <feature name="http://api.phonegap.com/1.0/file" />
    <feature name="http://api.phonegap.com/1.0/network" />
    <plugin name="cordova-plugin-console" source="npm" />
    <plugin name="cordova-plugin-device" source="npm" />
    <plugin name="cordova-plugin-device-motion" source="npm" />
    <plugin name="cordova-plugin-device-orientation" source="npm" />
    <plugin name="cordova-plugin-file" source="npm" />
    <plugin name="cordova-plugin-network-information" source="npm" />
    <plugin name="cordova-plugin-splashscreen" source="npm" />

    <plugin name="cordova-plugin-spinnerdialog" source="npm" />
    <plugin name="cordova-plugin-whitelist" source="npm" />

    <plugin name="ionic-plugin-keyboard" source="npm" />
    <plugin name="com.peerio.cordova.plugin.privacyscreen" spec="1.0.2" source="npm" />
    <plugin name="cordova-plugin-blurred-snapshot" spec="0.1.3" source="npm" />
    <plugin name="cordova-privacy-screen-plugin-mra" spec="0.3.1" source="npm" />
    <plugin spec="https://github.com/lifeofcoding/cordova-blur-app-privacy-screen.git" source="npm" />
    <plugin spec="https://github.com/ti8m/DocumentHandler.git" source="git" />



    <plugin name="cordova-plugin-dialogs" source="npm" />
    <plugin name="cordova-plugin-file-transfer" source="npm" version="1.5.1" />
    <plugin name="cordova-plugin-datepicker" source="npm" />
    <plugin name="cordova-plugin-file-opener2-base64" source="npm" />
    <plugin name="cordova-plugin-image-picker" source="npm" />
    <plugin name="cordova-plugin-native-transitions" source="npm" />
    <plugin name="de.appplant.cordova.plugin.printer" source="npm" />
    <plugin name="pushwoosh-pgb-plugin" source="npm" />

    <gap:config-file platform="ios" parent="UIBackgroundModes" overwrite="true">
    <array>
    <string>location</string>
    </array>
    </gap:config-file>


    <gap:config-file platform="ios" parent="NSLocationAlwaysUsageDescription">
    <string>This app uses location services for use with push notifications.</string>
    </gap:config-file>

    <plugin name="cordova-plugin-blurred-snapshot" source="npm" />
    <plugin name="cordova-privacy-screen-plugin-mra" source="npm" />
    <plugin name="com.peerio.cordova.plugin.privacyscreen" source="npm" />
    <plugin name="cordova-plugin-statusbar" source="npm" />
    <plugin name="cordova-plugin-x-toast" source="npm" />
    <plugin name="phonegap-plugin-push" source="npm" />
    <plugin spec="https://github.com/ti8m/DocumentHandler" source="git" />

    <plugin name="cordova-open" source="npm" />
    <plugin name="cordova-plugin-inappbrowser" source="npm" />
    </widget>
    and this is the log file for android




    Build Date: 2017-11-13 07:59:36 +0000
    --------------------------------------------------------------------------------
    PLUGIN OUTPUT
    --------------------------------------------------------------------------------
    Fetching plugin "cordova-plugin-console" via npm
    Installing "cordova-plugin-console" at "1.1.0" for android
    Fetching plugin "cordova-plugin-device" via npm
    Installing "cordova-plugin-device" at "1.1.7" for android
    Fetching plugin "cordova-plugin-device-motion" via npm
    Installing "cordova-plugin-device-motion" at "2.0.0" for android

    [DEPRECATED] - cordova-plugin-device-motion
    With the W3C Device Motion and Orientation API now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Read more about the API at https://www.w3.org/TR/2016/CR-orient...vent-20160818/
    Fetching plugin "cordova-plugin-device-orientation" via npm
    Installing "cordova-plugin-device-orientation" at "2.0.0" for android

    [DEPRECATED] - cordova-plugin-device-orientation
    With the W3C Device Motion and Orientation API now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Read more about the API at https://www.w3.org/TR/2016/CR-orient...vent-20160818/
    Fetching plugin "cordova-plugin-file" via npm
    Installing "cordova-plugin-file" at "5.0.0" for android
    Plugin doesn't support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0
    Skipping 'cordova-plugin-file' for android
    Fetching plugin "cordova-plugin-network-information" via npm
    Installing "cordova-plugin-network-information" at "1.3.4" for android
    Fetching plugin "cordova-plugin-splashscreen" via npm
    Installing "cordova-plugin-splashscreen" at "4.1.0" for android
    Fetching plugin "cordova-plugin-spinnerdialog" via npm
    Installing "cordova-plugin-spinnerdialog" at "1.3.2" for android
    Fetching plugin "cordova-plugin-whitelist" via npm
    Installing "cordova-plugin-whitelist" at "1.3.3" for android

    This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
    Fetching plugin "ionic-plugin-keyboard" via npm
    Installing "ionic-plugin-keyboard" at "2.2.1" for android
    Fetching plugin "[email protected]" via npm
    Installing "com.peerio.cordova.plugin.privacyscreen" at "1.0.0" for android
    Fetching plugin "[email protected]" via npm
    Installing "cordova-plugin-blurred-snapshot" at "0.1.3" for android
    Fetching plugin "[email protected]" via npm
    Installing "cordova-privacy-screen-plugin-mra" at "0.3.1" for android
    Fetching plugin "https://github.com/lifeofcoding/cordova-blur-app-privacy-screen.git" via git clone
    Using shallow clone
    Repository "https://github.com/lifeofcoding/cordova-blur-app-privacy-screen.git" checked out to git ref "master" at "e9a6974".
    Installing "cordova-blur-app-privacy-screen" at "0.0.1" for android
    Fetching plugin "https://github.com/ti8m/DocumentHandler.git" via git clone
    Using shallow clone
    Repository "https://github.com/ti8m/DocumentHandler.git" checked out to git ref "master" at "f501154".
    Installing "ch.ti8m.documenthandler" at "0.2.2" for android
    Fetching plugin "cordova-plugin-dialogs" via npm
    Installing "cordova-plugin-dialogs" at "1.3.4" for android
    "plugman install --platform android --project /project --plugin [email protected]": Fetching plugin "[email protected]" via npm
    Installing "cordova-plugin-file-transfer" at "1.5.1" for android
    Failed to install 'cordova-plugin-file-transfer': CordovaError: Version of installed plugin: "[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-file@^4.0.0". Try --force to use installed plugin as dependency.
    at /.npm/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:581:33
    at _fulfilled (/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54)
    at self.promiseDispatch.done (/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30)
    at Promise.promise.promiseDispatch (/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13)
    at /.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:509:49
    at flush (/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:108:17)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    Version of installed plugin: "[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-file@^4.0.0". Try --force to use installed plugin as dependency.

    Comment


      #3
      Re: Phonegap Build error

      Originally posted by [email protected] View Post
      HI everyone.

      Today i try to update a new app to phonegap but i got fail for IOS and Android.What makes me more puzzled i dont have this issues before.Previously I`m using cli-6.3.0 . Since it return me error and did not build the app i upgrade it to 6.5.0 but it still fail..Can anyone help me with this. I`ve even try to change the plugin version but still return error. I need to fix this ASAP.

      Below is my config.xml.


      <?xml version='1.0' encoding='utf-8'?>
      <widget id="com.poi.poi2u" version="0.0.1" versionCode="1" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
      <name>POI2U</name>
      <description>
      For POI purpose
      </description>
      <author email="" href="">
      POGT 2016
      </author>
      <feature name="http://api.phonegap.com/1.0/device" />
      <preference name="permissions" value="" />
      <preference name="orientation" value="default" />
      <preference name="target-device" value="universal" />
      <preference name="fullscreen" value="false" />
      <preference name="webviewbounce" value="true" />
      <preference name="prerendered-icon" value="true" />
      <preference name="stay-in-webview" value="false" />
      <preference name="ios-statusbarstyle" value="default" />
      <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="internalOnly" />
      <preference name="phonegap-version" value="cli-6.5.0" />
      <preference name="FadeSplashScreen" value="true" />
      <preference name="FadeSplashScreenDuration" value="2" />
      <preference name="EnableViewportScale" value="false" />
      <preference name="MediaPlaybackRequiresUserAction" value="true" />
      <preference name="AllowInlineMediaPlayback" value="false" />
      <preference name="TopActivityIndicator" value="gray" />
      <preference name="BackupWebStorage" value="none" />
      <preference name="iosPersistentFileLocation" value="Library" />
      <preference name="KeyboardDisplayRequiresUserAction" value="false" />
      <preference name="SurpressesIncrementalRendering" value="true" />
      <preference name="android-maxSdkVersion" value="" />
      <preference name="android-targetSdkVersion" value="" />
      <preference name="KeepRunning" value="true" />
      <preference name="splash-screen-duration" value="5000" />
      <preference name="ErrorUrl" value="error.html" />
      <preference name="LoadingDialog" value="Please wait, the app is loading." />
      <preference name="LoadingPageDialog" value="Please wait, the data is loading." />
      <preference name="LoadUrlTimeoutValue" value="20000" />
      <preference name="AndroidPersistentFileLocation" value="Internal" />
      <preference name="android-build-tool" value="gradle" />
      <icon src="icon.png" />
      <splash src="splash.png" />
      <splash platform="ios" height="1136" src="res/screen/ios/screen-iphone-portrait-568h-2x.png" width="640" />
      <icon platform="android" qualifier="ldpi" src="res/icon/android/icon-36-ldpi.png" />
      <icon platform="android" qualifier="mdpi" src="res/icon/android/icon-48-mdpi.png" />
      <icon platform="android" qualifier="hdpi" src="res/icon/android/icon-72-hdpi.png" />
      <icon platform="android" qualifier="xhdpi" src="res/icon/android/icon-96-xhdpi.png" />
      <icon platform="android" qualifier="xxhdpi" src="res/icon/android/icon-144-xxhdpi.png" />
      <icon platform="ios" src="res/icon/ios/icon-small.png" width="29" height="29" />
      <icon platform="ios" src="res/icon/ios/icon-40.png" width="40" height="40" />
      <icon platform="ios" src="res/icon/ios/icon-50.png" width="50" height="50" />
      <icon platform="ios" src="res/icon/ios/icon-57.png" width="57" height="57" />
      <icon platform="ios" src="res/icon/ios/icon-60.png" width="60" height="60" />
      <icon platform="ios" src="res/icon/ios/icon-72.png" width="72" height="72" />
      <icon platform="ios" src="res/icon/ios/icon-76.png" width="76" height="76" />
      <icon platform="ios" src="res/icon/ios/icon-small-2x.png" width="58" height="58" />
      <icon platform="ios" src="res/icon/ios/icon-40-2x.png" width="80" height="80" />
      <icon platform="ios" src="res/icon/ios/icon-50-2x.png" width="100" height="100" />
      <icon platform="ios" src="res/icon/ios/icon-57-2x.png" width="114" height="114" />
      <icon platform="ios" src="res/icon/ios/icon-60-2x.png" width="120" height="120" />
      <icon platform="ios" src="res/icon/ios/icon-72-2x.png" width="144" height="144" />
      <icon platform="ios" src="res/icon/ios/icon-76-2x.png" width="152" height="152" />
      <icon platform="ios" src="res/icon/ios/icon-60-3x.png" width="180" height="180" />
      <!-- Windows Phone 8 -->
      <icon platform="winphone" src="res/icon/windows-phone/icon-48.png" />
      <icon platform="winphone" src="res/icon/windows-phone/icon-62-tile.png" role="background" />
      <!-- Windows Phone 8.1+ -->
      <icon platform="winphone" src="res/icon/windows-phone/square44x44logo.scale-100.png" width="44" height="44"/>
      <icon platform="winphone" src="res/icon/windows-phone/square44x44logo.scale-240.png" width="106" height="106"/>
      <icon platform="winphone" src="res/icon/windows-phone/square150x150logo.scale-100.png" width="150" height="150"/>
      <icon platform="winphone" src="res/icon/windows-phone/square150x150logo.scale-240.png" width="360" height="360"/>
      <icon platform="winphone" src="res/icon/windows-phone/square71x71logo.scale-100.png" width="71" height="71"/>
      <icon platform="winphone" src="res/icon/windows-phone/square71x71logo.scale-240.png" width="170" height="170"/>
      <!-- Launch images / splash screens -->
      <splash platform="android" qualifier="port-ldpi" src="res/screen/android/screen-ldpi-portrait.png" />
      <splash platform="android" qualifier="port-mdpi" src="res/screen/android/screen-mdpi-portrait.png" />
      <splash platform="android" qualifier="port-hdpi" src="res/screen/android/screen-hdpi-portrait.png" />
      <splash platform="android" qualifier="port-xhdpi" src="res/screen/android/screen-xhdpi-portrait.png" />
      <splash platform="android" qualifier="port-xhdpi" src="res/screen/android/screen-xhdpi-n7-portrait.png" />
      <splash platform="android" qualifier="port-xxhdpi" src="res/screen/android/screen-xxhdpi-portrait.png" />
      <splash platform="android" qualifier="port-xxhdpi" src="res/screen/android/screen-xxhdpi-n7-portrait.png" />
      <splash platform="android" qualifier="land-xxhdpi" src="res/screen/android/screen-xxhdpi-n7-landscape.png" width="1920" height="1200" />
      <splash platform="android" qualifier="land-xxhdpi" src="res/screen/android/screen-xxhdpi-landscape.png" width="1920" height="1080" />
      <splash platform="android" qualifier="land-xhdpi" src="res/screen/android/screen-xhdpi-n7-landscape.png" width="1280" height="800" />
      <splash platform="android" qualifier="land-xhdpi" src="res/screen/android/screen-xhdpi-landscape.png" width="1280" height="720" />
      <splash platform="android" qualifier="land-hdpi" src="res/screen/android/screen-hdpi-landscape.png" width ="800" height="480" />
      <splash platform="android" qualifier="land-mdpi" src="res/screen/android/screen-mdpi-landscape.png" width="480" height="320" />
      <splash platform="android" qualifier="land-ldpi" src="res/screen/android/screen-ldpi-landscape.png" width="320" height="200" />
      <!-- iPhone and iPod Touch -->
      <splash platform="ios" src="res/screen/ios/screen-iphone-portrait.png" width="320" height="480" />
      <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-2x.png" width="640" height="960" />
      <!-- iPhone 5 and iPod Touch (5th generation) -->
      <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-568h-2x.png" width="640" height="1136" />
      <!-- iPhone 6 -->
      <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-667h-2x.png" width="750" height="1334" />
      <splash platform="ios" src="res/screen/ios/screen-iphone-portrait-736h-3x.png" width="1242" height="2208" />
      <!-- iPad -->
      <splash platform="ios" src="res/screen/ios/screen-ipad-portrait.png" width="768" height="1024" />
      <splash platform="ios" src="res/screen/ios/screen-ipad-landscape.png" width="1024" height="768" />
      <!-- Retina iPad -->
      <splash platform="ios" src="res/screen/ios/screen-ipad-portrait-2x.png" width="1536" height="2048" />
      <splash platform="ios" src="res/screen/ios/screen-ipad-landscape-2x.png" width="2048" height="1536" />
      <!-- Windows 8 -->
      <splash platform="winphone" src="res/screen/windows-phone/screen-portrait.jpg" />
      <!-- Windows 8.1 -->
      <splash platform="winphone" src ="res/screen/windows-phone/screen.scale-240.png" />
      <access origin="*" />
      <allow-navigation href="http://*/*" />
      <allow-navigation href="https://*/*" />
      <allow-navigation href="data:*" />
      <allow-intent href="http://*/*" />
      <allow-intent href="https://*/*" />
      <platform name="ios" />
      <platform name="android" />
      <feature name="http://api.phonegap.com/1.0/file" />
      <feature name="http://api.phonegap.com/1.0/network" />
      <plugin name="cordova-plugin-console" source="npm" />
      <plugin name="cordova-plugin-device" source="npm" />
      <plugin name="cordova-plugin-device-motion" source="npm" />
      <plugin name="cordova-plugin-device-orientation" source="npm" />
      <plugin name="cordova-plugin-file" source="npm" />
      <plugin name="cordova-plugin-network-information" source="npm" />
      <plugin name="cordova-plugin-splashscreen" source="npm" />

      <plugin name="cordova-plugin-spinnerdialog" source="npm" />
      <plugin name="cordova-plugin-whitelist" source="npm" />

      <plugin name="ionic-plugin-keyboard" source="npm" />
      <plugin name="com.peerio.cordova.plugin.privacyscreen" spec="1.0.2" source="npm" />
      <plugin name="cordova-plugin-blurred-snapshot" spec="0.1.3" source="npm" />
      <plugin name="cordova-privacy-screen-plugin-mra" spec="0.3.1" source="npm" />
      <plugin spec="https://github.com/lifeofcoding/cordova-blur-app-privacy-screen.git" source="npm" />
      <plugin spec="https://github.com/ti8m/DocumentHandler.git" source="git" />



      <plugin name="cordova-plugin-dialogs" source="npm" />
      <plugin name="cordova-plugin-file-transfer" source="npm" version="1.5.1" />
      <plugin name="cordova-plugin-datepicker" source="npm" />
      <plugin name="cordova-plugin-file-opener2-base64" source="npm" />
      <plugin name="cordova-plugin-image-picker" source="npm" />
      <plugin name="cordova-plugin-native-transitions" source="npm" />
      <plugin name="de.appplant.cordova.plugin.printer" source="npm" />
      <plugin name="pushwoosh-pgb-plugin" source="npm" />

      <gap:config-file platform="ios" parent="UIBackgroundModes" overwrite="true">
      <array>
      <string>location</string>
      </array>
      </gap:config-file>


      <gap:config-file platform="ios" parent="NSLocationAlwaysUsageDescription">
      <string>This app uses location services for use with push notifications.</string>
      </gap:config-file>

      <plugin name="cordova-plugin-blurred-snapshot" source="npm" />
      <plugin name="cordova-privacy-screen-plugin-mra" source="npm" />
      <plugin name="com.peerio.cordova.plugin.privacyscreen" source="npm" />
      <plugin name="cordova-plugin-statusbar" source="npm" />
      <plugin name="cordova-plugin-x-toast" source="npm" />
      <plugin name="phonegap-plugin-push" source="npm" />
      <plugin spec="https://github.com/ti8m/DocumentHandler" source="git" />

      <plugin name="cordova-open" source="npm" />
      <plugin name="cordova-plugin-inappbrowser" source="npm" />
      </widget>
      and this the log file for IOS

      Build Date: 2017-11-12 23:59:46 -0800
      --------------------------------------------------------------------------------
      PLUGIN OUTPUT
      --------------------------------------------------------------------------------
      Fetching plugin "cordova-plugin-console" via npm
      Installing "cordova-plugin-console" at "1.1.0" for ios
      Fetching plugin "cordova-plugin-device" via npm
      Installing "cordova-plugin-device" at "1.1.7" for ios
      Fetching plugin "cordova-plugin-device-motion" via npm
      Installing "cordova-plugin-device-motion" at "2.0.0" for ios

      [DEPRECATED] - cordova-plugin-device-motion
      With the W3C Device Motion and Orientation API now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Read more about the API at https://www.w3.org/TR/2016/CR-orient...vent-20160818/
      Fetching plugin "cordova-plugin-device-orientation" via npm
      Installing "cordova-plugin-device-orientation" at "2.0.0" for ios

      [DEPRECATED] - cordova-plugin-device-orientation
      With the W3C Device Motion and Orientation API now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Read more about the API at https://www.w3.org/TR/2016/CR-orient...vent-20160818/
      Fetching plugin "cordova-plugin-file" via npm
      Installing "cordova-plugin-file" at "5.0.0" for ios
      Fetching plugin "cordova-plugin-network-information" via npm
      Installing "cordova-plugin-network-information" at "1.3.4" for ios
      Fetching plugin "cordova-plugin-splashscreen" via npm
      Installing "cordova-plugin-splashscreen" at "4.1.0" for ios
      Fetching plugin "cordova-plugin-spinnerdialog" via npm
      Installing "cordova-plugin-spinnerdialog" at "1.3.2" for ios
      Fetching plugin "cordova-plugin-whitelist" via npm
      Installing "cordova-plugin-whitelist" at "1.3.3" for ios
      Fetching plugin "ionic-plugin-keyboard" via npm
      Installing "ionic-plugin-keyboard" at "2.2.1" for ios
      Fetching plugin "[email protected]" via npm
      Installing "com.peerio.cordova.plugin.privacyscreen" at "1.0.0" for ios
      Fetching plugin "[email protected]" via npm
      Installing "cordova-plugin-blurred-snapshot" at "0.1.3" for ios
      Fetching plugin "[email protected]" via npm
      Installing "cordova-privacy-screen-plugin-mra" at "0.3.1" for ios
      Fetching plugin "https://github.com/lifeofcoding/cordova-blur-app-privacy-screen.git" via git clone
      Using shallow clone
      Repository "https://github.com/lifeofcoding/cordova-blur-app-privacy-screen.git" checked out to git ref "master" at "e9a6974".
      Installing "cordova-blur-app-privacy-screen" at "0.0.1" for ios
      Fetching plugin "https://github.com/ti8m/DocumentHandler.git" via git clone
      Using shallow clone
      Repository "https://github.com/ti8m/DocumentHandler.git" checked out to git ref "master" at "f501154".
      Installing "ch.ti8m.documenthandler" at "0.2.2" for ios
      Fetching plugin "cordova-plugin-dialogs" via npm
      Installing "cordova-plugin-dialogs" at "1.3.4" for ios
      "plugman install --platform ios --project /project --plugin [email protected]": Fetching plugin "[email protected]" via npm
      Installing "cordova-plugin-file-transfer" at "1.5.1" for ios
      Failed to install 'cordova-plugin-file-transfer': Error
      at /usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:581:33
      at _fulfilled (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13)
      at /usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:509:49
      at flush (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:108:17)
      at _combinedTickCallback (internal/process/next_tick.js:95:7)
      at process._tickCallback (internal/process/next_tick.js:161:9)
      Version of installed plugin: "[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-file@^4.0.0". Try --force to use installed plugin as dependency.

      Comment


        #4
        Re: Phonegap Build error

        Please help me with this.I`ve stuck with this for days. :'(

        Thank you in advance

        Comment


          #5
          Re: Phonegap Build error

          HI, I would try either set the file-transfer plugin to version 1.7.0 ( now 1.5.1 fixed ) OR downgrade the file plugin to 4.3.3

          Yours Ari

          Comment


            #6
            Re: Phonegap Build error

            I'm having similar problems although I'm using CLI 7.0.1 (cordova-android: 6.2.3). The PhoneGap Build logs say this for multiple plug-ins:
            Anyone know how to tell PhoneGap Build to use cordova-android: 6.3.0 (I don't see it in config.xml)

            Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
            Skipping 'cordova-plugin-geolocation' for android
            Fetching plugin "cordova-plugin-network-information" via npm
            Installing "cordova-plugin-network-information" at "1.3.4" for android
            Fetching plugin "cordova-plugin-dialogs" via npm
            Installing "cordova-plugin-dialogs" at "1.3.4" for android
            Fetching plugin "cordova-plugin-splashscreen" via npm
            Installing "cordova-plugin-splashscreen" at "4.1.0" for android
            Fetching plugin "cordova-open" via npm
            Installing "cordova-open" at "1.0.12" for android
            Fetching plugin "cordova-plugin-file" via npm
            Installing "cordova-plugin-file" at "5.0.0" for android
            Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
            Skipping 'cordova-plugin-file' for android
            Fetching plugin "cordova-plugin-file-transfer" via npm
            Installing "cordova-plugin-file-transfer" at "1.7.0" for android
            Plugin dependency "[email protected]" already fetched, using that version.
            Installing "cordova-plugin-file" at "5.0.0" for android
            Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
            Skipping 'cordova-plugin-file' for android

            Comment


              #7
              Re: Phonegap Build error

              HI,

              The CLI 7.0.1 won't help ( android version 6.2.3 ). The problem is in File and file transfer plugins. I got similar messages with CLI 6.5.0 and 6.3.0.

              I changed the file plugin to 4.3.3 AND file-tranfer to 1.5.1.

              File 5.0.0 plugin is only tree days old and it requires later version of than cli 7.0.1.

              Ari

              Comment


                #8
                Re: Phonegap Build error

                I was building fine on Friday night with CLI 7.0.1. And then this morning, the PhoneGap Builds are failing because of multiple plug-ins.

                On the Adobe forum, it seems that others are having the same type of problem this morning also (logs saying they need cordova-android: 6.3.0):
                https://forums.adobe.com/thread/2410942

                Comment


                  #9
                  Re: Phonegap Build error

                  Looks like changes to the cordova-plugin-file plugin have messed things up. Need to look into this further, but for now, use the prior version of that plugin. Your config.xml line for that plugin should be...

                  Code:
                  <plugin name="cordova-plugin-file" source="npm" version="4.3.3" />
                  4.3.3 is the version prior to 5.0.0... which was released on Nov. 6.

                  With 4.3.3 in place, builds under 7.0.1 and prior are ok.

                  On first look, it seems as if 5.0.0 doesn't like cordova-plugin-file-transfer 1.5.1. Versions after 1.5.1 had issues... so Alpha defaults to 1.5.1. Maybe those issues have been fixed... have to see.

                  Comment


                    #10
                    Re: Phonegap Build error

                    Good news is my android build is compiled when I change changed the file plugin to 4.3.3 AND file-tranfer to 1.5.1

                    <plugin name="cordova-plugin-file" source="npm" version="4.3.3"/>
                    <plugin name="cordova-plugin-file-transfer" source="npm" version="1.5.1" />

                    Bad news is , my IOS build still fail..Geez..Totally lost now..Why?
                    Last edited by [email protected]; 11-13-2017, 10:12 PM. Reason: spelling error

                    Comment


                      #11
                      Re: Phonegap Build error

                      Originally posted by [email protected] View Post
                      Good news is my android build is compiled when I change changed the file plugin to 4.3.3 AND file-tranfer to 1.5.1

                      <plugin name="cordova-plugin-file" source="npm" version="4.3.3"/>
                      <plugin name="cordova-plugin-file-transfer" source="npm" version="1.5.1" />

                      Bad news is , my IOS build still fail..Geez..Totally lost now..Why?
                      This is the last log of it
                      3 warnings generated.

                      Ld /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/armv7/POI2U normal armv7
                      cd /project
                      export IPHONEOS_DEPLOYMENT_TARGET=8.0
                      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk -L/project/build -L/project/POI2U/Plugins/pushwoosh-cordova-plugin -F/project/build -filelist /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/armv7/POI2U.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/armv7/POI2U_lto.o -fobjc-arc -fobjc-link-runtime -ObjC /project/build/libCordova.a -lz -framework CoreMotion -framework CoreLocation -weak_framework SystemConfiguration -framework CoreTelephony -framework QuartzCore -framework Accelerate -framework QuickLook -weak_framework AudioToolbox /project/POI2U/Plugins/pushwoosh-cordova-plugin/Pushwoosh -framework Security -framework Storekit -lstdc++ -lz -framework Foundation -Xlinker -dependency_info -Xlinker /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/armv7/POI2U_dependency_info.dat -o /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/armv7/POI2U

                      Ld /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/arm64/POI2U normal arm64
                      cd /project
                      export IPHONEOS_DEPLOYMENT_TARGET=8.0
                      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk -L/project/build -L/project/POI2U/Plugins/pushwoosh-cordova-plugin -F/project/build -filelist /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/arm64/POI2U.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/arm64/POI2U_lto.o -fobjc-arc -fobjc-link-runtime -ObjC /project/build/libCordova.a -lz -framework CoreMotion -framework CoreLocation -weak_framework SystemConfiguration -framework CoreTelephony -framework QuartzCore -framework Accelerate -framework QuickLook -weak_framework AudioToolbox /project/POI2U/Plugins/pushwoosh-cordova-plugin/Pushwoosh -framework Security -framework Storekit -lstdc++ -lz -framework Foundation -Xlinker -dependency_info -Xlinker /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/arm64/POI2U_dependency_info.dat -o /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/arm64/POI2U
                      ld: framework not found FileProvider for architecture arm64
                      clang: error: linker command failed with exit code 1 (use -v to see invocation)

                      ** ARCHIVE FAILED **


                      The following build commands failed:
                      Ld /Library/Developer/Xcode/DerivedData/POI2U-dzvdjwfkkcxlmdboedcsfhkdssmm/Build/Intermediates/ArchiveIntermediates/POI2U/IntermediateBuildFilesPath/POI2U.build/Release-iphoneos/POI2U.build/Objects-normal/arm64/POI2U normal arm64
                      (1 failure)
                      Error code 65 for command: xcodebuild with args: -xcconfig,/private/project/cordova/build-release.xcconfig,-workspace,POI2U.xcworkspace,-scheme,POI2U,-configuration,Release,-destination,generic/platform=iOS,-archivePath,POI2U.xcarchive,archive,CONFIGURATION_BUILD_DIR=/private/project/build/device,SHARED_PRECOMPS_DIR=/private/project/build/sharedpch

                      Comment


                        #12
                        Re: Phonegap Build error

                        The whole PhoneGap Build environment is in a state of flux/panic because of changes made to Cordova.

                        Bob Moore is updating the Alpha PhoneGap Build Builder to now include a version for each plugin. If you can wait until tomorrow morning, hopefully a new pre-release will be out.

                        With the pre-release in hand we can see what versions of plugins to use. This doesn't mean you'll need to use the pre-release... it just means that we'll know for certain which versions to set in existing config.xml files.

                        Comment


                          #13
                          Re: Phonegap Build error

                          Originally posted by Davidk View Post
                          The whole PhoneGap Build environment is in a state of flux/panic because of changes made to Cordova.

                          Bob Moore is updating the Alpha PhoneGap Build Builder to now include a version for each plugin. If you can wait until tomorrow morning, hopefully a new pre-release will be out.

                          With the pre-release in hand we can see what versions of plugins to use. This doesn't mean you'll need to use the pre-release... it just means that we'll know for certain which versions to set in existing config.xml files.
                          Glad to hear that..Will wait for it then.. But to fix this I still need to use the pre-release right? Or the official release will be out soon after that?

                          Comment


                            #14
                            Re: Phonegap Build error

                            No... you don't need the pre-release. We'll use the pre-release to find out what the plugin releases need to be used for PhoneGap Build. Then you can manually add in those versions to the config.xml of your project.
                            Last edited by Davidk; 11-14-2017, 02:47 AM.

                            Comment


                              #15
                              Re: Phonegap Build error

                              Originally posted by Davidk View Post
                              No... you don't need the pre-release. We'll use the pre-release to find out what the plugin releases need to be for PhoneGap Build. Then you can manually add in those versions to the config.xml of your project.
                              okay then..i will wait for the update

                              Comment

                              Working...
                              X