Questions tagged [xcode14]

This tag should only be used for questions specific to the usage and features of Xcode 14. 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].

351 questions
15
votes
1 answer

Xcode 14 unit testing clone simulator

In Xcode 14, running unit testing seems to be creating simulator 'clones' (named 'Clone 1/2.. of iPhone'). On older machines, this can take a long time. This is happening every time when switching from running the App and running tests. For example,…
bauerMusic
  • 5,470
  • 5
  • 38
  • 53
15
votes
4 answers

How do you fix Xcode 14 warning: NavigationLink presenting a value must appear inside a NavigationContent-based NavigationView. Link will be disabled

Since installing Xcode 14, I am now getting the following error message printed in my console: NavigationLink presenting a value must appear inside a NavigationContent-based NavigationView. Link will be disabled. My app is structured as…
15
votes
5 answers

iOS 16 Scene orientation issue

I always received this error when I tried to allowed only portrait orientation on my controller: Error Domain=UISceneErrorDomain Code=101 "None of the requested orientations are supported by the view controller. Requested: landscapeLeft; Supported:…
Hatoine
  • 151
  • 1
  • 1
  • 3
14
votes
4 answers

When compiling with Xcode14 I get Error unsupported Swift architecture. How to solve this?

After switching to xcode 14 build system. Generated headers for our pod frameworks start looking like that: #if 0 #elif defined(__arm64__) && __arm64__ // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50) ... bridging…
14
votes
4 answers

Xcode 14 - Cannot code sign because the target does not have an Info.plist file

I am using cocoapods in my project and it was working fine but after upgrade to Xcode 14 it is giving different kind or errors. Firstly it was asking for bit code and later asked for the development team which I resolved using following script in…
Hassy
  • 5,068
  • 5
  • 38
  • 63
12
votes
2 answers

How to remove "search web" option for selected text iOS 16 xcode14 beta

I'm having trouble removing this tick when text is selected, I've tried this: class CustomUITextField: UITextField { open override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool { return false } } which…
Pontus
  • 44
  • 13
12
votes
5 answers

iOS 16 Simulator: Running an app in the simulator results in a ".xpc error"

After updating to macOS 13.0 Beta and installing Xcode 14.0 Beta we run an app where we set the target OS to 16. The following error occurs: The iPhones simulators won't start either when started manually: Here the detailed error message…
11
votes
3 answers

No matching function for call to 'RCTAppSetupPrepareApp'

When running Archive in XCode 14.2 of react native code we run into this error in AppDelegate file. No matching function for call to 'RCTAppSetupPrepareApp' I am using react native 0.71.7, react-native-cli: 2.0.1, and node 18.13.0 The code was…
Manish Sharma
  • 111
  • 1
  • 3
11
votes
2 answers

Xcode Account Authentication Failure

There is a problem when I'm trying to sign in to my Apple ID account. Re-signing in doesn't help. Xcode 14.0
Fedor Pashin
  • 121
  • 1
  • 7
11
votes
4 answers

Open simulator xcode 14 by Rosetta to fix scroll

I just updated to xcode 14, and it seems the simulator can't run with Rosetta to fix scroll lag. Does anyone have a solution that can help me? thank you This is photo can not open by Rosetta is here Update: Thanks for all you guys help We have 2…
Dagg Tuan
  • 113
  • 1
  • 9
10
votes
3 answers

Mutation of captured var in concurrently-executing code

I had an issue in Swift 5.5 and I don't really understand the solution. import Foundation func testAsync() async { var animal = "Dog" DispatchQueue.main.asyncAfter(deadline: .now() + 2) { animal = "Cat" print(animal) …
Jere
  • 103
  • 1
  • 6
10
votes
2 answers

Xcode 14 and missing sync with CFBundleVersion edit in Info.plist during Build/Archive

In my iOS apps, i have a script (a build phase actually) that upgrades the target's Info.plist CFBundleVersion to a number related to the git commit count. I've been using for a while and it works for me, never a problem. On Xcode 14, something has…
lucadb
  • 422
  • 1
  • 6
  • 15
10
votes
1 answer

How do we get visual representation of core data in Xcode 14?

There used to be editor style button which is completely missing in Xcode Version 14.0 (14A309), earlier it was broken but at least after few try it use to work.
Kraming
  • 217
  • 3
  • 8
10
votes
4 answers

Xcode 14 removes shortcut for comment selection on European keyboards

Normally the shortcut is "⌘⇧/". But being that "/" is on the "7" key on a Danish keyboard, this shortcut now opens the Help menu - ironically. Manually adding it as a key binding does not help. As far as I remember, the exact same thing happened…
Zappel
  • 1,612
  • 1
  • 22
  • 37
9
votes
3 answers

Build failed after upgrading Xcode 14.3

After upgrading Xcode 14.3 my flutter run failed to run on iOS specifically but I am able to run on Android. I am getting following error: Failed to build iOS app Error output from Xcode build: ↳ 2023-04-03 17:29:33.364 xcodebuild[97688:923371]…
Code Hunter
  • 10,075
  • 23
  • 72
  • 102
1
2
3
23 24