[
https://issues.apache.org/jira/browse/CB-13453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jcesarmobile closed CB-13453.
-----------------------------
Resolution: Incomplete
closing since there was no response
> Relative path not working on ios-10.3 and higher
> ------------------------------------------------
>
> Key: CB-13453
> URL: https://issues.apache.org/jira/browse/CB-13453
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Affects Versions: cordova-ios 4.5.0
> Environment: xcode 9
> iPhone running ios 10.3
> Reporter: Razi Syed
> Priority: Major
>
> I am using cordova to build an ios app. The app builds and works fine for ios
> 9 & ios 10 and the simulator works perfectly fine also. But for ios 11, it
> throws errors loading all the javascript files in the "scripts" folder. I
> don't think it's because the folder name is case sensitive. The files all
> exist. It looks like it's not able to find relative files in the Scripts
> folder.
> See the error screenshot below that shows in Safari debugger:
> !https://i.stack.imgur.com/OSb3S.png!
> Any ideas? I would really appreciate any help. Again, this runs perfectly
> fine on ios 9 and ios 10, has issue only on 11.
> Here is my script includes:
> <script type="text/javascript" src="cordova.js"></script>
> <script type="text/javascript" src="scripts/jquery-3.2.1.min.js"></script>
> <script type="text/javascript" src="scripts/bootstrap.min.js"></script>
> <!-- essential utilities -->
> <script type="text/javascript" src="scripts/knockout-3.4.2.js"></script>
> <script type="text/javascript"
> src="scripts/knockout.mapping-latest.js"></script>
> <script type="text/javascript" src="scripts/lodash.min.js"></script>
> <script type="text/javascript" src="scripts/moment.min.js"></script>
> <script type="text/javascript"
> src="scripts/jquery.signalR-2.2.2.min.js"></script>
> <script src="https://www.tasksq.com/api/signalr/hubs"
> type="text/javascript"></script>
> <!-- essential ui utilities -->
> <script type="text/javascript" src="scripts/jquery.blockUI.js"></script>
> <script type="text/javascript" src="scripts/select2.min.js"></script>
> <script type="text/javascript" src="scripts/bootbox.min.js"></script>
> <script type="text/javascript" src="scripts/toastr.min.js"></script>
> <script type="text/javascript"
> src="scripts/knockout.validation.min.js"></script>
> <script type="text/javascript"
> src="scripts/bootstrap-datetimepicker.min.js"></script>
> <script type="text/javascript" src="scripts/knockstrap.min.js"></script>
> <!-- my utilities -->
> <script type="text/javascript" src="scripts/app/koBindings.js"></script>
> <script type="text/javascript" src="scripts/app/app.js"></script>
> <script type="text/javascript" src="scripts/require.js"
> data-main="Scripts/app/main"></script>
> As you can probably tell, the script include in the root or the http one
> works, just the ones in the script folder have the issue, so is it the way
> they are being included?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]