cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-11596) Resources cannot be loaded sometimes
Date Mon, 18 Jul 2016 15:09:20 GMT
Attila created CB-11596:
---------------------------

             Summary: Resources cannot be loaded sometimes
                 Key: CB-11596
                 URL: https://issues.apache.org/jira/browse/CB-11596
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 6.2.0
         Environment: Node version: v6.3.0
Cordova version: 6.2.0
OS: OSX El Captain 10.11.5

Plugins: 

cordova-plugin-console,cordova-plugin-device,cordova-plugin-splashscreen,cordova-plugin-statusbar,cordova-plugin-whitelist,ionic-plugin-keyboard

Android platform:
Available Android targets:
----------
id: 1 or "android-22"
     Name: Android 5.1.1
     Type: Platform
     API level: 22
     Revision: 2
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800,
WXGA800-7in
 Tag/ABIs : default/x86_64
----------
id: 2 or "android-23"
     Name: Android 6.0
     Type: Platform
     API level: 23
     Revision: 3
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800,
WXGA800-7in
 Tag/ABIs : default/x86, default/x86_64

iOS platform:
Xcode 7.3.1
Build version 7D1014

            Reporter: Attila


Althought the files are copied to the device: 

[ 21%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/build/js/app.bundle.js
to device
[ 28%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/build/js/app.bundle.js.map
to device
[ 36%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/build/js/es6-shim.map
to device
[ 36%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/build/js/es6-shim.min.js
to device
[ 36%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/build/js/Reflect.js
to device
[ 36%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/build/js/Reflect.js.map
to device
[ 37%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/build/js/zone.js
to device
...
[ 48%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/cordova.js
to device
 48%] Copying /Users/attila/x/any-plan/platforms/ios/build/device/any-plan.app/www/cordova_plugins.js
to device

Also inspecting the content of the builded package shows that the files are there but on a
device they cannot be loaded. It says `Failed to load resource: The requested URL was not
found on this server.`. The paths it try to loads are: 

```
file:///cordova.js
file:///build/js/es6-shim.min.js
// etc.. 
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message