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

How to pass data to a embedded UIViewController in side a UIView - Swift 5

There's a view controller B. So, have embedded B as child view controller in viewController A in a UIView. Now, need to call a api in child view controller B when it is added as a child. So, need to set a check when added B as child only then this…
iPhone 7
  • 1,731
  • 1
  • 27
  • 63
0
votes
1 answer

Unable to open Outlook app through UIActivityViewController in iOS 13 running devices

Unable to open Microsoft Outlook app compose mail window with pre populated subject, body and recipients through UIActivityViewController Native iOS app running iOS 13. This functionality is working as expected in the previous iOS version < iOS…
user3908542
  • 59
  • 1
  • 5
0
votes
2 answers

Module compiled with Swift 5.1 cannot be imported by the Swift 5.0 compiler

Module compiled with Swift 5.1 cannot be imported by the Swift 5.0 compiler I need to compile my sdk in swift 5.1 such that it should work in project build using swift 5
Sree K
  • 31
  • 2
0
votes
1 answer

Build failed after updating Xcode from 10.3 to 11.0 (react-native)

I cannot build iOS locally (on simulator) after updating my Xcode from 10.3 to 11.0. When I build my iOS app on BuddyBuild with Xcode version 11.0 everything is working - build successful. But I cannot build my app in simulator. When I run command…
neman
  • 196
  • 1
  • 10
0
votes
1 answer

SwiftUI: onDismiss not get called

my issue is that onDismiss in .sheet does not get called if i programmatically dismiss the view. If i normally dismiss the view by swiping it down onDismiss get's called normally. view 1: HStack { Text("Twittere deine Antwort") …
SwiftiSwift
  • 7,528
  • 9
  • 56
  • 96
0
votes
0 answers

Xcode 11 doesn't add iPhone6s Simulator

I updated my iPhone6s and currently I am using iOS 13. I updated my Xcode as well and the current version is 11.0 My problem is all my previously installed simulators have gone after the Xcode update. I can see the devices but I can't install them.…
thus
  • 1,326
  • 1
  • 14
  • 23
0
votes
3 answers

How to get index path on click of button from UITableView in Swift 5

In tableview, on the cells there are buttons in it, need to get the index of tableview means, which index cell's button is clicked. So, not able to implement it in swift 5. So far tried is but this give me wrong value. let position: CGPoint =…
iPhone 7
  • 1,731
  • 1
  • 27
  • 63
0
votes
1 answer

IOS Swift Status Bar and Navbar strange space top after update to Xcode 11 and swift 5

I have a problem after updating to Xcode 11 & Swift 5 (Screenshot below). My ViewController always has strange top space. Is this a bug? If so, how to fix this ?
alex
  • 35
  • 7
0
votes
1 answer

Core Plot iOS compiler error with Xcode 11.0- swift

I have an app which uses the CorePlot iOS library. This app worked well, when it was compiled with Xcode 10. However, after upgrading to Xcode 11.0 I get the following error message: Implicit conversion changes signedness: 'CGColorRenderingIntent'…
Heinz M.
  • 668
  • 3
  • 8
0
votes
1 answer

IOS 13 + Left Swipe is not working for previous view

I have updated to IOS 13 and now, I am not able to use left swipe to go to previous view controller in navigation controller. Can you suggest how to solve that issue? Thanks
Hindu
  • 2,894
  • 23
  • 41
0
votes
1 answer

After upgrading to Xcode 11 URL's for Bundle resource doesn't work anymore

I upgraded Xcode to Version 11.0 (11A420a) and part of code doesn't work as before. I want to copy folder from Bundle to TemporaryDirectory. func makeHtmlFile (type: InvoiceType?) -> URL { let identifier = Bundle.main.bundleIdentifier! …
Łukasz
  • 773
  • 5
  • 23
0
votes
1 answer

XCUITest - Search by label for buttons returns two elements (Button and Static Text)

When I search for a button by label only, NSPredicate used to return only the button so that I can tap on it. But starting from Xcode 11, NSPredicate returns also the staticText inside it. Thereby I must update all my tests when I tap a button I…
0
votes
1 answer

iOS 13 Indonesian currency formate changed RpX to RpX,00

I used below code snippet for currency formate casting, it's working fine up to iOS 12. but in iOS 13 now its giving different output of currency let prise = 1000 let numberFormatter = NumberFormatter() …
Jaydeep Patel
  • 1,699
  • 17
  • 30
0
votes
0 answers

Automatic preview in Xcode 11 using macOS Catalina beta

I've installed macOS Catalina beta last month and I used Xcode beta 5. Today I downloaded Xcode 11 from developer.apple.com. After installing I started with new project with SwiftUI framework. Unfortunately I got a problem. When I clicked resume…
Dscyre Scotti
  • 1,307
  • 10
  • 17
0
votes
1 answer

Crash when using Voiceover

Crash only when using Voiceover, good performance when shutting down This only happens on XCode 11 and iOS 13 void SendDelegateMessage(NSInvocation *): delegate (webView:resource:didFinishLoadingFromDataSource:) failed to return after waiting…