Bad File descriptor error in Xcode 9 - xcode

I opened my xcode project today and pulled the latest version of the source. To my surprise, I recieved an error stating "(Xcode) encoutered read error on command output pipe (Bad file descriptor)"
I am totally confused by this error and I have no idea what caused it. Could anyone shed some light on why I might be seeing this error and a possible fix? I am running xcode v9
I looked on google and there didn't seem to be much on the issue. Still looking though.

Related

React Native Production Build Error ('Build input file cannot be found: {path}ExpoModulesProvider.swift')

So I finished a React Native project and trying to get it into production mode. However, XCode is throwing me this error saying that it cannot find ExpoModulesProvider.swift
Here is the full error,
I have been trying to solve this error the past 2-3 hours. I searched everywhere however, I could't find anything related to this error. Even StackOverFlow doesn't have it.
Thank you
I had the same issue and in my case I solved it by removing the ExpoModulesProvider.swift source from Compile Sources

RCTFont.h file not found

Trying to run the simulator on xCode version 10.1 and this error is appearing. Error
The error also appears here Code segment
I am unsure as to find and link this file, or even create it. Any help on this problem would be greatly appreciated.

Xcode Quick Help isn't showing up

This is the first time I have been facing this strange issue
Whenever I click on a variable, function name, etc., that is what shows up in the Quick Help section of Xcode:
Error Domain=com.apple.DNTDocumentationSupport Code=0 "disk I/O error" UserInfo={NSLocalizedDescription=disk I/O error}
I have no idea what might be causing this issue, but it seemed to have started to occur when I updated my Xcode to version 9.4.1.
On Stack Overflow, I have only found one Q&A with the same error message, but I have restarted Xcode many times, but to no avail. Does anyone know how to fix this error?
The main reason why this happens is usually because the Xcode documentation is missing or a new version of it is being downloaded in the background for you. For Xcode 9.4.1, you can check if the documentation has been downloaded and is in the correct place. Please do the following:
Open Terminal
Type cd ~/Library/Developer/Xcode/DocumentationCache/
Type ls -al
Find the right directory for your documentation and Xcode versions, in this case v33 and 9.4.1, respectively.
Type cd v33/9.4.1/DeveloperDocumentation.index
Type ls -al
Find file store.db on the generated file list
This database file should have the size of 17960960 bytes or roughly 18 Mb.
If you don't find this, it is because your documentation is missing and/or your connection is too slow to download this database. Thus, you need to be patient and let Xcode download it to your disk.
To quit Xcode and relaunch it usually helps, because it forces the IDE to look for the cache and update its UI.

xcode PBXCp Error

My Xcode project is really starting to irk me.
I wrote a program that involved multiple png images. At a random point, it said that frown.png had no such file or directory so I renamed every instance of it to frown2.png and i still got the same error still saying frown.png even though there was no instance of it.
I then took all of my code and images and created a new project. For a while it worked, but when i tried adding a second view (doubt that caused it), i started getting the same error again still with frown.png.
What should i do?
(P.S. i am very inexperienced in xcode so please keep answers clear and concise. Thanks)

What does the error File type mismatch (~) mean?

After upgrading to a newer version of Xcode, when I build my project I get and error:
File type mismatch (~), OutputModelPrefs.nib.
I have tried Googling and the Apple Developer Forum but I can't find out exactly what the problem is. Can anyone shed any light on what the problem might be?
Xcode stores file type information in foo.xcodeproj/project.pbxproj. Maybe you should open that file in a text editor and see if there's anything conspicuous. Look for lastKnownFileType =. If that doesn't help, maybe recreating the project will.
BTW: is that really a . nib file, not a .xib file?
I'm not sure what exactly this means, I got it in a slightly different place. Mine was complaining about a .pbxindex file with the same error message. In my case, I deleted the .pbxindex and rebuilt. After that the file was regenerated an all was fine. More info on my error here: What is Xcode pbxstrings file for?

Resources