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
14
votes
3 answers

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: dyld: Library not loaded: @rpath/VoiceSampler.framework/VoiceSampler Referenced from:…
Bharat Biswal
  • 1,755
  • 2
  • 15
  • 23
14
votes
6 answers

Xcode could not locate the installed application

In XCode 11 when I trying to run the app xcode showing installation successful but a alert appears with message "Could not locate installed application Install claimed to have succeeded, but application could not be found on device. bundleId =…
14
votes
1 answer

Xcode 11, Cocos2dx compilation problem: Argument value 10880 is outside the valid range [0, 255] btVector3.h

Please see attach image. In Xcode 11, Cocos2d-x giving error : Argument value 10880 is outside the valid range [0, 255] btVector3.h Error coming for code line y = bt_splat_ps(y, 0x80); // in file btVector3.h How to solve this ?
Guru
  • 21,652
  • 10
  • 63
  • 102
14
votes
3 answers

How to trigger screen recording permission system modal dialog on macOS Catalina

I have an application which has screen sharing feature in it. On macOS Catalina beta8 (19A558d), you must give screen recording permission to share your screen (Without permission, only your background and menubar will be shared with the other…
bemul12
  • 413
  • 2
  • 4
  • 13
14
votes
2 answers

Unresolved identifier NavigationButton error

I'm new to swiftUI and just trying to figure out the basics. I'm simply trying to create a new view and a button that will move to it. When I use the code below, an error appears: "Use of unresolved identifier 'NavigationButton'" despite that being…
Hubert Rzeminski
  • 469
  • 4
  • 15
14
votes
4 answers

How to align a SwiftUI navigationBarTitle to be centered?

How does one centre a navigation bar title in SwiftUI? var body: some View { NavigationView { .navigationBarTitle("Todo Lists") } }
Greg
  • 34,042
  • 79
  • 253
  • 454
14
votes
3 answers

SwiftUI - how to add a Scenekit Scene

How can I add a Scenekit Scene to a SwiftUI view? I tried the following Hello World, using the standard Ship Scene example... import SwiftUI import SceneKit struct SwiftUIView : View { var body: some View { ship() Text("hello…
Mane Manero
  • 3,086
  • 5
  • 25
  • 47
14
votes
4 answers

SwiftUI - centre content on a List

How can I make this arrow on the centre of the list? struct ProductsList : View { var body: some View { VStack { List { Image(systemName: "shift") } } } }
Mane Manero
  • 3,086
  • 5
  • 25
  • 47
14
votes
5 answers

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 inside the NavigationBar I have been able to display the navigation bar and put titles var body: some View { NavigationView{ …
Yuto
  • 658
  • 2
  • 8
  • 20
13
votes
3 answers

Background tasks on IOS 13 (BGTaskScheduler)

I use BGTaskScheduler for a background task as described here: https://developer.apple.com/documentation/backgroundtasks/bgtaskscheduler My question is: should this scheduled task also work after a device restart or after I manually kill the app? If…
Sorin Lica
  • 6,894
  • 10
  • 35
  • 68
13
votes
9 answers

Custom Fonts not showing on Xcode 11 (macOS Catalina)

I have a problem loading custom fonts in the drop down menu to select fonts in storyboard, I have poppins font and MarvinVisionsBig. I have already added them as target membership, bundle resources and added them to the plist and they are already…
13
votes
1 answer

Google AdMob error after update to Xcode 11 Swift 5.1

Since I have updated to Xcode 11 the interstitial ads in my app won't load anymore. (Before that everything worked fine. The app was even released on the App Store. We are now creating an updated version of the app) I installed the Google AdMobs…
Daniel Götz
  • 131
  • 4
13
votes
2 answers

Will "Sign in With Apple" allow apps to be backward compatible with iOS 12 and lower?

Does implementing the new Sign in With Apple feature make an app incompatible with iOS 12 and below, similar to SwiftUI? Will it be possible to compile an app which has to import AuthenticationServices on something like XCode 10?
user937726
13
votes
3 answers

Building/archiving for release hangs indefinitely in Xcode 11

I'm trying to release an iOS app - it builds fine on simulator or device in Xcode 11, and can be archived fine in Xcode 10, but when I try to archive it for release in the App Store the build hangs indefinitely. I hit Product > Archive, it completes…
milohoffman
  • 287
  • 1
  • 11
13
votes
4 answers

Published works for single object but not for array of objects

I am trying to make individually moveable objects. I am able to successfully do it for one object but once I place it into an array, the objects are not able to move anymore. Model: class SocialStore: ObservableObject { @Published var socials :…
sfung3
  • 2,227
  • 1
  • 9
  • 30