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
11
votes
5 answers

Xcode 11 Upgrade | Could not find iPhone X simulator | XRPackageModel 9.0.omo

Anyone else getting this since upgrading from Xcode 10.3 to Xcode 11 when running react-native run-ios and any idea to get back up and running? CoreData: annotation: Failed to load optimized model at path…
Leo
  • 10,407
  • 3
  • 45
  • 62
11
votes
3 answers

Swift Package Manager: dependency iOS version

I'm trying to build swift package with external dependency (CoreStore) with xCode11 beta 7. My package is targeted for iOS11+, it's declared in Package.swift: // swift-tools-version:5.1 // The swift-tools-version declares the minimum version of…
frozen_lion
  • 648
  • 5
  • 18
11
votes
3 answers

How to get the keyboard height on multiple screens with SwiftUI and move the button

The following code gets the keyboard height when the keyboard is displayed and moves the button by the keyboard height. This movement is performed in the same way at the transition source (ContentView) and the transition destination…
Ika
  • 1,271
  • 1
  • 12
  • 20
11
votes
1 answer

Sign in with Apple - Different behaviour Simulator VS iPhone

I'm trying to setup Sign-in with Apple with Xcode (Beta 11.0 beta 6). Works great on simulator, but when I run it on my iPhone (iOS 13.1), I don't get the same display. On Simulator: On iPhone: This is how I call my "Sign in with Apple": -…
royraider
  • 111
  • 1
  • 4
11
votes
2 answers

After upgrade to iOS13 beta 6/Xcode 11 beta 5: issue "dyld: Symbol not found: _$s7SwiftUI7BindingVyxGAA0C11ConvertibleAAMc"

After upgrading to iOS13 beta 6 using Xcode 11 beta 5 I receive this message when running on an iPhone SE device. dyld: Symbol not found: _$s7SwiftUI7BindingVyxGAA0C11ConvertibleAAMc Referenced from:…
AnErd
  • 415
  • 3
  • 12
11
votes
2 answers

SwiftUI Beta 3 Black Screen

I just converted to beta 3 and my previously working SwiftUI code is now rendering a plain black screen. Was there a change in beta 3 that is causing this. Is there a solution to fix it? Scene delegate code: func scene(_ scene: UIScene,…
David L
  • 4,347
  • 3
  • 18
  • 30
11
votes
1 answer

Building for UIKit for Mac, but the linked framework 'XXX.framework' was built for macOS

I have created a new app which runs on both iPhone & Mac on Xcode 11 Beta 2 via Project Catalyst. For that I have 2 frameworks which are specifically build for 'macOS' & 'iOS'. Once I am adding that framework, I am receiving following error! Here…
Sohil R. Memon
  • 9,404
  • 1
  • 31
  • 57
11
votes
3 answers

Xcode 11 -- SwiftUI's dark mode setup

Okay. I know this shouldn't be rocket science. I can't seem to get dark mode working and I've read the documentation a few times. Hoping someone can pick out what I'm missing. I have an named color in the asset catalog. I set my plist mode to be…
Craig Fisher
  • 371
  • 2
  • 15
10
votes
0 answers

Errors in creating XCFramework using Cocoapods

I am trying to generate a iOS XCFramework from an Xcode framework Project(Project name XCFramework). Project consists of some of the cocoa-pods libraries like Socket IO, SwiftKeyChainWrapper etc. If I generate XCFramework without cocoa-pods,…
vinay yedla
  • 141
  • 6
10
votes
5 answers

Programmatically detect Tab Bar or TabView height in SwiftUI

I have a SwiftUI app that will have a floating podcast player, similar to the Apple Music player that sits just above the Tab Bar and persists across all tabs and views while the player is running. I have not figured out a good way to position the…
eResourcesInc
  • 948
  • 1
  • 9
  • 17
10
votes
4 answers

SwiftUI Navigation Bar and Status Bar - Make them same color

I have a new app that ideally will have a solid dark blue navigation bar at the top that extends up behind the status bar. It was a pain to make this opaque and the correct color of blue, but I finally figured out how to make it work by putting the…
eResourcesInc
  • 948
  • 1
  • 9
  • 17
10
votes
4 answers

Accessibility Inspector not working on Xcode 11.x, iOS 13.x on MacOS Catalina & Mojave

I am unable to inspect any elements using the Accessibility Inspector on iOS 13.2 and higher simulators running on Mac OS Mojave or Catalina. Has anyone else also encountered this issue and if so, is there a solution to this? I did not encounter…
mark w.
  • 1,047
  • 9
  • 16
10
votes
0 answers

Xcode 11 iOS playgrounds no longer symlink playgroundSharedDataDirectory - bug or feature?

Xcode 11 Playgrounds seemingly changed the behavior of playgroundSharedDataDirectory: To reproduce, paste the below in a playground and execute it in Xcode 10 and Xcode 11 respectively: import…
opfeffer
  • 603
  • 5
  • 19
10
votes
4 answers

How to enable push notification in Xcode 11?

I'm trying to enable push notification in Xcode 11.0 . I have added push notifications form + capability but enable or disable button is not there.
Suresh Rewar
  • 117
  • 1
  • 1
  • 6
10
votes
1 answer

In Xcode 11, how do you quick-open a file in a new tab or new window?

Prior to Xcode 11, you could use cmd+shift+o to open the quick open menu, and then use opt+shift+enter to show the little jump dialog to decide where to open the file, e.g. Note that the dialog has spots for opening in new window or new tab. In…
RyanM
  • 4,474
  • 4
  • 37
  • 44