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
1 answer

React Native with Xcode 13 throws: Error Analyzing App Version

I'm having problems uploading my app version since I upgraded Xcode to 13.3.1 The compilation succeeds as always, but when I'm doing the process of uploading and distributing to the App Store I get this screen with no explanation: I have cleared…
alacret
  • 572
  • 4
  • 19
0
votes
0 answers

How can I get an Integer out of a textfield in Xcode 13

Hi I am kinda new to Swift and coding at all. I need the input that the user gave in the textfield as an Integer. Can someone help me with that problem? struct FirstView: View { @State var score : String = "" var body: some View{ …
M fa
  • 1
0
votes
1 answer

I want to move placeholder text while typing the text in Textfield

I used the following code UITextField *email =[[UITextField alloc]initWithFrame:CGRectMake(48, 330, 330, 50)]; UITextField *password =[[UITextField alloc]initWithFrame:CGRectMake(48, 400, 330, 50)]; email.backgroundColor = [UIColor…
0
votes
0 answers

iOS 15 build by xcode 13 crash on collectionView performBatchUpdates

After updating xcode to xcode 13. My app start giving crash on the collectionview where it is using performBatchUpdates on ios 15. It's working fine on lower ios version. dispatch_async(dispatch_get_main_queue(), ^{ [self.collectionView…
0
votes
1 answer

How to programmatically change the button foreground color in Xcode?

I have a button with a system image and no Title string. I want to programmatically change the foreground color of the system image. I tried myBtn.setTitleColor(UIColor.systemYellow, for: .normal) This doesn't work. I know I can change the…
Tim Tang
  • 1
  • 1
0
votes
0 answers

xcode-select: error: tool 'actool' requires Xcode

I used XCode 12 in Big Sur 11, downloaded from App Store. But today, Apple doesn't allow me to upload my game through XCode anymore with this message: all ios apps submitted to the app store must be built with the ios 15 sdk Xcode 13 So I tried to…
modernator
  • 4,341
  • 12
  • 47
  • 76
0
votes
1 answer

Xcode 13 SwiftUI Preview does not support Text operator +

Seems Xcode 13 SwiftUI does not support + operator. For example Text("Not you? Hit the") + Text(" ‘Back’ ").fontWeight(.bold) + Text("arrow and use a different email.") Because of an error…
LiangWang
  • 8,038
  • 8
  • 41
  • 54
0
votes
1 answer

Xcode 13: Headers of Imported Frameworks Inaccessible

I am having trouble with Xcode referencing header files from imported frameworks. The strange thing is that everything worked fine yesterday. But now, I cannot even import the same headers I see one line above that do not give me a compiler…
Gergely Kovacs
  • 1,045
  • 2
  • 10
  • 28
0
votes
1 answer

Xcode version 13.3.1: Update to recommended settings

I'm using the newest version of Xcode, version 13.3.1 (13E500a). Xcode currently shows a yellow warning sign Update to recommended settings. When I click on this I get the following: What I'm wondering: point: Why does Xcode want to update the…
David
  • 2,898
  • 3
  • 21
  • 57
0
votes
0 answers

Where to do the AdMob integration in Xcode 13?

I am almost finished with my first app for the AppStore, and am trying to integrate AdMob banners in my App. The examples say to create a ViewController class, and create the banner there. I have followed the examples from AdMob, but where do I put…
frpa74
  • 37
  • 4
0
votes
2 answers

How to hide highlighted part from Xcode Storyboard image?

I am using Xcode 13. On storyboard I can see square view which quick access of the other controller. I have attached image and highlighted. What do we call this highlighted part and How can we hide it?
nadim
  • 776
  • 1
  • 12
  • 26
0
votes
1 answer

Swift 5 imagePickerController not displaying camera image

camera display problem Hi all, I am new to Swift so please bear with my as I try to explain my problem. I am writing an App in XCode 13 that is supposed to take a photo and display it in a UIImageView simply named "ImageResult". The following two…
Matt
  • 1
  • 1
0
votes
0 answers

XCode13, React Native passbase library cannot be uploaded to Appstore

I'm trying to use @passbase/react-native-passbase 2.12.0 library. And on android, it has no problem. But on iOS build, it uses react native microblink 5.15.2 library as dependency, but it is rejected by appstore. I tried below: On MacOS12.3…
0
votes
1 answer

MacOS swiftUI table select a single item

I followed the example from here: SwiftUI 3 MacOs Table single selection and double click open sheet But it's not working well for me. I have a structure like this: struct Response: Codable { var items: [Repository] } struct Repository:…
Paul
  • 3,644
  • 9
  • 47
  • 113
0
votes
0 answers

fullScreenCover dismiss issue for custom popup in swiftUI

I've created a custom popup to use all over the app which works fine but it doesn't cover full view so I updated my code to support fullscreencover. The full screen works but it doesn't dismiss. Not sure what I'm doing wrong here. Below is my…
Francis F
  • 3,157
  • 3
  • 41
  • 79