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
1 answer
Xcode 13 storyboard disappeared
When it disappeared, I was unhappily trying to add a field to a menu button on the storyboard. It compiles and runs but I can't see the storyboard anymore.

Code Singer
- 13
- 4
0
votes
0 answers
Why my SF Icons are automatically filled in Xcode 13 and Ios 15
In a Tabview, I am using SFICON
TabView {
NotificationsView()
.tabItem {
Image(systemName: "heart")
}
}
In the original SFIcon "heart" is not filled, but when I use it in the code it is filled.
Why do I get this?
How to fix it?
user9271631
0
votes
1 answer
Adding lines to parenthesis in Xcode as others code editors
how can I add lines to my code on Xcode as other code editors like the image below?

alch_coder
- 64
- 8
0
votes
1 answer
How do I set UIButton shadow color in Xcode 13 inspector?
How do I set UIButton shadow color in Xcode 13 storyboard ui element inspector?
I see only control for the text itself and for shadow offset. Thanks!

Anton Tropashko
- 5,486
- 5
- 41
- 66
0
votes
1 answer
How can I refer to the first file in an .xcfilelist within an Xcode build script?
How can I refer to the first file in an .xcfilelist within an Xcode build script?
If I list the files separately (instead of using an .xcfilelist) then I can use SCRIPT_OUTPUT_FILE_0 of course. However if I use a .xcfilelist instead, then how can I…

scaly
- 509
- 8
- 18
0
votes
0 answers
Deleting an object using list in swiftUI along with the data
I am trying to figure out the way to delete an item from the List in SwiftUI. I tried to use the .onDelete method, which removes the entry from the array, however I am unsure about how can I see the metadata of the item (i.e. object id or content)…

heavyguidence
- 363
- 1
- 8
- 23
0
votes
1 answer
Xcode Source Control doesnt track the changes
When I add a new file to xcode, sometimes it's source control doesnt track the changes of the newly added file. I can see the changes in SourceTree but not in xcode.
On below image, I should see a blue bar near the red area I marked. But I can't.…

artikes123
- 153
- 1
- 8
0
votes
1 answer
Trouble debugging react native IOS build error "ExpoModulesCore"
I've been running into an issue while setting up a build system for react-native using github actions on a M1 mac using fastlane.
I keep running into the following error:
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in…

paulrostorp
- 35
- 1
- 9
0
votes
1 answer
Adding a Second CollectionView
In my attempt to add a second CollectionView I have became lost. Here is my future project and I was essentially trying to duplicate that (The reason for the Second collectionView is so that I will have 4 rows, but the top two and bottom two will…

Dakota Davis
- 46
- 8
0
votes
1 answer
Getting issue while inspecting mobile app through Appium
Steps:
Running WebdriverAgent Lib, WebdriverAgent Runner, IntegrationApp in XCode then I am able to launch Simulator and app is also added but getting some issue in signing(debug)
When I am adding capabilities in Appium Inspector and trying to…
0
votes
1 answer
Tab Bar Icon Doesn't show when selected
I have a tab bar controller and I have set both images using assets for selected and unselected icons. The icons show up correctly in interface builder
when I spin it up on the simulator and that tab is unselected, it shows something like:
But as…

Bilal
- 558
- 8
- 18
0
votes
0 answers
swiftui localization of dynamic string from database
I'm localizing my app in swiftui using the Xcode auto generating localized string but I'm facing with a problem on how to localize a string that came from a database in my case Firestone
as is possible to see in the picture I have the description…

Nicola Rigoni
- 199
- 9
0
votes
1 answer
Searchbar Text color on viewDidLoad
Does anyone know why setting the text color of the search bar programmatically in viewDidLoad does not work and is requiring setting it to .white in viewWillAppear?
var searchController = UISearchController(searchResultsController:…

justdan0227
- 1,374
- 18
- 48
0
votes
1 answer
Xcode13/ SwiftUI: Object detection app iOS
I am building an object detection app using SwiftUI/Xcode and for image classification i used Resnet50. But there is an error. [init() is deprecated][1]. My code was
How to solve this issue. I am a beginner, please make it simple
//camera
let…

Mokki_33
- 3
- 2
0
votes
1 answer
Memory profiling a Rust binary with XCode 13.2.1
With an earlier version of Xcode, I was able to profile my Rust binaries' allocations following these instructions. It worked beautifully.
https://developer.apple.com/library/archive/technotes/tn2434/_index.html
Now, I'm using version 13.2.1, and…

Jeffrey Rennie
- 180
- 1
- 12