Build Error in Xcode 11.3.1 - IBCocoaTouchFramework-ThirteenAndLater - ios

I am having following error every single time I try to build an app in Xcode 11.3.1 on macOS Catalina 10.15.3. I see this error for UIKit as well as SwiftUI based projects. Xcode fails to load storyboard file (or scene) and fails to build
/<PATH TO PROJECT>/Base.lproj/LaunchScreen.storyboard:1:1:
Failed to find or create execution context for description '<IBCocoaTouchPlatformToolDescription: 0x7fd283181f90> System content for IBCocoaTouchFramework-ThirteenAndLater <IBScaleFactorDeviceTypeDescription: 0x7fd283187160> scaleFactor=2x'.
Please note, this error is not specific to LaunchScreen.storyboard file. I have tried not having launch screen and instead straight Main.storyboard but nothing works.
I have tried everything else including rebooting my mac, killing Simulator process deleting Derived Data. All these steps, a few of these steps but cannot get rid of it. My Xcode is plagued with this issue and I cannot build any project.
If you have encountered this issue, please share what you did to solve it.
Thanks in advance.

In my case, reinstalling Xcode fixed it for me.

Related

Simulator not found after Xcode update

I have just updated the Xcode from App Store from 10.2 to 10.3 and suddenly all the simulators are gone. Now when I open a project with a storyboard, it throws me an error as below.
Failed to find or create execution context for description ' System content for IBCocoaTouchFramework-ElevenAndLater scaleFactor=2x. These intermediate objects were non-nil.
Any one faced this issue before? Also it doesn't let me edit anything in my simulator.
I tried to restart Xcode, but it did not help.
The only way to fix the problem was to reboot my MacBook - it fixed the problem with simulator
Try to increase deployment target of your project. It worked for me.

FirebaseUI/PhoneAuth/FirebasePhoneAuthUI/FUICodeField.xib:-1: Failed to find or create execution context for description

After updating Xcode to 10.3 I get the bellow error (which I see has something to do with firebase):
The page which accompanies it is:
Why is this error happening and how can I fix it?
What I have tried:
updating pods
restarting Xcode
I solved this after looking at the answer on this question: Storyboard broken after updating Xcode to version 10.3 (10G8) & app no longer is running
Restarted the mac, problem solved.

Xcode 8.2.1 quits unexpectedly every time when I open my project

I'm getting an error Xcode 8.2.1 quit unexpectedly whenever Xcode is opened. This was working fine till last night. I have tried restart system but didn't worked.I have updated mac OS with macOS Sierra (version 10.12.3).
I already deleted derived data from preferences but it's not working for me.
please tell me why its happening like this...Thanks a lot in advance...
I've had this situation before.
My solution is that:
quit Xcode clearly
open other no question project or create a new project
open the your project again which will quit unexpectedly
it's maybe Xcode's bug, this is work to me, hope it's work to you too!
That state information might have become corrupted.
Follow these steps hope it will help you
1.) Right click on your project.
2.) Choose package content.
3.) Delete all extra files except project.pbxproj
4.) Come back to your project.
5.) Run

Internal error. Please file a bug at bugreport.apple.com and attach

Getting this errors when i build the application
Main.storybord: Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/v5/4tnjcvds103g1y3tf1mnfv680000gn/T/IB-agent-diagnostics_2015-10-30_11-30-47_678000".
And
LaunchScreen.storyboard: Internal error. Please file a bug at bugreport.apple.com and attach all crash logs from ~/Library/Logs/DiagnosticReports.
Done all things Cleaning project, Quit Xcode Several times and also restarted the System, Still getting errors.
Any one got solution help me please ?
Try following options to clean up the build files :
cmd + shift + k
AND
cmd + option + shift + k
OR
even you can send the bug report on this link for this issue.
I had same issue,
Solution was: clearing out the DerivedData folder.
Can be found in ~/Library/Developer/Xcode/DerivedData
That worked for me.
I got the same issue when i have updated my launch screen into project.
I just do following things the issue got cleared.
1.Get the back up of your source code.
2.Delete your LaunchScreen.storyboard file.
3.Pop up will appear and it will ask re save the storyboard file or close option,press close.
4.Just Add LaunchScreen.storyboard file into your current project from your back up source code.
5.Now clean then build , issue will cleared.
cmd+shift+k
cmd+option+shift+k
All this is not work for me or for you????
Waring:You can do this
The reason is you download Simulators on the new Xcode, you must delete it!!
the path is "/Library/Developer/CoreSimulator/Profiles/Runtimes"
For example your xcode version is Xcode 8.0, Now you download Xcode 9.0, You have two xcode, you download ios 10 Simulator on the Xcode 9.0, Then Xcode 8.0 will appear the Storyboard can't run, Because, Xcode 8.0 default Simulator is ios 10, Conflicted!!!

Xcode build fails. Xcode crashes on clicking mainStoryBoard

Build fails for running (every) iOS project only. Succeed's for other For Eg: Command line tool application. Also when I click on MainStoryBoard the Xcode crashes.
My Xcode: Version 5.0 (5A1413) on OS X Yosemite Version 10.10
Getting two errors:
(1)Command
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool
failed with exit code 255
(2)
/Users/sky/Desktop/xcode projects/SKY/SKY/Images.xcassets: The
operation couldn’t be completed. (IBMessageChannelErrorDomain error
1.)
Things I have tried.
(1)I have tried Right click on Storyboard in the navigator -> Show File Inspector -> Uncheck "Use Autolayout". It does not solve. Please help!
(2)I have tried project cleaning cmd+Shit+K, Clean succeeded, Build Failed!
This might help. Create a new project and check if the behaviour is the same. If Xcode doesn't crash on your new project, open your "problematic" project and go to the menu "Product" and then "Clean", that might fix the issue. That happens to me a lot with visual studio and eclipse. Hope you get it working, post the solution later please.
Apparently, installing latest version of Xcode (Xcode6) did solve the issue. (My older one was xcode5). Now all iOS projects run. I had a feeling upgrading should ideally solve the problem, but I wanted to work for that project on xcode5, hence I was looking for a solution. Thank you every one for help.

Resources