You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ray Shan (JIRA)" <ji...@apache.org> on 2015/08/05 23:46:04 UTC

[jira] [Created] (CB-9462) iOS 3.9.0 breaks file:// links to symlinked directories

Ray Shan created CB-9462:
----------------------------

             Summary: iOS 3.9.0 breaks file:// links to symlinked directories
                 Key: CB-9462
                 URL: https://issues.apache.org/jira/browse/CB-9462
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 5.1.1
         Environment:     <content src="index.html" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <platform name="android">
        <allow-intent href="market:*" />
        <preference name="Fullscreen" value="true" />
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
        <preference name="Orientation" value="all" />
        <preference name="EnableViewportScale" value="true" />
        <preference name="AllowInlineMediaPlayback" value="true" />
        <preference name="BackupWebStorage" value="local" />
        <preference name="StatusBarOverlaysWebView" value="false" />
        <preference name="StatusBarBackgroundColor" value="#000000" />
        <preference name="StatusBarStyle" value="lightcontent" />
    </platform>
    <preference name="DisallowOverscroll" value="true" />
    <plugin name="cordova-plugin-inappbrowser" spec="^1.0.1" />
    <plugin name="cordova-plugin-statusbar" spec="^1.0.1" />
    <plugin name="cordova-plugin-whitelist" spec="^1.0.0" />
    <plugin name="com.ionic.keyboard" spec="^1.0.4" />
    <engine name="ios" spec="^3.9.0" />
            Reporter: Ray Shan


Hi,

Installed iOS 3.9.0 by removing then adding, not upgrading. 

www directory was previously symlinked to a directory at the project root named src, for convenience during development.

iOS 8.4, XCode 6.4, iPhone 6

cordova emulate runs successfully

cordova run ios --device is broken. It results in a binary that loads on device but has broken file:// links for .js files loaded via script tags in HTML and previously in symlinked src directory. Debugged using the Safari inspector.

Downgrading to iOS platform 3.8.0 fixes the bug.



--
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