You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/02/25 07:47:46 UTC

[GitHub] [cordova-ios] memphis23 opened a new issue #1084: Parse error when trying to open .xcodeproj

memphis23 opened a new issue #1084:
URL: https://github.com/apache/cordova-ios/issues/1084


   # Bug Report
   
   ## Problem
   When I add ios platform 6.x.y to my ionic project, it cannot be opened by XCode 12.4. 
   
   ### What is expected to happen?
   I expect the .xcodeproj can be opened.
   
   ### What does actually happen?
   I get the following error: "The project ‘MyApp’ is damaged and cannot be opened due to a parse error. Examine the project file for invalid edits or unresolved source control conflicts."
   
   ## Information
   I have tested with a new Ionic starter template and the problem is also reproduced.
   
   If I type command plutil -lint project.pbxproj I get more information "CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 59. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug."
   
   If I remove cordova-ios 6.x.y platform and I add cordova-ios 5.1.1 the project can be opened by XCode successfully.
   
   ### Command or Code
   ionic cordova platform add ios
   
   ### Environment, Platform, Device
   I add ios platform on Windows and, later, I open the .xcodeproj generated in a Mac.
   
   ### Version information
   Ionic:
   
      Ionic CLI                     : 6.11.9 (C:\Users\sbelinchon\AppData\Roaming\npm\node_modules\@ionic\cli)
      Ionic Framework               : @ionic/angular 5.5.4
      @angular-devkit/build-angular : 0.1101.4
      @angular-devkit/schematics    : 11.1.4
      @angular/cli                  : 11.1.4
      @ionic/angular-toolkit        : 3.1.0
   
   Cordova:
   
      Cordova CLI       : 10.0.0
      Cordova Platforms : ios 6.1.0
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)
   
   Utility:
   
      cordova-res : 0.15.1
      native-run  : 1.2.1
   
   System:
   
      Android SDK Tools : 26.1.1 (C:\Users\sbelinchon\AppData\Local\Android\Sdk)
      NodeJS            : v10.13.0 (C:\Program Files\nodejs\node.exe)
      npm               : 6.14.8
      OS                : Windows 10
   
   ## Checklist
   - [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:
users@infra.apache.org



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


[GitHub] [cordova-ios] memphis23 edited a comment on issue #1084: Parse error when trying to open .xcodeproj

Posted by GitBox <gi...@apache.org>.
memphis23 edited a comment on issue #1084:
URL: https://github.com/apache/cordova-ios/issues/1084#issuecomment-785748699


   I have discovered the problem.
   
   Adding the platform on windows includes the following line the the xcode project file:
   301BF52D109A57CC0062928A /* CordovaLib/CordovaLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = CordovaLib.xcodeproj; path = CordovaLib\CordovaLib.xcodeproj; sourceTree = "<group>"; };
   
   Instead of:
   301BF52D109A57CC0062928A /* CordovaLib/CordovaLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = CordovaLib.xcodeproj; path = CordovaLib/CordovaLib.xcodeproj; sourceTree = "<group>"; };


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [cordova-ios] memphis23 commented on issue #1084: Parse error when trying to open .xcodeproj

Posted by GitBox <gi...@apache.org>.
memphis23 commented on issue #1084:
URL: https://github.com/apache/cordova-ios/issues/1084#issuecomment-785748699


   I have discovered the problem.
   
   Adding the platform on windows includes the following line the the xcode project file:
   301BF52D109A57CC0062928A /* CordovaLib/CordovaLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = CordovaLib.xcodeproj; path = CordovaLib**\**CordovaLib.xcodeproj; sourceTree = "<group>"; };
   
   Instead of:
   301BF52D109A57CC0062928A /* CordovaLib/CordovaLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = CordovaLib.xcodeproj; path = CordovaLib**/**CordovaLib.xcodeproj; sourceTree = "<group>"; };


----------------------------------------------------------------
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:
users@infra.apache.org



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