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
0
votes
2 answers

Inability to develop app because ' application could not be found on device' in iOS 13.0/Xcode 11 beta 5

I am trying to build a new version of an app I am developing that has a previous version on the App Store. I have installed the iOS 13.0 developer beta and Xcode 11.0 beta 5 (11M382q) today, and suddenly I am having issues building my app on my…
Robin
  • 373
  • 1
  • 3
  • 20
0
votes
1 answer

Problem with code which worked in Xcode11 beta 4 but stop working in beta 5

I had a View which should render a GridView in the beta 4 everything worked great but in the beta 5 of Xcode 11 and beta 5 of macOS Catalina it stoped working. struct List : View { var rows: [[Int]] var spacing: CGFloat =…
Tobias Bauer
  • 111
  • 2
  • 13
0
votes
1 answer

How to fix increased height in NavigationView List row with Images in SwiftUI"

I'm using Xcode 11 beta 5 and iPhone SE with iOS 13 beta 5. In my app I have a NavigationView where each List row contains of two lines. I now want to add an Image(systemName: "circle") at the end of the text of the 2nd text line. When doing that,…
AnErd
  • 415
  • 3
  • 12
0
votes
2 answers

Xcode 11 Segues

Whenever I am using segues in the Xcode 11 beta (here just changing between two VCs using a swipe gesture), the second VC pops up as a card: How can I prevent this?
j___.___j
  • 286
  • 1
  • 3
  • 20
0
votes
0 answers

How can I programmatically open 'Location Services' in iOS 12, using Swift 5?

I am developing an app for iOS, in which I have to check the GPS, whether 'Location Services' is off or not. If 'Location Services' is off, then I have to launch the Settings app with url "Settings->Privacy->Location Services", in which user can…
Rohit Chauhan
  • 151
  • 1
  • 3
  • 14
0
votes
1 answer

Xcode 11 Beta 5 - Modal triggers only once

I just upgrade to Xcode 11 Beta 5 and update my SwiftUI project. In previous version I wanted to use PresentationLink component to show up a modal. I had the same problem than now, the modal has only shown once. I thought it was a bug as I saw in…
Hurobaki
  • 3,728
  • 6
  • 24
  • 41
0
votes
1 answer

Migrating SceneKit app from xc10 > xc11, I encounter "xcrun: error: unable to find utility "scntool", not a developer tool or in PATH"

Due to character limits in the title, allow me to elaborate on what is happening. I have an application that builds with no warnings & errors while using Xcode 10.2.1, but I would like to test it in the latest Xcode 11 beta. However, it produces an…
CodeBender
  • 35,668
  • 12
  • 125
  • 132
0
votes
1 answer

Xcode 11 Beta 4 TabbedView Binding Problem

Environment: Version 11.0 beta 4 (11M374r) I'm trying to get a grip on the evolving List() syntax. The following is a simple list of UUIDs: via the pre-Beta 4 Code: Here's my attempted remedy and the compiler result. I've created an…
Frederick C. Lee
  • 9,019
  • 17
  • 64
  • 105
0
votes
1 answer

How to show an UICollectionViewController inside SwiftUI using representable protocol?

I made a class named ViewController which is an UICollectionViewController. I wanted to implement it in ContentView which is a View. I tried using UIViewControllerRepresentable protocol, but I got error. In addition, I went through the SwiftUI…
Maric Vikike
  • 237
  • 2
  • 8
0
votes
1 answer

How to bind a Bool value(that I got from server) to hide/show an Alert in SwiftUI?

I've a simple Login app. enter username and password and click login button, i will get response from server which contains a Bool. if the Bool is true then go to next page, else show an Alert with error message. struct ContentView : View { @State…
Sreeni
  • 205
  • 2
  • 6
0
votes
1 answer

Why has USBSerialDriverKit disappeared?

At WWDC 2019, Apple announced a new driver architecture. More and more types of drivers are supposed to run in userspace instead of in the kernel. Among the first affected drivers types – according to the announcement – are USB-to-serial…
Codo
  • 75,595
  • 17
  • 168
  • 206
0
votes
3 answers

Preview crash with SwiftUI @Binding: communication with the app was interrupted

So I have an XCode project that has 2 .swift files that shares a variable through SwiftUI's @Binding. The project builds and run through the Simulator just fine. But whenever I try to use Preview on the secondary file (which receives the variable…
Nguyễn Khắc Hào
  • 1,980
  • 2
  • 15
  • 25
0
votes
0 answers

Incredible simple code (SwiftUI) is not working anymore

I participate in the Catalina and Xcode beta test program. Some weeks ago, I was working with a simple macOS Cocoa/SwiftUI app (not smartphone as most users do). Yesterday it just stopped working and crashed instead. This can of course happen for a…
Developer-1
  • 163
  • 8
0
votes
1 answer

Swift UI and Canvas Editor

On the beta 3 of Xcode 11 the canvas view doesn't work I always have this message "TestPremier.app crashed: communication with the app was interrupted". But in the ContentView.swift I don't have this problem. I have already tried to create a new…
Mathieu Cloart
  • 121
  • 2
  • 11
0
votes
0 answers

Xcode 11 beta Symbol not found

I tried to run exist app on my iPhone iOS 13, but it giving this error > dyld: Symbol not found: _$s7SwiftUI14NavigationLinkVyxGAA4ViewAAMc > Referenced from: >…
Ahmed Abdallah
  • 2,338
  • 1
  • 19
  • 30