This tag should only be used for questions specific to the usage and features of Xcode 13. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific [xcode] tag. Use tags appropriate for the OS such as [ios] or [macos].
Questions tagged [xcode13]
459 questions
-1
votes
1 answer
How to use a different version of Command Line Tools while using Xcode 13
I was using Xcode 12.4 with Command Line Tools 12.4, but I've seen other versions that I could choose in this screen shot.
However, now that my Mac was updated to Monterey, I'm forced to use Xcode 13 and I can't run my project anymore.
Can I change…

Fernanda Caleffi
- 3
- 2
-1
votes
1 answer
I cloned the project with git. And now the error "Cannot find 'NewsTableViewController' in scope" appears
I cloned the project with git.
And now the error "Cannot find 'NewsTableViewController' in scope" appears
I saw that there is no Target membership in the file attribute inspector with the error. So I don't understand how I can add it there -…
-1
votes
1 answer
Xcode 13 Warning - [NSKeyedUnarchiver validateAllowedClass:forKey:]
I am using File Storage system for saving some data models confirming to Codable Protocol.
My Save function is as below:
func save(value: T, for key: String, on path: URL) throws {
let url = path.appendingPathComponent(key,…

the monk
- 389
- 4
- 14
-2
votes
1 answer
XCode 13.4.1 - SwiftUI iPhone simulator does not display content (white screen)
As the heading states, I do not get the contents on my live preview appearing on the simulator. The issue does not seem to stem from a syntax error, as the simulator runs perfectly fine. Current solutions I have found have been completed using the…

Wuki
- 11
- 6
-2
votes
1 answer
Swift gives me "unrecognized selector sent to instance 0x7fe985706fd0" after pressing a button
The code is:
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
@IBAction func testButton(_ sender: UIButton) { …

ZweiLinkeSchuhe
- 1
- 5
-2
votes
4 answers
Remove White Screen Before Loading WebView in Xcode13?
Need to Remove Whitescreen before loading webview in iOS, tried webview opaque.
Even after adding Splash Screen & launch screen, I'm still getting the white splash before LOADING Webview URL.
import UIKit
import WebKit
class HomeViewController:…

gajuu
- 1
- 3
-2
votes
2 answers
Simple SwiftUI Application
So my swift code is doing the task that I want it to by creating a list, and my users are able to click onto that list that takes them to the 2nd screen but it isn't taking me to the destination that I want it to go to which is "DetailView" and then…

Wen Love Howard
- 23
- 7
-2
votes
1 answer
os_log not working in Xcproject old build with new Xcode 13
os_log api is being called in xcproj but was not able to see any logs in the console. It used to work in Xcode 12.x after I used Xcode13 RC then not able to see logs in the console
os_log("%{public}@", log: log, type: type, message) not logging any…

SreekanthI
- 393
- 3
- 13
-5
votes
1 answer
Cannot import OUTLET from Storyboard to ViewController
I try to CTRL CLICK DRAG my view from my storyboard. My class is well set as viwcontroller for the view cannot be imported as outlet...
Any Help ?