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

macOS 10.15 Beta: Install claimed to have succeeded, but application could not be found on device. bundleId =

i got a problem with running a ios-app, developed with ionic 3 on MacOs 10.15 Beta (Catalina). When i try to start the app with my real device (ios 13 Beta) i am getting the following error: "Install claimed to have succeeded, but application…
-1
votes
2 answers

Xcode 11 (beta 4) can't compile my otherwise compiling project (under beta 3, 2 and 1): unrecognized compilation parameter -fstack-protector-all

It's july and, probably as many developers in the iOS departments of many companies, our company is also testing the different betas of Xcode 11 whenever they get released in the Apple developer portal. We're dealing with a somehow big solution made…
Isaac
  • 1,794
  • 4
  • 21
  • 41
-1
votes
1 answer

"Command CompileSwift failed with a nonzero exit code" in Xcode 11.0 beta

I am using Xcode 11.0 beta and since two days I am stuck on this error. half of the project is built on SwiftUI.. I wonder if this is the reason that the error is coming... I have tried restarting my Mac, deleting derived data, building and cleaning…
-1
votes
1 answer

How to fix error "Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffeeca55ff8)"

I am building an app where I use a UICollectionView, but when I register my Cell, It gives me the error, Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffeeca55ff8) I have no idea what this means, can someone help me, please? I'm sorry if I didn't…
user10081458
-2
votes
1 answer

Swift 5 - how to create a tab bar with a centre circle button? | noob here

New to Swift and Stack Overflow! Found similar post(s), though the answers were still not enough guidance for me to figure it out. So would really appreciate if a bit more detailed guidance can be provided. I would like to create a tab bar with 5…
-2
votes
1 answer

Xcode Swift debugger won't display variables created within if statement

This has become much more common lately in Xcode 11 (Version 11.7). I'm stepping through code, but in one section po refuses to work and the variable display lists some variables as not available. These files are always in the proper target…
SafeFastExpressive
  • 3,637
  • 2
  • 32
  • 39
-2
votes
1 answer

Random Image when pressing a button in SwiftUI

I'm trying to make a random image appear on the screen, when I am pressing a button. I have three images which I want to be randomly shown, when I press the button. How do I do this?
Jugap
  • 35
  • 6
-2
votes
1 answer

How can I limit a text field to only intaking Double values

So essentially I'm creating a calculator type app, in which I only want to intake numbers, decimals, and the negative sign. I'm fairly new to Xcode and swift so I wouldn't consider my knowledge extensive when it comes to knowing how to handle these…
Alex
  • 1
  • 2
-2
votes
2 answers

Xcode 11.4 Analyze shows no issues

I was using Xcode "Product > Analyze" to find the localizability issue, but in Xcode 11.4, after analyzing, Xcode shows no issue at all. But I'm certain that there are quite a few issues out there. I tried to set "Analyze During 'Build'" to YES, but…
Randall Wang
  • 1,007
  • 3
  • 10
  • 24
-2
votes
1 answer

Why does a horizontal line appear in Xcode Playground extension when viewing "Show result"?

I am learning about Swift extensions, and wrote a simple extension to Double in a Playground. Code is below. extension Double { func round(to places: Int) -> Double { let precisionNumber = pow(10, Double(places)) var n…
JMBaker
  • 502
  • 3
  • 7
-2
votes
1 answer

How to load iOS 13 default font using font name?

I have a strange problem with iOS 13 system font. I am trying to load iOS default font San Francisco using the font name. But due to some iOS bug it's loading some other font like Times New Roman. I saw few problems like this here and here. But in…
Maneesh M
  • 193
  • 1
  • 10
-2
votes
3 answers

"Cannot load module 'metal' as 'Metal'"

I'm following a tutorial - https://www.raywenderlich.com/7475-metal-tutorial-getting-started - to learn how to use metal. I've done exactly what the tutorial said to do and no errors pop up before I try to build it, then it says build failed, along…
-2
votes
2 answers

iPhone 6s is running 13.0 (17A577), which may not be supported device support by this version of Xcode-10.2.1

I updated my iPhone 6s to iOS 13 and I have Xcode 11.0 and am unable to run my project ton my phone. It gives me a notice of: Could not locate device support files and gives me this error: This iPhone 6s is running iOS 13.0 (17A577), which may not…
PT Vyas
  • 722
  • 9
  • 31
-3
votes
1 answer

The document “Main.storyboard” requires at least Xcode 12.0

I am working on Xcode 12. And I created a new project on Xcode 12. I compile & run it successfully. when I run this project on Xcode 11.3 then It throws an error like: The document “Main.storyboard” requires at least Xcode 12.0 . So, help me to fix…
Kumar Lav
  • 234
  • 1
  • 3
  • 9
-3
votes
1 answer

How to show build version with schema Xcode 11

How do you show the build version with the scheme in the application? For example, if the app build version is 1.0.2 and the build scheme is staging then I want to show 1.0.2-staging, like when the app center builds the application and then the name…
1 2 3
87
88