mosabab commented on issue #113:
URL: https://github.com/apache/cordova-fetch/issues/113#issuecomment-1533890876

   This the code I run on Terminal of macOS:
   
   ```
   Last login: Thu May  4 02:44:48 on ttys000
   mosabab@Mosabs-MacBook-Pro ~ % cd desktop
   mosabab@Mosabs-MacBook-Pro desktop % cd app-tests
   mosabab@Mosabs-MacBook-Pro app-tests % sudo cordova platform add ios 
--verbose
   Password:
   No scripts found for hook "before_platform_add".
   No version supplied. Retrieving version from config.xml...
   Using cordova-fetch for 
cordova-ios@https://github.com/apache/cordova-ios.git#6.3.0
   fetch: Installing 
cordova-ios@https://github.com/apache/cordova-ios.git#6.3.0 to 
/Users/mosabab/Desktop/app-tests
   Running command: npm install 
cordova-ios@https://github.com/apache/cordova-ios.git#6.3.0 --save-dev
   Command finished with error code 0: npm 
install,cordova-ios@https://github.com/apache/cordova-ios.git#6.3.0,--save-dev
   Removing "cordova-" prefix from cordova-ios
   Adding ios project...
   Loaded API for ios project 
/Users/mosabab/Desktop/app-tests/node_modules/cordova-ios
   Creating Cordova project for the iOS platform:
        Path: platforms/ios
        Package: com.test
        Name: Test
   Copying iOS template project to 
/Users/mosabab/Desktop/app-tests/platforms/ios
   iOS project created with cordova-ios@6.3.0
   Loaded API for ios project 
/Users/mosabab/Desktop/app-tests/platforms/ios/cordova/Api.js
   Generating platform-specific config.xml from defaults for iOS at 
/Users/mosabab/Desktop/app-tests/platforms/ios/Test/config.xml
   Merging project's config.xml into platform-specific iOS config.xml
   Merging and updating files from [www, platforms/ios/platform_www] to 
platforms/ios/www
     mkdir platforms/ios/www/assets
     mkdir platforms/ios/www/assets/css
     copy  www/assets/css/fontawesome-all.min.css 
platforms/ios/www/assets/css/fontawesome-all.min.css (new file)
     copy  www/assets/css/main.css platforms/ios/www/assets/css/main.css (new 
file)
     mkdir platforms/ios/www/assets/google-fonts
     copy  www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 
platforms/ios/www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 (new 
file)
     copy  www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfBBc4.woff2 
platforms/ios/www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfBBc4.woff2 (new file)
     copy  www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 
platforms/ios/www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 (new 
file)
     copy  www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 
platforms/ios/www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 (new 
file)
     copy  www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 
platforms/ios/www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 (new 
file)
     copy  www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 
platforms/ios/www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 (new 
file)
     copy  www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 
platforms/ios/www/assets/google-fonts/KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 (new 
file)
     copy  www/assets/google-fonts/KFOmCnqEu92Fr1Mu4WxKOzY.woff2 
platforms/ios/www/assets/google-fonts/KFOmCnqEu92Fr1Mu4WxKOzY.woff2 (new file)
     copy  www/assets/google-fonts/KFOmCnqEu92Fr1Mu4mxK.woff2 
platforms/ios/www/assets/google-fonts/KFOmCnqEu92Fr1Mu4mxK.woff2 (new file)
     copy  www/assets/google-fonts/KFOmCnqEu92Fr1Mu5mxKOzY.woff2 
platforms/ios/www/assets/google-fonts/KFOmCnqEu92Fr1Mu5mxKOzY.woff2 (new file)
     copy  www/assets/google-fonts/KFOmCnqEu92Fr1Mu72xKOzY.woff2 
platforms/ios/www/assets/google-fonts/KFOmCnqEu92Fr1Mu72xKOzY.woff2 (new file)
     copy  www/assets/google-fonts/KFOmCnqEu92Fr1Mu7GxKOzY.woff2 
platforms/ios/www/assets/google-fonts/KFOmCnqEu92Fr1Mu7GxKOzY.woff2 (new file)
     copy  www/assets/google-fonts/KFOmCnqEu92Fr1Mu7WxKOzY.woff2 
platforms/ios/www/assets/google-fonts/KFOmCnqEu92Fr1Mu7WxKOzY.woff2 (new file)
     copy  www/assets/google-fonts/KFOmCnqEu92Fr1Mu7mxKOzY.woff2 
platforms/ios/www/assets/google-fonts/KFOmCnqEu92Fr1Mu7mxKOzY.woff2 (new file)
     copy  www/assets/google-fonts/roboto400700.css 
platforms/ios/www/assets/google-fonts/roboto400700.css (new file)
     mkdir platforms/ios/www/assets/js
     copy  www/assets/js/main.js platforms/ios/www/assets/js/main.js (new file)
     mkdir platforms/ios/www/assets/sass
     mkdir platforms/ios/www/assets/sass/base
     copy  www/assets/sass/base/_bg.scss 
platforms/ios/www/assets/sass/base/_bg.scss (new file)
     copy  www/assets/sass/base/_page.scss 
platforms/ios/www/assets/sass/base/_page.scss (new file)
     copy  www/assets/sass/base/_reset.scss 
platforms/ios/www/assets/sass/base/_reset.scss (new file)
     copy  www/assets/sass/base/_typography.scss 
platforms/ios/www/assets/sass/base/_typography.scss (new file)
     mkdir platforms/ios/www/assets/sass/components
     copy  www/assets/sass/components/_button.scss 
platforms/ios/www/assets/sass/components/_button.scss (new file)
     copy  www/assets/sass/components/_form.scss 
platforms/ios/www/assets/sass/components/_form.scss (new file)
     copy  www/assets/sass/components/_icon.scss 
platforms/ios/www/assets/sass/components/_icon.scss (new file)
     copy  www/assets/sass/components/_icons.scss 
platforms/ios/www/assets/sass/components/_icons.scss (new file)
     copy  www/assets/sass/components/_list.scss 
platforms/ios/www/assets/sass/components/_list.scss (new file)
     copy  www/assets/sass/components/_section.scss 
platforms/ios/www/assets/sass/components/_section.scss (new file)
     mkdir platforms/ios/www/assets/sass/layout
     copy  www/assets/sass/layout/_footer.scss 
platforms/ios/www/assets/sass/layout/_footer.scss (new file)
     copy  www/assets/sass/layout/_header.scss 
platforms/ios/www/assets/sass/layout/_header.scss (new file)
     copy  www/assets/sass/layout/_signup-form.scss 
platforms/ios/www/assets/sass/layout/_signup-form.scss (new file)
     mkdir platforms/ios/www/assets/sass/libs
     copy  www/assets/sass/libs/_breakpoints.scss 
platforms/ios/www/assets/sass/libs/_breakpoints.scss (new file)
     copy  www/assets/sass/libs/_functions.scss 
platforms/ios/www/assets/sass/libs/_functions.scss (new file)
     copy  www/assets/sass/libs/_mixins.scss 
platforms/ios/www/assets/sass/libs/_mixins.scss (new file)
     copy  www/assets/sass/libs/_vars.scss 
platforms/ios/www/assets/sass/libs/_vars.scss (new file)
     copy  www/assets/sass/libs/_vendor.scss 
platforms/ios/www/assets/sass/libs/_vendor.scss (new file)
     copy  www/assets/sass/main.scss platforms/ios/www/assets/sass/main.scss 
(new file)
     mkdir platforms/ios/www/assets/tripfalcon-font
     mkdir platforms/ios/www/assets/tripfalcon-font/fonts
     copy  www/assets/tripfalcon-font/fonts/icomoon.eot 
platforms/ios/www/assets/tripfalcon-font/fonts/icomoon.eot (new file)
     copy  www/assets/tripfalcon-font/fonts/icomoon.svg 
platforms/ios/www/assets/tripfalcon-font/fonts/icomoon.svg (new file)
     copy  www/assets/tripfalcon-font/fonts/icomoon.ttf 
platforms/ios/www/assets/tripfalcon-font/fonts/icomoon.ttf (new file)
     copy  www/assets/tripfalcon-font/fonts/icomoon.woff 
platforms/ios/www/assets/tripfalcon-font/fonts/icomoon.woff (new file)
     copy  www/assets/tripfalcon-font/tripfalcon-style.css 
platforms/ios/www/assets/tripfalcon-font/tripfalcon-style.css (new file)
     mkdir platforms/ios/www/assets/webfonts
     copy  www/assets/webfonts/fa-brands-400.eot 
platforms/ios/www/assets/webfonts/fa-brands-400.eot (new file)
     copy  www/assets/webfonts/fa-brands-400.svg 
platforms/ios/www/assets/webfonts/fa-brands-400.svg (new file)
     copy  www/assets/webfonts/fa-brands-400.ttf 
platforms/ios/www/assets/webfonts/fa-brands-400.ttf (new file)
     copy  www/assets/webfonts/fa-brands-400.woff 
platforms/ios/www/assets/webfonts/fa-brands-400.woff (new file)
     copy  www/assets/webfonts/fa-brands-400.woff2 
platforms/ios/www/assets/webfonts/fa-brands-400.woff2 (new file)
     copy  www/assets/webfonts/fa-regular-400.eot 
platforms/ios/www/assets/webfonts/fa-regular-400.eot (new file)
     copy  www/assets/webfonts/fa-regular-400.svg 
platforms/ios/www/assets/webfonts/fa-regular-400.svg (new file)
     copy  www/assets/webfonts/fa-regular-400.ttf 
platforms/ios/www/assets/webfonts/fa-regular-400.ttf (new file)
     copy  www/assets/webfonts/fa-regular-400.woff 
platforms/ios/www/assets/webfonts/fa-regular-400.woff (new file)
     copy  www/assets/webfonts/fa-regular-400.woff2 
platforms/ios/www/assets/webfonts/fa-regular-400.woff2 (new file)
     copy  www/assets/webfonts/fa-solid-900.eot 
platforms/ios/www/assets/webfonts/fa-solid-900.eot (new file)
     copy  www/assets/webfonts/fa-solid-900.svg 
platforms/ios/www/assets/webfonts/fa-solid-900.svg (new file)
     copy  www/assets/webfonts/fa-solid-900.ttf 
platforms/ios/www/assets/webfonts/fa-solid-900.ttf (new file)
     copy  www/assets/webfonts/fa-solid-900.woff 
platforms/ios/www/assets/webfonts/fa-solid-900.woff (new file)
     copy  www/assets/webfonts/fa-solid-900.woff2 
platforms/ios/www/assets/webfonts/fa-solid-900.woff2 (new file)
     mkdir platforms/ios/www/cordova-js-src
     copy  platforms/ios/platform_www/cordova-js-src/exec.js 
platforms/ios/www/cordova-js-src/exec.js (new file)
     copy  platforms/ios/platform_www/cordova-js-src/platform.js 
platforms/ios/www/cordova-js-src/platform.js (new file)
     mkdir platforms/ios/www/cordova-js-src/plugin
     mkdir platforms/ios/www/cordova-js-src/plugin/ios
     copy  platforms/ios/platform_www/cordova-js-src/plugin/ios/console.js 
platforms/ios/www/cordova-js-src/plugin/ios/console.js (new file)
     copy  platforms/ios/platform_www/cordova-js-src/plugin/ios/launchscreen.js 
platforms/ios/www/cordova-js-src/plugin/ios/launchscreen.js (new file)
     copy  platforms/ios/platform_www/cordova-js-src/plugin/ios/logger.js 
platforms/ios/www/cordova-js-src/plugin/ios/logger.js (new file)
     copy  platforms/ios/platform_www/cordova-js-src/plugin/ios/wkwebkit.js 
platforms/ios/www/cordova-js-src/plugin/ios/wkwebkit.js (new file)
     copy  platforms/ios/platform_www/cordova.js platforms/ios/www/cordova.js 
(updated file)
     copy  www/css/index.css platforms/ios/www/css/index.css (updated file)
     mkdir platforms/ios/www/images
     copy  www/images/bg01.jpg platforms/ios/www/images/bg01.jpg (new file)
     copy  www/images/bg02.jpg platforms/ios/www/images/bg02.jpg (new file)
     copy  www/images/bg03.jpg platforms/ios/www/images/bg03.jpg (new file)
     copy  www/images/bg04.jpg platforms/ios/www/images/bg04.jpg (new file)
     mkdir platforms/ios/www/images/loader
     copy  www/images/loader/dots.svg platforms/ios/www/images/loader/dots.svg 
(new file)
     copy  www/images/loader/flight.svg 
platforms/ios/www/images/loader/flight.svg (new file)
     copy  www/img/logo.png platforms/ios/www/img/logo.png (updated file)
     copy  www/index.html platforms/ios/www/index.html (updated file)
     copy  www/js/index.js platforms/ios/www/js/index.js (updated file)
     copy  www/js/jquery.min.js platforms/ios/www/js/jquery.min.js (new file)
   Wrote out iOS Bundle Version "2.5.0" to 
/Users/mosabab/Desktop/app-tests/platforms/ios/Test/Test-Info.plist
   Set PRODUCT_BUNDLE_IDENTIFIER to com.test.
   iOS Product Name has not changed (still "Test")
   Updating icons at platforms/ios/Test/Images.xcassets/AppIcon.appiconset/
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-1024.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-20.png (updated file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@3x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-2...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-29.png (updated file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@3x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-40.png (updated file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-50.png (updated file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@3x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-72.png (updated file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-76.png (updated file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon-8...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon...@2x.png (updated 
file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/icon.png (updated file)
     copy  res/icon/ios/icon-1024.png 
platforms/ios/Test/Images.xcassets/AppIcon.appiconset/i...@2x.png (updated file)
   Updating launch storyboard images at 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/
     copy  res/screen/ios/Default@2x~universal~anyany.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@2x~universal~anyany.png
 (new file)
     copy  res/screen/ios/Default@2x~universal~anyany~dark.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@2x~universal~anyany~dark.png
 (new file)
     copy  res/screen/ios/Default@2x~universal~comany.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@2x~universal~comany.png
 (new file)
     copy  res/screen/ios/Default@2x~universal~comany~dark.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@2x~universal~comany~dark.png
 (new file)
     copy  res/screen/ios/Default@2x~universal~comcom.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@2x~universal~comcom.png
 (new file)
     copy  res/screen/ios/Default@2x~universal~comcom~dark.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@2x~universal~comcom~dark.png
 (new file)
     copy  res/screen/ios/Default@3x~universal~anyany.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@3x~universal~anyany.png
 (new file)
     copy  res/screen/ios/Default@3x~universal~anyany~dark.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@3x~universal~anyany~dark.png
 (new file)
     copy  res/screen/ios/Default@3x~universal~anycom.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@3x~universal~anycom.png
 (new file)
     copy  res/screen/ios/Default@3x~universal~anycom~dark.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@3x~universal~anycom~dark.png
 (new file)
     copy  res/screen/ios/Default@3x~universal~comany.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@3x~universal~comany.png
 (new file)
     copy  res/screen/ios/Default@3x~universal~comany~dark.png 
platforms/ios/Test/Images.xcassets/LaunchStoryboard.imageset/Default@3x~universal~comany~dark.png
 (new file)
   Updating Storyboard image set contents.json
   Updating Background Color color set Contents.json
   This app does not have additional resource files defined
   Prepared iOS project successfully
   No scripts found for hook "before_prepare".
   Checking for saved platforms that haven't been added to the project
   Platform 'android' found in config.xml... Migrating it to package.json
   Platform 'ios' found in config.xml... Migrating it to package.json
   Checking for saved plugins that haven't been added to the project
   Plugin 'cordova-plugin-battery-status' found in config.xml... Migrating it 
to package.json
   Plugin 'cordova-plugin-device' found in config.xml... Migrating it to 
package.json
   Plugin 'cordova-plugin-dialogs' found in config.xml... Migrating it to 
package.json
   Plugin 'cordova-plugin-geolocation' found in config.xml... Migrating it to 
package.json
   Plugin 'cordova-plugin-inappbrowser' found in config.xml... Migrating it to 
package.json
   Plugin 'cordova-plugin-network-information' found in config.xml... Migrating 
it to package.json
   Plugin 'cordova-plugin-screen-orientation' found in config.xml... Migrating 
it to package.json
   Plugin 'cordova-plugin-statusbar' found in config.xml... Migrating it to 
package.json
   Plugin 'cordova-plugin-vibration' found in config.xml... Migrating it to 
package.json
   Discovered plugin "cordova-plugin-battery-status". Adding it to the project
   No scripts found for hook "before_plugin_add".
   Calling plugman.fetch on plugin 
"https://github.com/apache/cordova-plugin-battery-status.git";
   Failed to restore plugin "cordova-plugin-battery-status". You might need to 
try adding it again. Error: CordovaError: Failed to fetch plugin 
https://github.com/apache/cordova-plugin-battery-status.git via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   CordovaError: Error: An unknown git error occurred
   Discovered plugin "cordova-plugin-dialogs". Adding it to the project
   No scripts found for hook "before_plugin_add".
   Calling plugman.fetch on plugin 
"https://github.com/apache/cordova-plugin-dialogs.git";
   Failed to restore plugin "cordova-plugin-dialogs". You might need to try 
adding it again. Error: CordovaError: Failed to fetch plugin 
https://github.com/apache/cordova-plugin-dialogs.git via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   CordovaError: Error: An unknown git error occurred
   Discovered plugin "cordova-plugin-inappbrowser". Adding it to the project
   No scripts found for hook "before_plugin_add".
   Calling plugman.fetch on plugin 
"https://github.com/apache/cordova-plugin-inappbrowser.git";
   Failed to restore plugin "cordova-plugin-inappbrowser". You might need to 
try adding it again. Error: CordovaError: Failed to fetch plugin 
https://github.com/apache/cordova-plugin-inappbrowser.git via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   CordovaError: Error: An unknown git error occurred
   Discovered plugin "cordova-plugin-screen-orientation". Adding it to the 
project
   No scripts found for hook "before_plugin_add".
   Calling plugman.fetch on plugin 
"https://github.com/apache/cordova-plugin-screen-orientation.git";
   Failed to restore plugin "cordova-plugin-screen-orientation". You might need 
to try adding it again. Error: CordovaError: Failed to fetch plugin 
https://github.com/apache/cordova-plugin-screen-orientation.git via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   CordovaError: Error: An unknown git error occurred
   Discovered plugin "cordova-plugin-vibration". Adding it to the project
   No scripts found for hook "before_plugin_add".
   Calling plugman.fetch on plugin 
"https://github.com/apache/cordova-plugin-vibration.git";
   Failed to fetch plugin 
https://github.com/apache/cordova-plugin-vibration.git via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   CordovaError: Error: An unknown git error occurred
   CordovaError: Failed to fetch plugin 
https://github.com/apache/cordova-plugin-vibration.git via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   CordovaError: Error: An unknown git error occurred
       at 
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:140:43
   mosabab@Mosabs-MacBook-Pro app-tests % 
   ```
   
   And this what my `package.json` have before I build my app.
   ```
   {
     "name": "com.test",
     "displayName": "Test",
     "version": "2.5.0",
     "description": "Test.",
     "main": "index.js",
     "scripts": {
       "test": "echo \"Error: no test specified\" && exit 1"
     },
     "keywords": [
       "ecosystem:cordova"
     ],
     "author": "Test",
     "license": "Test"
   }
   ```
   
   And this what my `config.xml` have:
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <widget id="com.test" version="2.5.0" android-versionCode="205000" 
ios-CFBundleVersion="1.0.0" xmlns="http://www.w3.org/ns/widgets"; 
xmlns:cdv="http://cordova.apache.org/ns/1.0"; 
xmlns:android="http://schemas.android.com/apk/res/android";>
     <name short="test">Test</name>
     <description>Test</description>
     <author email="i...@test.com" href="http://www.test.com";>Test</author>
     <content src="index.html" />
     <allow-intent href="http://*/*"; />
     <allow-intent href="https://*/*"; />
     <preference name="DisallowOverscroll" value="true" />
     <preference name="ShowSplashScreenSpinner" value="false" />
     <preference name="StatusBarOverlaysWebView" value="false" />
     <preference name="StatusBarStyle" value="default" />
     <preference name="BackgroundColor" value="0xffffffff" />
     <plugin name="cordova-plugin-battery-status" 
spec="https://github.com/apache/cordova-plugin-battery-status.git"; />
     <plugin name="cordova-plugin-device" 
spec="https://github.com/apache/cordova-plugin-device.git"; />
     <plugin name="cordova-plugin-dialogs" 
spec="https://github.com/apache/cordova-plugin-dialogs.git"; />
     <plugin name="cordova-plugin-geolocation" 
spec="https://github.com/apache/cordova-plugin-geolocation.git"; />
     <plugin name="cordova-plugin-inappbrowser" 
spec="https://github.com/apache/cordova-plugin-inappbrowser.git"; />
     <plugin name="cordova-plugin-network-information" 
spec="https://github.com/apache/cordova-plugin-network-information.git"; />
     <plugin name="cordova-plugin-screen-orientation" 
spec="https://github.com/apache/cordova-plugin-screen-orientation.git"; />
     <plugin name="cordova-plugin-statusbar" 
spec="https://github.com/apache/cordova-plugin-statusbar.git"; />
     <plugin name="cordova-plugin-vibration" 
spec="https://github.com/apache/cordova-plugin-vibration.git"; />
     <platform name="android">
       <preference name="AndroidWindowSplashScreenAnimatedIcon" 
value="res/screen/android/splashscreen.png" />
       <preference name="AndroidWindowSplashScreenBackground" value="#258E50" />
       <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest/application">
         <application android:usesCleartextTraffic="true" />
       </edit-config>
       <!-- android Adaptive Icons -->
       <icon background="res/icon/android/ldpi-background.png" density="ldpi" 
foreground="res/icon/android/ldpi-foreground.png" />
       <icon background="res/icon/android/mdpi-background.png" density="mdpi" 
foreground="res/icon/android/mdpi-foreground.png" />
       <icon background="res/icon/android/hdpi-background.png" density="hdpi" 
foreground="res/icon/android/hdpi-foreground.png" />
       <icon background="res/icon/android/xhdpi-background.png" density="xhdpi" 
foreground="res/icon/android/xhdpi-foreground.png" />
       <icon background="res/icon/android/xxhdpi-background.png" 
density="xxhdpi" foreground="res/icon/android/xxhdpi-foreground.png" />
       <icon background="res/icon/android/xxxhdpi-background.png" 
density="xxxhdpi" foreground="res/icon/android/xxxhdpi-foreground.png" />
     </platform>
     <platform name="ios">
       <preference name="Orientation" value="all" />
       <preference name="InAppBrowserStatusBarStyle" value="lightcontent" />
       <edit-config target="NSLocationWhenInUseUsageDescription" 
file="*-Info.plist" mode="merge">
         <string>Your current location will be used to find airports and hotels 
near you.</string>
       </edit-config>
       <edit-config target="NSLocationAlwaysUsageDescription" 
file="*-Info.plist" mode="merge">
         <string>Your current location will be used to find airports and hotels 
near you.</string>
       </edit-config>
       <edit-config target="NSLocationAlwaysAndWhenInUseUsageDescription" 
file="*-Info.plist" mode="merge">
         <string>Your current location will be used to find airports and hotels 
near you.</string>
       </edit-config>
       <!-- iOS icons -->
       <icon src="res/icon/ios/icon-1024.png" />
       <!-- iOS Splash Screens -->
       <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
       <splash src="res/screen/ios/Default@2x~universal~comany.png" />
       <splash src="res/screen/ios/Default@2x~universal~comcom.png" />
       <splash src="res/screen/ios/Default@3x~universal~anyany.png" />
       <splash src="res/screen/ios/Default@3x~universal~anycom.png" />
       <splash src="res/screen/ios/Default@3x~universal~comany.png" />
       <!-- iOS Splash Screens Dark Mode -->
       <splash src="res/screen/ios/Default@2x~universal~anyany~dark.png" />
       <splash src="res/screen/ios/Default@2x~universal~comany~dark.png" />
       <splash src="res/screen/ios/Default@2x~universal~comcom~dark.png" />
       <splash src="res/screen/ios/Default@3x~universal~anyany~dark.png" />
       <splash src="res/screen/ios/Default@3x~universal~anycom~dark.png" />
       <splash src="res/screen/ios/Default@3x~universal~comany~dark.png" />
     </platform>
     <engine name="android" 
spec="https://github.com/apache/cordova-android.git#11.0.0"; />
     <engine name="ios" spec="https://github.com/apache/cordova-ios.git#6.3.0"; 
/>
   </widget>
   ```
   
   and this how my app folder appear
   
![Untitled](https://user-images.githubusercontent.com/47486787/236075033-21a99248-2e00-4f52-a7fc-58daa0a4d4f6.jpg)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to