question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xcode has encountered an error reading an invalid project file

See original GitHub issue

Describe the bug The Xcode project will no longer open in Xcode this is also unavailable after a react-native link.

To Reproduce Steps to reproduce the behavior if possible, or a link to a reproduction repo:

  1. Install the 7.0.2 release or latest master
  2. Click on FastImage.xcodeproj
  3. See error
Xcode has encountered an error reading an invalid project file. The project file `/Users/lunchmeat/Downloads/react-native-fast-image-master/ios/FastImage.xcodeproj` contains a PBXContainerItemProxy `FD751C41229EB44C002BE1F4` whose containerPortal does not exist.

Expected behavior Expected the project to open in Xcode.

Screenshots

Screen Shot 2019-07-11 at 10 53 57 AM

Dependency versions

  • React Native version: 0.60
  • React version: 16.8.6
  • React Native Fast Image version: 7.0.2

Note: if these are not the latest versions of each I recommend updating as extra effort will not be taken to be backwards compatible, and updating might resolving your issue.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:10
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
aksmfosef11commented, Jul 17, 2019

Removing the existing Manually Link and using pod install fix it.

If I link to version 6 Manually and then update to version 7, it seems to be the problem that Xcode is shutting down. or Manually Link version 7 to the same problem

2reactions
bkitduycommented, Jul 13, 2019

The same for me, react native 0.59.9

Read more comments on GitHub >

github_iconTop Results From Across the Web

iphone - Unable to open project... cannot be opened because ...
I tried using an older project file and re inserting it and then compiling. It gives me a funky error which is probably...
Read more >
Xcode 13 - warning: Could not read serialized diagnostics file
I just updated to xcode 13 but when i try to compile im getting this error: warning: Could not read serialized diagnostics file:...
Read more >
Oh dear! Build errors? - LoopDocs - GitHub Pages
Final step is to return to Xcode and clean the build folder. Otherwise Xcode remembers it could not read the file and it...
Read more >
The project is damaged and cannot be opened due to a parse ...
Nothing I found online appears to have anything to do with what I'm experiencing, and trying to read through the .pbxproj file has...
Read more >
Troubleshooting build errors and crashes - Expo Documentation
The archive that is uploaded to EAS Build includes the same relevant source files. You can verify that your project builds on your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found