'Unabled to create single view ios app in xcode
I am new to ios/xcode and I was trying to follow through the new SwiftUI tutorial. The first one has you create a ios single view app . However when I go to xcode under the ios filter that, among others is not an option for me: I have verified that my xcode is up to date via app store. Is this due to me not having a paid developer account? Are those templates in a beta channel of xcode?
Solution 1:[1]
Answering, as per the OP...
The tutorial in question was done using Xcode 11
In Xcode 12, there is no longer a Single View App option — it has been replaced with simply “App”
Solution 2:[2]
Select app and then in the next screen select "Storyboard" in the "Interface" drop down menu. That will create what you need (mainly the Main.storyboard file) for the single view app. (see the linked screenshot here below) enter image description here
Solution 3:[3]
I don't think the "App" template that @donmag mentions is exactly the same (I don't believe it gives the same folder structure). I have a template on github for the Single View App that should match the folder structure you need, if you're still looking for that: https://github.com/jcross0204/ios-single-view-app-template/tree/master
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | DonMag |
Solution 2 | Edoardo Jacucci |
Solution 3 | E_net4 - Krabbe mit Hüten |