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
0
votes
0 answers
1 HomeViewController.actnShare() Testflight crash
I had an app crash from a test flight user. I cannot replicate the issue and was having trouble narrowing it down. Any help or suggestions is appreciated!
Here is where the issue is according to xcode:
HomeViewController.actnShare()
@objc func…

Thomas Valenzuela
- 71
- 2
0
votes
0 answers
Xcode 13 translatesAutoresizingMaskIntoConstraints crashes app
I have several views implemented programatically in the app without using storyboard.
let customView = UIView()
actionSheetHomeCall.view.addSubview(customView)
customView.translatesAutoresizingMaskIntoConstraints = false
…

Lak
- 381
- 1
- 5
- 23
0
votes
1 answer
Looking for a stable way to store a large static constant in XCode 13/Swift 5
The Situation: I have a simple word game that uses an English language dictionary (the language dictionary) to provide definitions (in a dictionary data structure, the code-dictionary). Apple's APIs won't do what I need and I could not find a…

AnonymousUser7363
- 23
- 5
0
votes
2 answers
ITMS-90893: Missing required icon
The ios app targets ios 12 and contains multiple schemes.
Since last week, I am getting the following build rejection emails from apple:
ITMS-90893: Missing required icon - The bundle does not contain an alternate app icon for iPad of exactly…

Praharsh Bhatt
- 556
- 5
- 24
0
votes
1 answer
Xcode 13 Build failed Command COmpileSwiftSources failed
I was using Xcode 12.5.1 for my iOS App which has iOS Deployment Target iOS12 it was working fine
After I tried to open this project in Xcode 13 I got multiple errors in some libraries like "ImagePicker", "Kingfisher", "FittedSheets"
The error:…

LDropl
- 846
- 3
- 9
- 25
0
votes
2 answers
Xcode 13.3 started giving Error: missingKey("url") for SPM based app
My app using SPM package dependencies used to throw a different error on Xcode 13.2.1. When I switched to use Xcode 13.3, I suddenly started getting
Error: missingKey("url")
Has something changed with Package.swift syntax in Xcode 13.3 that would…

Parth
- 2,682
- 1
- 20
- 39
0
votes
1 answer
Xcode13.2.1 M1 build executable not found
I ran into the infamous "executable not found" error when building on the new M1 mac machine (Monterey) on Xcode 13.2.1. I should note I am building an extension (not sure if that makes a difference), the build would be successful and the error…

OLIVER.KOO
- 5,654
- 3
- 30
- 62
0
votes
1 answer
Swiftui size images remains the same when zoom background
I am using part of the following repo: https://github.com/pd95/CS193p-EmojiArt
Have modified some of the code, as I am using images instead of Emojies, but the size part I can't figure out.
The Emojies use size with a same number for width and…

udarts
- 745
- 1
- 8
- 23
0
votes
0 answers
How to split StoryBoard and Code for UITableViewCells in Xcode 13?
How can I split Xcode view as Storyboard and code? ViewControllers are ok just by pressing ctrl + option + command + enter. But it doesn't work for Tableview cells. The code still showing to VC class instead of Cell class. Any Help?

Zin Win Htet
- 2,448
- 4
- 32
- 54
0
votes
0 answers
How to keep track of time from foreground to background mode
In my app I have to keep track of app idle time so that when app goes into background current idle time should be saved as I have to call an api from background when app timeout period is exceeded.
Currently we have just set a timer to logout app &…

jayant rawat
- 318
- 2
- 12
0
votes
1 answer
List rows with buttons onTapGesture
I have a List with some rows and some Buttons. I want to play different sounds for each button.
struct ContentView: View {
let rows = Row.all()
var body: some View {
List {
ForEach(rows) { row in
HStack(alignment:…

Chris L
- 87
- 10
0
votes
1 answer
NSException with launching main file
I am a new programmer for Swift. I followed a tutorial to get a little setup, but then most of the other coding I did myself. I am a long time python programmer, and I am a little lost on the errors I am getting. I removed a few files from the…

Tomas Reyes
- 1
- 1
0
votes
1 answer
Swift OSX- View Loading Late (viewDidLoad) (applicationDidFinishLaunching)
Thanks for the help!
Whenever I enter any code after viewDidLoad or applicationDidFinishLaunching, my view is delayed until after that code has finished. Also tried viewDidAppear.
*Not Using SwiftUI
*Running Big Sur Xcode 13.2.1
Let's say I've…

Nick Swoboda
- 9
- 2
0
votes
1 answer
React Native IOS App works fine on IOS version 15 and 14 but crashes on splash screen for IOS 12 and 13
When I am running my react native app on IOS 14 and 15 versions, it works fine. But when I run my app for IOS 12 and 13, it fails on Xcode with the following error:
dyld: Library not loaded: /usr/lib/swift/libswiftWebKit.dylib Referenced from:…

Pravesh Choudhary
- 93
- 1
- 1
- 11
0
votes
1 answer
SwiftUI - ScrollView and TextEditor Height Not Working
I'm posting this question again, with a simplified view of my code and views. I'll delete the old one since I think I didn't explain my issue properly there (and it has no answers yet).
I'm trying to position a HStack with an initial height at the…

SWIFTDEV
- 1
- 2