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

How to using Xcode 11 to running app on iPhone 11 with iOS 15?

I want to using Xcode11 to test apps on my iPhone 11 with iOS 15 installed, but currently seems the Xcode11 cannot identify the device. I don't want to install the latest Xcode 13 nor upgrade my macOS, is there any way to resolve this? Thanks in…
J.Zeng
  • 11
  • 2
-1
votes
1 answer

What push notification for ios swift to use?

I am making an application where push notification is required. I would like to know what push notification to use? I tried using Firebase but its inconsistent. Some notification are not receiving or sending.
Alvin
  • 3
  • 2
-1
votes
1 answer

Crash IOS 13 and Xcode 11 in NSKeyValueCoding

The app crashed several times after couple of minutes of use on iPhone and iPad running IOS 13.5. Yet, it did not have issues when running IOS 12. I have analized crash log reports of devices, whether be iPhone or iPad, both of them showed the same…
秦楚豪
  • 1
  • 1
-1
votes
3 answers

How to save switch with userdefaults

I have a switch that, when set to "On", activates the DarkMode and when set to "Off", deactivates the DarkMode. My problem is that the switch appears as "Off" when leaving the app if it is set to "On". The code for my switch is below, unfortunately,…
-1
votes
1 answer

xcode11 seguing from A view to B on iPad, the B view does not fill screen

I have two view controllers, A and B, each under its view controller scene. When I run the app on an iPhone the segue from A to B goes from full screen to full screen as expected. When I run the app on an iPad the opening view, A, fills the entire…
odbdux
  • 43
  • 9
-1
votes
1 answer

ITMS-90809: Deprecated API Usage (UIWeb) - Xcode

I have seen that there are several questions referring to the same problem. Basically the same thing happens to me I have updated my libraries at project level in xcode with pod update for all my libraries I use the search engine (cmd + shift + f)…
dbenitobaldeon
  • 324
  • 3
  • 20
-1
votes
1 answer

Xcode 11.5 App Launches than goes to black screen device is iOS 13.4.1 iPhone X

(noob to iOS) When I launch my app it shows the launch screen for a brief moment than it goes to a black screen. Apparently a lot of ppl have this error just cant find a fix that works for me I ensured my storyboard was my main interface and tried…
BlooHunnits
  • 47
  • 1
  • 6
-1
votes
1 answer

IOS Chart compiler warnings with Xcode 11.5

I've just upgraded to 11.5. Compiler is now throwing out warnings (var -> let) for IOS Charts. Is it possible to remove these only for the Charts module i.e. I don't want to remove warnings for the rest of my own code (I'm reluctant to go into the…
Jim Burke
  • 251
  • 3
  • 14
-1
votes
1 answer

Having trouble solving a "unrecognized selector sent to instance" message

I'm trying to create an action that will underline a button when pressed by replacing its current title with an attributed string. However, this keeps resulting in an "unrecognized selector sent to instance" error. I've connected one IBAction to…
Alex
  • 1
  • 2
-1
votes
1 answer

How to run 2 simulators simultaneously on XCode11?

How can I run 2 simulators for my app simultaneously? Only seen solutions to XCode9 so far. Thanks
v0lk
  • 58
  • 1
  • 6
-1
votes
1 answer

How can I enable the width and height in view (size inspector) xcode 11?

Very basic question. How can I enable the width and height in view (size inspector) xcode 11? As you can see below in screenshot, the height is grayed out. I have the same issue in other stack views and the Image view is also have similar issue. The…
Christiano
  • 29
  • 6
-1
votes
1 answer

Unrecognized selector sent to instance for reloadData of tableView after delay

my tableView inside collectionViewCell when i call collectionViewCell.tableview.perforSelector() my app is crash and given below exception. Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableView DataOnUI]:…
-1
votes
1 answer

Is there any way to add faded color to navigation bar and UIview?

I have a UIview that contains a label and an image .. I tried adding faded color to the view ..it worked but the color was on top of the other objects which made both image and label invisible... I need the colors on both UIview and naviagtorenter…
-1
votes
1 answer

Xcode 11.3.1 braces in new line?

I'm using the auto creation of Xcode and would like to have the function-braces in a new line. I know this question was asked years before, but there is no working solution for me. I already set an option in the preferences, but I think this doesn't…
Lukas
  • 11
  • 1
-1
votes
1 answer

How can i solve SwiftOCR importing problem?

i'm nicely finished pod installing but my project (import SwiftOCR) isn't working.enter image description here