Xcode 8 UI bug when creating New File - xcode

Screen shot link is attached
I updated to macOS Sierra and Xcode updated itself too. Then this issue started appearing. Is this only with me or someone else also facing this? Or anyone know how to fix it?

This happened with me as well.
I observed that it happens when we have both, Xcode 7 and Xcode 8 installed at the same time on sierra. Please find a similar create a new project screen issue below:

Related

Can not launch simulator or preview either

I updated my mac system to 11.4 and xcode to 12.5 and this issue happened to me yesterday ,i had tried many ways to sovle it, but still didn’t work, anyone who can tell me how to fix this please!
preview issues screen shot
simulator issues screen shot

Xcode 11 can't launch CarPlay audio application

In Xcode 11 GM Version can't launch Car Play audio application in the simulator.
Simulator stuck on the loading screen, then show "Unable to connect" error. Sometimes shows only black screen or crash on app launch.
While debugging, I see that methods from MPPlayableContentDataSource and MPPlayableContentDelegate won't fire. On Xcode 10 all work fine, so it's looks like some bug in new Xcode 11. Maybe someone knows how to solve this problem?
Thanks indeed.
I submitted a radar (FB7514196) to Apple.
You can see a copy of the radar here: https://openradar.appspot.com/radar?id=4997629368860672
Just installed Xcode 11.3 and I'm still having this problem. Contacted Apple via the Feedback Assistant and the response was:
Please ensure you're providing a prompt response to
MPPlayableContentDelegate and MPPlayableContentDataSource when you app
launches on the car screen. You have a few seconds after launch before
we show this timeout screen.
The first thing I do when starting the app is to set up this delegate and data source, so that's not the issue. Maybe something related to setting up CarPlay changed in the iOS 13 SDK.
Xcode 11 and Xcode 11.1 seem to contain a broken CarPlay implementation. Xcode 11.2 (beta-1) seems to work much better here. That said, the CarPlay simulator is finicky anyways and you should really use a real head unit to test your programs. I have found simply closing and reopening the CarPlay simulator to help with many issues, btw.
Still the same issue here with XCode 11.2.1
Anybody found a solution?
The CarPlay simulator has always been a total disgrace - for years!

Xcode 10 storyboard UI components are not visible and painfully slow?

My code was working fine (showing UI properly) when I had Xcode 9 and I removed it from the application folder (could not update as it had installed using another apple id) and reinstall the Xcode 10 from the Appstore.
Now Xcode storyboard not showing any added UI elements colors or anything and I removed Xcode 10 and installed Xcode 9 again but problem remains same.
UI screen shot of storyboard.
I tried removing Xcode in this way:
/Applications/Xcode.app
/Library/Preferences/com.apple.dt.Xcode.plist
~/Library/Preferences/com.apple.dt.Xcode.plist
~/Library/Caches/com.apple.dt.Xcode
~/Library/Application Support/Xcode
~/Library/Developer/Xcode
~/Library/Developer/CoreSimulator
Then I tried installing macOs Mojave and install XCode 10 again from the Appstore. Issue still remains. I tried cleaning derived data, xuserdata and everything.
Try cleaning your project using "Command + K"
and run your project again!
Hope it works!
I encountered the same issue that you are facing in my case i had xCode 10.0 installed and everything was working fine. As soon as I installed version 10.1 I faced the same issue that you're facing but the good thing was i had xCode 10.0 installed at the same time so I switched back and everything was working fine.
From my point of view my system(Mac-mini mid 2011) was lacking hardware specification that was required for xCode 10.1 also had very low graphic processor in my mac mini. If you install the same version in a MacBook or any other system having higher specification you'll face the issue. I hope that helps.
I was stuck on this all day. One of my coworkers suggested removing occurrences of IB_DESIGNABLE & #IBDesignable. This fixed the issue for me. It still lags sometimes but doesn’t go invisible anymore.
If you have multiple xib files then just try to switch between or Try moving to launchScreen storyboard and then switch to main storyboard. I think this is just loading issue.
Reinstall Xcode. That worked for me.
Click on library button(Circular Button) which is left to hamburger sign(Top Bar Right Side). Elements will be popup on your screen then you can choose elements.
try
xcrun simctl erase all
it helped me with the same problem

XCode 9.1 - Location simulation went missing

I just updated my XCode to 9.1 today, and surprisingly I can't find "Allow location simulation" in scheme setting, please refer to the screenshot below:
Has any one got the same problem? And any suggestion that I can fix it?
Apple's getting worse and worse lately.
I had this issue as well and the fix was to run the application in the Simulator and then go to Edit Scheme while the Simulator was running and the Core Location option magically reappears.
I just tried restarting XCode and running/stopping the app several times, then the checkbox magically appeared.
I've also fired a radar to Apple anyway.

Xcode macOS Sierra text formatting bug

Every time I try to create a new project/ class I encounter this text formatting bug. It started happening right after Sierra update. Should I reinstall Xcode or is there another solution I'm unaware of?
Updating to XCode 8 fixed this for me.

Resources