Questions tagged [xcode11]

This tag should only be used for questions specific to the usage and features of Xcode 11. 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.

Xcode 11 is year 2019 version of Apple's IDE. Made available in beta at the start of WWDC 2019 on June 3, 2019. This provides support for iOS 13, macOS 10.15, watchOS 6, and tvOS 13.

Xcode 11 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11 requires a Mac running macOS 10.14.3 or later.

1314 questions
9
votes
3 answers

How ScrollView Layout Direction to right-to-left in SwiftUI?

How can we set right to left layout direction in Horizontal ScrollView in swiftUI? something like this: ScrollView(showsHorizontalIndicator: false) { HStack { VStack { Image("1") Text("one") } …
Sajjad
  • 1,536
  • 2
  • 17
  • 31
9
votes
6 answers

'IPA processing failed' while distributing build in Xcode Beta

While trying to distribute IPA, Xcode throws an error: “IPA processing failed” Steps: Product -> Archive. -> Distrubute -> Enterprise/Development -> “IPA processing failed” Xcode: Version 11.0 beta 3 (11M362v) OS: 10.15 Beta (19A501i) NB: I was…
Lal Krishna
  • 15,485
  • 6
  • 64
  • 84
9
votes
3 answers

Open multiple previews at the same time in SwiftUI

I know we can open multiple previews of different screens at the same time in SwiftUI. Can anyone help me with the steps to achieve that?
Anupam Mishra
  • 3,408
  • 5
  • 35
  • 63
9
votes
1 answer

SwiftUI - Segment Control with Lists

Im trying to make a Segment Control that handles Lists and/or Vstacks I was able to make a Segment Control with text, but not Lists import SwiftUI struct MaterialSegmentControl : View { @State private var MaterialType = 0 var body: some…
Mane Manero
  • 3,086
  • 5
  • 25
  • 47
9
votes
2 answers

Is this new navigation bar behaviour in xcode 11 beta a bug or intended?

I noticed after compiling one of my apps in Xcode 11 beta, that navigation bars have no background when prefersLargeTitles is set. Is this intended behavior? I noticed this is how the messages app works now when scrolling down and a large title is…
Peter Ruppert
  • 1,067
  • 9
  • 24
8
votes
3 answers

Xcode error: Signing for ... requires a development team

I am trying to test my app on my iPhone 8. Since I do not have an Apple Developer Account, I have followed this tutorial: https://ionicframework.com/blog/deploying-to-a-device-without-an-apple-developer-account/ Although the above tutorial is for…
ntlarry
  • 250
  • 1
  • 4
  • 11
8
votes
1 answer

What does the xcschememanagement.plist file do in XCode? And can I ignore it with git?

Due to the poor documentation of XCodes files that manage your project under the hood, I cannot understand the purpose of the xcschememanagement.plist file, which is causing me a lot of problems. Can anyone explain this file's purpose, and how we…
Alec Mather
  • 742
  • 5
  • 20
8
votes
2 answers

SwiftUI reverse ScrollView from bottom to top

I want to make a ScrollView that will give me the possibility to scroll from bottom to top. Basically I have a gradient background (bottom - black, top - white). When I set the ScrollView I can scroll down from white to black. I want the app to…
Vanfen
  • 131
  • 4
  • 13
8
votes
1 answer

Xcode 11.2.1 error: Command CompileSwiftSources failed with a nonzero exit code

I've downloaded the latest Xcode 11.2.1. When I build I'm getting this error. :0: error: using bridging headers with module interfaces is unsupported Command CompileSwiftSources failed with a nonzero exit code How can I resolve this?
Tumenbayar SaS
  • 81
  • 1
  • 1
  • 2
8
votes
2 answers

Weird behaviour of Xcode 11 Debugger - Showing values as nil when there's a value

I just noticed weird behaviour of Xcode11, I am executing same code in Xcode 10 and Xcode 11. See the below attached screenshot for both the versions. I am creating a url from String, When I put a debugger and check the value of myUrl it shows nil…
Mayank Jain
  • 5,663
  • 7
  • 32
  • 65
8
votes
0 answers

Xcode 11, iOS 13.2 - “libMobileGestalt MobileGestalt. c:1647: Could not retrieve region info” Map Error

In the iOS simulator, when running my mapKit view, the debugger goes crazy with a long string of updates and the map never loads, but the GPS does. This appears to have started after installing cocoa pods with Firebase and Facebook…
Thom Sides
  • 117
  • 1
  • 7
8
votes
6 answers

How to launch new project without a storyboard >= iOS 13 in Xcode 11?

Xcode 11 with iOS 13 now launches with a slightly different setup from before, moving many functions from the AppDelegate.m file into a new file called SceneDelegate.m - deleting the Main.storyboard and setting the root view controller in…
Johnny Rockex
  • 4,136
  • 3
  • 35
  • 55
8
votes
2 answers

How to extend the width of a button using SwiftUI

I cannot figure out how to change the width of buttons in SwiftUI. I have already attempted: using .frame(minWidth: 0, maxWidth: .infinity), using Spacer() around the button and navigationlink, using frame on the Text field and padding on the…
8
votes
1 answer

How to distribute iOS Demo app for Swift library via Swift Package Manager?

My Swift library FlexColorPicker just adopted Swift Package Manager support. The library itself can be added to any project via XCode by doing File → Swift Packages → Add Package Dependency... → choose target → enter…
Rasto
  • 17,204
  • 47
  • 154
  • 245