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].
Questions tagged [xcode14]
351 questions
9
votes
1 answer
Add Language in Xcode 14.1 Simulator problem
I updated my Xcode to 14.1. but when I want to add a language in Setting, it stays on this page and I can't do any thing.
All I can do is Erase All content and Setting to return to normal state. It works on my MacBook Air M1, but no on my MacBook…

Sajjad
- 1,536
- 2
- 17
- 31
8
votes
2 answers
EAS local builds not working with Xcode 14
I believe this is what's happening:
My MacOS system updated and subsequently, Xcode was updated to version 14. Ever since that happened my eas local builds no longer complete successfully. Submitting builds to the eas build system still works, but…

Umer Kiani
- 3,783
- 5
- 36
- 63
8
votes
5 answers
iOS16+ Present UIViewController in landscape only for single screen not working [Swift 5.7]
Before iOS 16 presenting a single screen in landscape is fine for portrait application. The working code is as below.
Remark: Whole application is in Portrait mode only.
override public var shouldAutorotate: Bool {
return false
}
override…

Chetan Prajapati
- 2,249
- 19
- 24
8
votes
4 answers
Looking for iOS 15.7 support files for XCode14
My iPhoneXR updated to 15.7, and XCode updated to 14. Which happened right as MacOS was updating, so I'm wondering if something got wonked with the XCode update. Now I can't program my phone.
Looking…

Travis Griggs
- 21,522
- 19
- 91
- 167
8
votes
2 answers
upgrade xcode14 error build: Dependency for P1:target-
Does anyone have the same problem?how to fix it? thanks.

ht_
- 101
- 4
8
votes
0 answers
Hide navigation bar in iOS16 + xcode 14 beta not working
We use Firebase's Crashlytics and in the last 2 days we've seen a spike in crashes with navigationController?.setNavigationBarHidden on iOS 16 devices. I was able to reproduce the crash after installing Xcode 14.5
I have a view controller (VC1)…

josealvarado111
- 565
- 1
- 9
- 24
8
votes
12 answers
error build: Cannot link directly with dylib/framework XCTAutomationSupport for architecture arm64
I am using Xcode Beta 14, tring to build WebDriverAgent
getting below errors
WebDriverAgent/Build/Products/Debug-iphoneos/WebDriverAgentLib.framework/WebDriverAgentLib
ld: cannot link directly with dylib/framework, your binary is not an
allowed…

Solid Soft
- 1,872
- 2
- 25
- 55
7
votes
4 answers
Xcode 14 is not getting attached to Simulator in Debug mode
While debugging any iOS application, Xcode builds and run successfully, also launches a simulator but it is not able to attach debugger from Xcode 14 to Simulator iOS app.
It throws an error in Xcode:
Xcode console says:
Could not attach to pid :…

Mrunal
- 13,982
- 6
- 52
- 96
7
votes
0 answers
Can't print(po) through Xcode 14 debugger
My project was fine until I upgrade my Xcode to Xcode 14, after I upgrade my Xcode a few week, now that every time I try to debug and print it always show error like below and I can't figure it out why:
warning: Swift error in scratch context:…

Rattanakoudom Sambath
- 306
- 3
- 9
7
votes
2 answers
Xcode 14 project compile error:com.apple.xcode.tools.swift.compiler is not absolute
There was no error in Xcode 13 but I am starting to get error below after upgraded to Xcode 14.This error doesn't seem to stop build from completing successfully.
error build: Dependency for…

OrrHsiao
- 73
- 1
- 4
7
votes
1 answer
Xcode 14 Beta 5 throws an exception
Xcode 14 Beta 5 shows this exception:
[<_UINavigationBarContentViewLayout valueForUndefinedKey:]: this class is not key value coding-compliant for the key inlineTitleView.
I am getting this new exception in all my obj-c projects while using Xcode 14…

Joshua
- 1,974
- 2
- 23
- 39
7
votes
1 answer
How to get an iPad's device name on iOS16?
UIDevice.current.name it's worked if used iOS15, but when I tested on iOS16 (beta3)
still return 'iPad' name all the time.
See related WWDC 2022 video…

Uthen
- 627
- 2
- 9
- 17
6
votes
0 answers
Is this an Apple compiler v14 optimization bug?
Source code:
#include
static const char encodeBase64Table[64 + 1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
int main() {
// create decoding table
unsigned long invalid = 64;
unsigned long…

Nehal J Wani
- 16,071
- 3
- 64
- 89
6
votes
3 answers
SwiftUI navigation bar items frame are misaligned after sheet dismiss
Navigation bar buttons are not tappable after dismissing a sheet in SwiftUI. Below is the steps to reproduce the issue
Present a sheet,
Move the app to background for a short duration (2 seconds)
Resume the app & dismiss the sheet by swiping…

Mohammed Shakeer
- 1,446
- 16
- 23
6
votes
0 answers
Playground string interpolation
Xcode 14, in a playground (with import UIKit):
let uuid = UUID().uuidString
let boundary = "Boundary-\(uuid)"
Fine. But uuid isn't really needed, so let's collapse that into a single line:
let boundary = "Boundary-\(UUID().uuidString)"
That…

matt
- 515,959
- 87
- 875
- 1,141