Questions tagged [xcode13]

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].

459 questions
0
votes
0 answers

How to enable my own documentation in Xcode?

I am developing in Swift an iOS App and want to write my documentation about code and concepts within Xcode using the Documentation catalog feature. I created a documentation catalog within my Swift-project. I created two files named…
tjati
  • 5,761
  • 4
  • 41
  • 56
0
votes
1 answer

Xcode 13 Swift Package Manager Dependency Command CompileSwiftSources failed with a nonzero exit code Error

I'm getting a build error when trying to build my Swift Package Manager package: Command CompileSwiftSources failed with a nonzero exit code This always occurs on the dependencies of my package such as KeychainSwift & ReactiveKit (tho I've seen it…
Charlie Fish
  • 18,491
  • 19
  • 86
  • 179
0
votes
0 answers

afet update xcode 13 color previews not showing

Previews of colors disappeared after xcode 13.1 update. Preview works when set as variable. but the previews directly in the code are no longer visible. What can I do to see color previews? struct SwiftUIView2: View { @State var color =…
ursan526
  • 485
  • 3
  • 10
0
votes
0 answers

cfbundledisplayname not change

I have an application that I developed with swift. I changed cfbundledisplayname in info plist. I changed the display name in the build setting. I changed the name on the certificate. When you login to facebook, the name of the project appears. I…
ursan526
  • 485
  • 3
  • 10
0
votes
0 answers

Xcode: Editing a Package Dependency of a Package project

This page explains how to check out a modifiable repo of a package dependency used by a traditional Xcode project to let you edit the package directly in your project. However, it doesn't seem to work if your host project is also a Package and not a…
Rick
  • 3,298
  • 3
  • 29
  • 47
0
votes
2 answers

Test Target not compiling on XCode 13

We are trying to migrate our code from XCode 12 to 13. Our code and all dependencies were compiling on XCode 12. However, since we moved to XCode 13 our unit test target is not compiling. We are using the following: XCode 13.1 Mac OS 11.6 Carthage…
i.am.it
  • 21
  • 3
0
votes
0 answers

How can I create a segue that change only view?

I'm creating macOS app whit Xcode but when create a segue of type Show he open a new window. i want that it change only view whit out creating new window. i already tried all the other segue type. I'm using: Xcode 13.1, Swift 5.5 and Swift…
user17442446
0
votes
0 answers

Why is my UICollectionView not loading cells?

I have a view controller in my app that plays user videos and you can scroll to the right to go to the next video. I have a cell set up that loads the video from the URL in firebase storage and loads the other data. Here is the cell code: import…
Globe
  • 514
  • 3
  • 17
0
votes
1 answer

SwiftUI NavigationBar empty space under the title

I was working on Xcode 12 and upgraded to 13. Now I'm seeing a weird empty space under the navigation bar title text. I have shared some screenshots. Here is the another image that have the scrollview, and the navigation bar is overlapping it. Here…
Asif Mushtaq
  • 3,658
  • 4
  • 44
  • 80
0
votes
0 answers

XCode 13.1 very slow on large class

I have downloaded recently XCode 13.1 and Monterey 12.1 to my Macbook Pro 2019 i9. In some large classes like 2000 lines and more, XCode slows down and writing code becomes big pain. Sometimes I cannot even write because it is so slow. Also I often…
birdcage
  • 2,638
  • 4
  • 35
  • 58
0
votes
2 answers

Can you change info.plist inside a Run Script in Xcode's Build Phase?

I'm trying to add a value to my Info.plist inside a Build Phase Run Script: /usr/libexec/PlistBuddy -c "Add :BuildDate date `date`" "${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}" # For debugging: cat "${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}" | grep…
jeff-h
  • 2,184
  • 1
  • 22
  • 33
0
votes
0 answers

std::hash redefinition error in STL after upgrade to Xcode13

Don't see any reason to have such error. What it can be? Here the compiler call with includes and object files name omitted > /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang > -x objective-c++…
Dcow
  • 1,413
  • 1
  • 19
  • 42
0
votes
1 answer

How to change(Remove/Add new pod) specific pod with out changing other dependencies?

I know this question is duplicate, but latest answer is not available. I have tried so many options to achieve this, but no use. I want to update my Firebase SDK from my old project. pod install --no-repo-update this is older one, when i tried it's…
Naresh
  • 16,698
  • 6
  • 112
  • 113
0
votes
1 answer

UIDatePicker on iOS 15 stops showing era when Japanese calendar is used

My UIDatePicker uses either Gregorian calendar or another calendar of user's choice. When they choose Japanese calendar, the picker shows years with era like this: "平成30年" or "令和2年”. This was working fine until iOS 14. Now on iOS 15, it's just "30"…
tsuyoski
  • 614
  • 5
  • 22
0
votes
1 answer

Mixed Language documentation generation in Xcode Framework

I have created a sample objective c framework in Xcode where I also created a swift file. This is the navigation controller showing one swift file and another objective c class (NewFramework). When I try to build documentation for the framework, I…