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
335
votes
36 answers
Missing file libarclite_iphoneos.a (Xcode 14.3)
After installing Xcode 14.3 in order to run my app on my iOS 16.3 iPhone XS. I get the following error:
File not found: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
How can I…

Justin A
- 3,891
- 2
- 18
- 22
126
votes
4 answers
Xcode 14 deprecates bitcode - but why?
Xcode 14 Beta release notes are out, all thanks to the annual WWDC.
And alas, the Bitcode is now deprecated, and you'll get a warning message if you attempt to enable it.
And I was wondering, why has this happened? Was there any downside to using…

Isaaс Weisberg
- 2,296
- 2
- 12
- 28
80
votes
2 answers
Use of bitwise '|' with boolean operands | XCode 14.3 fails builds using react-native Yoga
Just updated my XCode to Version 14.3 today and build is failing with below error in Yoga file
Use of bitwise '|' with boolean operands
Looks like we have some issues with iOS yoga package. I don't want to rollback to lower version again. If someone…

Mitesh Baraiya
- 2,095
- 2
- 3
- 11
66
votes
19 answers
Missing file `libarclite_iphoneos.a` in Xcode 14.3 after update flutter and Xcode
I have flutter project, I'm trying to run the iOS version but I get error after I update flutter and Xcode to the latest version, I use firebase core plugin
error:
Could not build the precompiled application for the device.
Error (Xcode): File not…

Ahmed Hnewa
- 1,185
- 1
- 4
- 14
63
votes
2 answers
In Xcode 14 & iOS 16 purple warnings starting with 'This method should not be called on the main thread as it may lead to UI unresponsiveness.'
When loading the URL in WKWebView, it leads to a security warning and later app gets crashes.
Warning in UIApplicationMain -
This method should not be called on the main thread as it may lead to UI unresponsiveness.
How can I resolve this issue?

PrasathBabu
- 4,716
- 4
- 19
- 35
34
votes
10 answers
Xcode 14: Command PhaseScriptExecution failed with a nonzero exit code
After updating my Xcode to the version 14.0, I am getting this error:
Command PhaseScriptExecution failed with a nonzero exit code
If anyone knows how to resolve it, please let me know.

Aqib shahzad
- 491
- 1
- 4
- 11
32
votes
4 answers
Upgrade from xCode 14.2 to 14.3 PhaseScriptExecution failed with a nonzero exit code
I've upgraded from xcode 14.2 to xcode 14.3 beta, and now I can't archive anymore for Any iOS Device (arm64) with the following error :
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks
mkdir -p…

Maxime Esprit
- 705
- 1
- 8
- 29
27
votes
8 answers
Xcode 14 beta error: Stored properties cannot be marked potentially unavailable with '@available'
I get this error when I run my app on Xcode 14 beta and I don't know how to fix it:
Stored properties cannot be marked potentially unavailable with '@available'
It doesn't pop up when I run Xcode 13, and the app runs smoothly. I am in the…

bmeikle
- 291
- 1
- 3
- 5
25
votes
6 answers
Charts not compile on Xcode 14
I am facing following errors in library -
Type 'ChartDataSet' does not conform to protocol 'RangeReplaceableCollection'
Unavailable instance method 'replaceSubrange(_:with:)' was used to satisfy a requirement of protocol…

Saurabh Sharma
- 1,671
- 2
- 13
- 16
25
votes
3 answers
Main thread warning with CLLocationManager.locationServicesEnabled()
I just upgraded to Xcode 14.0 and when I run our app on iOS 16 devices, calls to:
CLLocationManager.locationServicesEnabled()
Are returning the warning:
This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider…

nurider
- 1,555
- 1
- 18
- 21
24
votes
3 answers
App size increased(almost doubled) with Xcode 14 and Bitcode Disabled
Apple has deprecated the usage of Bitcode and is longer accepting any submissions with Bitcode enabled apps starting from Xcode 14. We at PhonePe disabled Bitcode and uploaded the app to the App Store connect via Xcode 14 and now seeing a very high…

Srikanth
- 1,861
- 17
- 29
22
votes
0 answers
Xcode 14.1: Error: UINavigationBar decoded as unlocked for UINavigationController, or navigationBar delegate set up incorrectly.?
What does it mean ? I haven't added UINavigationBar in my project. UINavigationController is embedded through editor -> Embed In -> Navigation Controller.
[Assert] UINavigationBar decoded as unlocked for UINavigationController, or navigationBar…

SwiftNewbie
- 285
- 1
- 9
21
votes
2 answers
Why doesn't clearing the new iOS 16 SwiftUI NavigationPath to "pop to root" animate smoothly back to the root view?
I have a new iOS 16 SwiftUI NavigationStack with navigation determined by the NavigationDestination modifier which works fine.
My question is why doesn't it animate smoothly by sliding back to the root view when clearing the NavigationPath if you…

Mgwd
- 452
- 3
- 10
19
votes
5 answers
How to remove section header top padding in SwiftUI Plain List with iOS16
When we use SwiftUI List component and need a section header, top padding will appear on the header of each section.
Under iOS15, we use UITableView.appearance().sectionHeaderTopPadding = 0 to solve this problem.
Check out attachmentiOS15&Xcode14…

Eric
- 191
- 1
- 5
17
votes
1 answer
'init(destination:isActive:label:)' was deprecated in iOS 16.0: use NavigationLink(value:label:) inside a NavigationStack or NavigationSplitView
I have tried different iterations of examples posted on this site but nothing is going right.
I have also tried following the examples listed here:
Navigation to new navigation types:
I am getting the warning in this posts' title for deprecation of…

LizG
- 2,246
- 1
- 23
- 38