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

Xcode 14 Xcode 13 incompatibility

When I manually add the SDK that I exported in Xcode 13 to xcode 13 and xcode 14, it works for all devices without any problems. But when I export in xcode 14, it only works for simulators in xcode 13, I can't build on real devices, (in xcode 14 it…
2
votes
1 answer

Swift 5 String Manipulation

I am learning iOS development and I try to get Gps information from phone and send to api using Alamofire as below let parameter = ["appVersion": "1.3.1", "countryCode": "TZ", "deviceName":…
donaldjbrewer
  • 83
  • 1
  • 9
2
votes
2 answers

How can I build an app with XCode 13.4 for iOS 16 Devices?

I'm working for a company which has an application in the AppStore. We need to test iOS 16 before release. I can not build the app iOS 16 devices with XCode 13.4. If we got build with firebase and run the app in iOS 16 but the app stuck into splash…
Swift Boy
  • 45
  • 1
  • 1
  • 3
2
votes
0 answers

function didRegisterForRemoteNotificationsWithDeviceToken not running (Xcode 13)

I am trying to print out the device token but I can't even get the didRegisterForRemoteNotificationsWithDeviceToken function to run. i have looked at all the online tutorials and nothing. i am using firebase auth and firestore if that means…
2
votes
0 answers

In Xcode, why do some packages have different icons and can't run tests?

In Xcode, if I look in the scheme menu for my app project, I see some of the Swift packages on which I have declared dependencies. Some of them have gear icons, and some of them have building icons. The ones with the gear icons do not allow me to…
Rob N
  • 15,024
  • 17
  • 92
  • 165
2
votes
0 answers

React Native iOS Release Crash: Image not found

First of all, I'm new to Xcode and iOS development. I am building a React Native app, and I am running into trouble when running a release on a physical device. I am able to build and install to the device, but upon running the app, it crashes…
2
votes
0 answers

Xcode 13 default SwiftUI file refuses to start previews

I have just created a SwiftUI view file, and it is refusing to render previews. I have not changed anything to the default file, here are the contents as proof : import SwiftUI struct ContentView: View { var body: some View { …
ice-wind
  • 690
  • 4
  • 20
2
votes
1 answer

agvtool new-marketing-version doesn't work on Xcode 13

Since Xcode 13, there is no Info.plist by default. Instead, the common field are in the target’s Info tab, and build settings in the project editor. A separated Info.plist file is added to project only when there are additional fields. When I run…
mrfour
  • 1,128
  • 12
  • 21
2
votes
1 answer

Xcode13 unavailable keys on info.plist

Summary: I want to know how to add the following snippet to info.plist on Xcode13, when I cannot find the name of keys I want to add in the key name list. CFBundleURLTypes     CFBundleURLSchemes      …
Mina
  • 41
  • 3
2
votes
1 answer

Error "Build service could not create build operation: unknown error while handling message: unknownSession"

How do you debug that kind of Xcode's error when you don't have anything useful to start with? Build service could not create build operation: unknown error while handling message: unknownSession When having that issue, the 'Clean Build Folder' is…
David
  • 1,241
  • 20
  • 36
2
votes
0 answers

Unable to generate .ipa through xcodebuild with universal distribution for enterprise account

I'm trying to generate Enterprise distribution build from jenkins job. I was able to build and generate the .ipa for Adhoc Distribution(Developer Account), but when i create a new job and set up the configuration for enterprise build(Enterprise…
2
votes
0 answers

Unable to upload build to App Store Xcode 13.2. Invalid Bundle Structure

I am trying to upload build on AppStore using Xcode 13. But when I try to do so, I am getting the below error Invalid Bundle Structure - The binary file 'MyApp.app/Frameworks/HHUnitConverter.framework/HHUnitConverter' is not permitted. Your app…
Surbhit Thanvi
  • 269
  • 1
  • 2
  • 7
2
votes
1 answer

How to make a rounded or filled and rounded progress view swift in swift (with CAShapeLayers)

A few days ago, I wanted to create a rounded progress bar in swift I watched many Videos and googled a lot. In the most of the times the code did not work to it was too complex to understand. After some days I got it. I thought, there must be some…
Michael
  • 185
  • 1
  • 11
2
votes
1 answer

where is the xcode preview simulator inheriting from?

I used to have all my preview simulator device as iphone12 and I was fine with it. Not sure when, it all changed to I don't know iPhoneSE or iTouch with the thick bar. I did not want to change it back to iPhone12 by using the code .previewdevice()…
cc nn
  • 115
  • 1
  • 1
  • 7