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

iOS 15 Simulator - collection view cells rendering broken when scrolling...?

I'm running my App on latest Xcode 13, running my app on iOS 15 in the simulator creates weird rendering bug / issue, when scrolling table rows (that contain collection views) horizontally. This is only visual. Touch points on cells are all ok, and…
Jules Burt
  • 115
  • 2
  • 7
4
votes
2 answers

SwiftUI - IOS 15 - Text .mimimumScaleFactor - always being applied

Can't find any documentation of this issue. One of my apps has a text view with a .minimumScaleFactor(0.5). This works perfectly in iOS 14.0.* - when the text would be wider than the view its scales nicely to fit - IE filling the full width of the…
swift--help
  • 637
  • 5
  • 15
4
votes
5 answers

Xcode13 - Legacy Build System deprecated, unable to install to device with New Build System

Legacy Build System has been deprecated since Xcode10+ but can still choose to use it. In the newest xcode Xcode13 you would encounter an error if attempt to use it - release note reference We were able to get our App build to device using the New…
OLIVER.KOO
  • 5,654
  • 3
  • 30
  • 62
4
votes
1 answer

iOS 15 - Xcode 13-RC warning: -[NSKeyedUnarchiver validateAllowedClass:forKey:]

I installed the new Xcode 13-RC and in my project I got the next warning in the console: 2021-09-15 17:30:06.305218+0100 MYProject[511:30187] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type…
Eduardo Santi
  • 425
  • 1
  • 4
  • 13
4
votes
2 answers

SwiftUI - Incorrect padding when using GroupedListStyle() for iOS 15

I have the following structure, more or less: ZStack { NavigationView { List { Section(header: Text("1") .padding(.top, 20) footer: Text("2") …
Fengson
  • 4,751
  • 8
  • 37
  • 62
4
votes
2 answers

Xcode 13 beta 5 error: UIViewController is missing its initial trait collection populated during initialization

App was working fine until Xcode 13 beta 5 builds. Suddenly get this error in this init line of code in our view controller: init(dataProvider: DataProvider) { self.dataProvider = dataProvider super.init(style: .plain) …
Aggressor
  • 13,323
  • 24
  • 103
  • 182
4
votes
0 answers

xcode 13 build issues

I currently updated my spare phone to ios 15 developer beta to begin fixes for ios 15 on my app and was forced to upgrade my mac os to big sur as well as download xcode 13 beta and ever since then have run into so many headaches. I can never…
4
votes
3 answers

SwiftUI 3 MacOs Table single selection and double click open sheet

import SwiftUI struct ContentView: View { @State private var items: [ItemModel] = Array(0...100).map { ItemModel(id: $0, title: "item \($0)", age: $0) } @State private var selection = Set() @State private var sorting…
vdotup
  • 347
  • 4
  • 12
4
votes
2 answers

NavigationLink inside .searchable does not work

I understand its new, but this seems like pretty basic functionality that is not here. When implementing a .searchable in the new iOS 15, it would seem that a NavigationLink does not work, at all. Ideally, the searchable would produce a filtered…
JerseyDevel
  • 1,334
  • 1
  • 15
  • 34
3
votes
1 answer

How to update MARKETING_VERSION and CFBundleVersion from plist file?

I have a simple project and I want to update the project version and build number values from info.plist. I have added this Bundle version string (short) and Bundle version in plist file but its value is not reflected in the build. But if I tried to…
Pratik Prajapati
  • 1,137
  • 1
  • 13
  • 26
3
votes
1 answer

AppCheck failed: The attestation provider AppAttestProvider is not supported on current platform and OS version

I am getting the following error when trying to integrate App Check into my iOS app. AppCheck failed: 'The operation couldn’t be completed. The attestation provider AppAttestProvider is not supported on current platform and OS version.' And ever…
Eric
  • 569
  • 4
  • 21
3
votes
1 answer

How to add an array item to Custom iOS Target Properties in Xcode 13 where Info.plist has been removed?

As of Xcode 13, Info.plist has been replaced by Custom iOS Target Properties ✅ you can access this via Project → Target → Info. My goal is to add a property LSApplicationQueriesSchemes which contains an array of items. I can tap on the + button and…
Zorayr
  • 23,770
  • 8
  • 136
  • 129
3
votes
2 answers

Add a local swift package in swift project in Xcode 13

I want to add a swift package in my project. It appear in packages folder (by a drag n drop) but my project doesn't see it with "import myPackage", I've no such module error
Smooki
  • 35
  • 1
  • 6
3
votes
1 answer

Cycle in dependencies between targets - Xcode 13.4.1

I am getting the following error only on Xcode 13.4.1 when I am trying to build the project. Cycle in dependencies between targets '#aTargetName' and '#anotherTargetName'; building could produce unreliable results. This usually can be resolved by…
Luciano Perez
  • 101
  • 1
  • 10
3
votes
0 answers

How to update react-native iOS app to use iOS 15 SDK

I got an email form app store saying iOS apps submitted to the App Store must be built with the iOS 15 SDK or later. I'm not sure how do I do that. I'm currently using Xcode 13.2.1 and react-native 0.64.0
Naresh
  • 941
  • 9
  • 22