Top "Xcode11" questions

This tag should only be used for questions specific to the usage and features of Xcode 11.

Getting 'no such module' error when importing a Swift Package Manager dependency

I'm running Xcode 11 Beta 4. I'm using CocoaPods, and wanted to use one of my dependencies with Swift Package Manager as …

cocoapods swift-package-manager xcode11
Xcode11 dyld: Library not loaded ... Reason: image not found

I am using Xcode11 I am getting following error, when I try to use a framework in a SampleAppSwift project: …

ios swift xcode11
Xcode 11 Beta 3, build error "Unknown attribute 'State'", "Use of undeclared type 'View'" etc

I build an app with the 2nd beta of Xcode 11, using SwiftUI, and everything worked completely fine, but now, with …

swift macos swiftui xcode11 uikitformac
Navigation stuff in SwiftUI

I'm trying to figure out how to use the navigation bar in SwiftUI I want to put BarButtonItem and images …

ios swift swiftui xcode11
"Cannot Preview in this file - Failed to launch [App Name]"

I am trying to play around with swiftUI in Xcode 11 and macOS Catalina. BUT After creating a new Project, there …

swift swiftui xcode11 macos-catalina
How can I preview a device in landscape mode in SwiftUI?

How can I preview a device in landscape mode in SwiftUI? I just have a simple preview like this: struct …

ios swift xcode swiftui xcode11
Unable to infer complex closure return type with SwiftUI

Following part 3 of Apple's tutorial on SwiftUI, Handling User Input, I get this error: Unable to infer complex closure return …

swiftui xcode11
How to go to another view with button click

I have a button in my code and I have a file called LogindView.swift I cannot get the code …

swiftui xcode11
Unable to build react native project after updating to xcode 11.0

I have a react native project running on react native version 0.59.8 , and xcode version 10.3. Somehow my xcode got updated to …

ios xcode react-native core-data xcode11
Keyboard gets stuck in ios 13 simulator

I have been trying to make my project work with the new Xcode 11. Everything works smoothly, except on several occasions …

ios swift xcode11