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
8
votes
2 answers
SwiftUI unable to restrict to landscape only
I am trying to build a landscape-only app in Xcode 13 and SwiftUI. I notice even if I have unchecked "Portrait" orientation, the app will still work in portrait mode. I am unable to force the app to work in landscape mode.
This is the Device…

mkto
- 4,584
- 5
- 41
- 65
8
votes
3 answers
iOS Realm: file does not start with MH_MAGIC[_64], fat file, but missing compatible architecture (have 'x86_64,i386', need 'x86_64'))
I have updated mac to 11.6 and xcode to 13.0. Realm could not compile so I updated it with carthage to v10.15.1. Now I get this runtime error just after the app launch:
Library not loaded: @rpath/Realm.framework/Realm
Referenced from:…

Simon Moshenko
- 2,028
- 1
- 15
- 36
8
votes
2 answers
Adding custom font to Xcode 13+
Now that Apple has taken away the Plist, naturally it has changed the way we add custom fonts to our app. Before we just added the file to our bundle and set a property for it and our plist and viola..
Now I am curious.. can it be done without…

Sergio Bost
- 2,591
- 2
- 11
- 29
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
4 answers
How To Solve App Store Connect Organizer Warning "Your version of iTMSTransporter will be updated in approximately ... days" Error?
I have uploaded a build through the xCode organizer and It shows the error "Your version of iTMSTransporter will be updated in approximately ... days"
As it shows, Upload the archive with warnings thought it was not available in the App Store…

KZoNE
- 1,249
- 1
- 16
- 27
7
votes
5 answers
Flutter Doctor gives Bad Cpu Type in executable
I'm using Mac mini , MacOs monterey and m1 chip. When trying to setup flutter, it is giving error.
command: flutter doctor
o/p: /Users/admin/Desktop/flutter/bin/internal/shared.sh: line 229: /Users/admin/Desktop/flutter/bin/cache/dart-sdk/bin/dart:…

Taniksha Sharma
- 69
- 1
- 5
7
votes
2 answers
setNavigationBarHidden not working on iOS 15
I'm having troubles with the method setNavigationBarHidden, it doesn't seem to work properly on iOS 15.
I am currently working with this structure:
A ViewController, which needs the navigationBar
Another ViewController, pushed from the previous…

Libreage
- 71
- 3
7
votes
4 answers
Xcode debug on iOS15 - blank white screen and minutes delay before App starts
Since upgrading my iPhone to iOS 15 and upgrading to Xcode 13 on my Mac, I have a problem with testing/debugging ANY SwiftUI app using Xcode. Even a new Xcode project with the simple "hello world" example behaves this way when the Xcode "Start"…

Gerard
- 1,807
- 4
- 13
- 20
7
votes
1 answer
Frameworks version number in plist are changed by XCode 13 when app is published on apple store or testFlight
I use a self made framework with its version number set in the info.plist file. It corresponds to the field "Bundle version string" or CFBundleShortVersionString.
When I publish an app on testFlight with XCode 13, I've noticed the version number of…

Stéphane Padovani
- 1,157
- 2
- 9
- 16
7
votes
1 answer
Xcode 13 quick help window not launch on custom objects
Ever since I downloaded Xcode 13 I have been unable to see the quick help window (option click) for objects/functions/variables I have created.
I can see the quick help window for other swift frameworks (option clicking tableView works, for…

Ungrace
- 214
- 2
- 12
7
votes
1 answer
iOS 15 Gap between navigation bar and table view
With iOS 15 beta and Xcode 13 beta 2 some custom UITableViewControllers has decided to add padding between the navigation bar and the table view.
Steps to reproduce:
Add two UITableViewControllers so the structure looks like this:…

dumle
- 79
- 1
- 4
7
votes
3 answers
React Native 0.64-65 with XCode 13 build error - could not find auto-linked library swift_Concurrency or swiftFileProvider
Anyone else getting this since upgrading to XCode 13 Beta and macOS 12 Beta (Monterey)?
XCode 12.5 still builds successfully with RN 0.64.2 and 0.65.0-rc.2.

Leo
- 10,407
- 3
- 45
- 62
6
votes
2 answers
ToolbarItemGroup in .toolbar {} doesn't work in a Sheet
I'm using SwiftUI 3.0, Swift 5.5 and Xcode 13.2, tested on iOS 15.3 iPhone device, and iOS 15.2 iPhone simulator.
I have tested the following.
This is a view, with a TextField, a focused state and a .toolbar
import SwiftUI
struct test: View {
…

Sam Chahine
- 530
- 1
- 17
- 52
6
votes
4 answers
Error 'compile swift source files (arm64)' when building project with Xcode 13
I am developing an app with Xcode 13.0 (13A233) on Macbook with an M1 chip. After updating pods to the latest version, the pods are complaining about error
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Alamofire'…

Nirmit Dagly
- 1,272
- 1
- 12
- 25
6
votes
1 answer
Xcode 13 stuck on indexing after new update
i have clear derive data folder, clean, and rebuild project again but still stuck after indexing and not able to run the project on simulator and real devices.

Muhammad Nawaz
- 1,113
- 6
- 15