up2-date opened a new issue #984:
URL: https://github.com/apache/cordova-ios/issues/984
# Bug Report
## Problem
I use cordova-ios 6.1.1 and nodejs v13.12.0 under Windows 10.
Cordova CLI Version: 10.0.0
When I run "cordova --verbose prepare ios" and open the created project in
Xcode under MAC, i became follow Error in XCode:
The file couldn“t be opened. (as Message) / Couldn“t load Project
I have used an empty Cordova project to avoid plugin problems.
After a closer analysis, i found the problem in the file project.pbxproj in
this line:
301BF52D109A57CC0062928A /* CordovaLib/CordovaLib.xcodeproj */ = {isa =
PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name =
CordovaLib.xcodeproj; path = CordovaLib\CordovaLib.xcodeproj; sourceTree =
"<group>"; };
The Problem is the Backslash:
CordovaLib\CordovaLib.xcodeproj
If I change the backslash to a slash, then I can open the project in XCode.
### What is expected to happen?
Slashes in File Path in the File project.pbxproj.
### What does actually happen?
Backslashes in File Path in the File project.pbxproj.
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
Before I used cordova ios 5.1.1, the project is generated correctly.
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
use "cordova prepare ios" in Windows 10 with Cordova iOS 6.1.1.
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
- Windows 10 (Prepare the project)
- Mac (Xcode) (Open the Cordova Project)
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
Windows: 10
Cordova CLI: 10.0.0
Cordova iOS 6.1.1
No Plugins
Xcode 11.6
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [X] I searched for existing GitHub issues
- [X] I updated all Cordova tooling to most recent version
- [X ] I included all the necessary information above
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]