Use SwiftUI vanished from XCode New Project - xcode

I am running XCode 11.1 (Also on 11.0) on Catalina 10.15
Before upgrading to Catalina I remember having a use SwiftUI Check Box when we create a new project.
As in Apple Tutorial https://developer.apple.com/tutorials/swiftui/creating-and-combining-views
However, as you can see this does not exist for me. I have tried upgrading to 11.1 & restarting Xcode

It went to the User Interface setting. You can choose SwiftUI instead of Storyboard.

Related

How to assign dynamic text styles in Xcode 11?

Edit: Probable Bug. Seeking fix or workaround…
How can I get the system’s text styles to be available in the interface builder when using Xcode 11?
I just started using Xcode 11 this week. In the interface builder (storyboard mode), when I go to assign a dynamic type text style to a Label or Button, using the Font -> Style pop-up, all the text styles are missing from the popup menu.
I do have the Dynamic Type “Automatically Adjusts Font” checkbox checked, as well.
I’m not sure if this is a bug, an intentional change I can’t find documentation for, or something else.
The expected behaviour is described in Apple’s developer documentation “Scaling Fonts Automatically”. Specifically, in the “Configuring Text Styles Using Interface Builder” section.
Further exploration: I’ve tried it with new projects, old projects (from Xcode 10), projects targeting iOS 12.2 and 13.1. All had the same problem of no text styles in the popup menu.
I experience the same problem when upgrading from Xcode 11.0 to Xcode 11.1 or 11.2 beta 2:
Xcode 11.0:
Xcode 11.1:
I also filed a bug report (FB7415999) with Apple and also opened an issue with them.
**My curren solution at the moment is a downgrade to Xcode 11.0 for UI development and a parallel install of Xcode 11.2 beta for on device runs **
This is probably a bug in Xcode 11.1. I ran into the same thing and filed a bug with Apple (FB7368959). A colleague running Xcode 11.1 on Catalina did not have the same problem, nor did another running Xcode 11.1 on Mojave.
Here is a workaround that got me back on track: I opened the problematic project in both Xcode 10.3 and 11.2 beta. In both, the dynamic type styles were available in IB. I didn't change anything, but reverted to Xcode 11.1, and now the styles are there, too. Hopefully this works for Grant and anyone else that runs into this annoyance.
Edit Mar. 17, 2020: This problem has reoccurred for me on Xcode 11.3.1. It seemed to happen with a specific project, and the problem spread to a second machine as soon as I opened that project. My workaround didn't help when I opened the project in 11.4 beta 3.

Xcode 10.2 is not showing autocompletion

Recently I have downloaded Xcode 10.2 from the App Store. I started using it. And I observe that my Xcode is not showing autosuggestion or autocompletion when I am writing code.
Anyone have any idea about it ? Is I missed anything ? Should it required any extra settings like enable/disable or anything ?
I tried severaI havel differnent things:
Clear derived data
Restart Mac
Restart XCode
Rebuild
I'm using macOS 10.14.4

Xcode 10.1 not updates from 10.0

I just updated to the new Mojave and trying to compile our application to my new iPhone XMax but Xcode tells me:
Could not locate device support files.
This iPhone XS Max is running iOS 12.1 (16B92), which may not be supported by this version of Xcode.
After I checked the about sections of Xcode it shows that the version is: Version 10.0 (10A255).
If I'm checking the App Store it shows that the 10.1 is already out, but I cannot update. All buttons shows just the "open" not the "update". Cannot find any solution. How could it happens?
I didn't find any solution to fix this issue, so the only way was to move Xcode to the trash and then download the whole again...

Update to xcode 7.3 is not working

Is someone else having problems to update xcode 7.2 to 7.3?
Firstly there is no update option in App Store. I found a link at App Store xcode 7.3, this link will open your app store on the xcode page, after I press update, a loading spinner appears but after 2 hours of waiting nothing has happened Is there another way to update xcode?
Edit: There is no option update xcode in App Store
xcode 7.3 is not supported in OS lower than 10.11, You need to upgrade your OS to OS X 10.11 or later (El Capitan) and try to upgrade the xcode to 7.3
You can download Xcode yourself from https://developer.apple.com/downloads (an Apple Developer account required).
This is what you should see (I filtered the available downloads by typing "Xcode"):
I had the same problem while I was trying to update to Xcode 8.1 with Waiting.. status on AppStore under Xcode icon. What I has done to fix this is:
1) Go to https://developer.apple.com/download/
2) Press Lunch Application
And when it opens on AppStore, it will refresh the status from Waiting.. to Downloading...

xCode 6.4 crashes on El Capitan

I just downloaded El Capitan today and when I try to add a new view controller to my project, xCode crashes and I am unable to add any view controller to my project with I need. Is this happening to anybody else or does anybody have a fix for this? I have reinstalled xCode 6.4 multiple times and I do not want to use xCode 7 as I do not want to use Swift 2 just yet.
Xcode 6.4 does not work with OS X El Capitan. You need to download the Xcode 7.
Good luck!

Resources