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
0
votes
2 answers

How to modify UIView properties for SwiftUI preview?

I have a UIView with 2 labels and one variable for binding like this: var count: String? { get { viewCountLabel.text } set { viewCountLabel.text = newValue viewsTitleLabel.text = newValue == "1" ? "View" : "Views" …
Mojtaba Hosseini
  • 95,414
  • 31
  • 268
  • 278
0
votes
1 answer

systemBackGroundColor is not working in Lightmode in colorassets

I am trying to add new color to my color assets, where the light mode consists of systemBackGroundColor and darkmode consists of a customColor. But when I select systemColor for lightmode instead of getting white Color I am getting black color in…
user9978348
0
votes
0 answers

Unable to find resource located in assets.xcassets

Hey guys I am still kind of new to Stackoverflow so please bear with me if I am doing something wrong, I am trying my best. I am trying to make a simple app with the new apple watchOS6 and swiftUI in the new Xcode11 beta that plays a sound file from…
Philiong
  • 188
  • 1
  • 8
0
votes
1 answer

SwiftUi - Background can't be changed / can't be reached

I have a problem with my background. Since some days I play with SwiftUi and everything is fine. Yesterday I filled my screen with a background and just the top fitting doesnt work, so I undone my changes. Now the problem: I cant reach my…
Iskandir
  • 937
  • 1
  • 9
  • 21
0
votes
2 answers

iOS app showing Invalid Binary Xcode 11 beta 6

I am uploading the app from Xcode 11 Beta6 and it is showing invalid binary Error is like this: Dear Developer, We identified one or more issues with a recent submission for App Store review for your app, "app" 2.40 (5821). Please correct the…
Mayank Patel
  • 3,868
  • 10
  • 36
  • 59
0
votes
2 answers

Can apps be submitted in AppStore with Xcode 11 beta 6?

There used to be rule that apps built with beta version of Xcode can not be submitted for review. There doesn't seem to be anything in writing for Xcode 11 beta. Has the rule changed, and can we submit apps built with Xcode 11 beta?
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
0
votes
2 answers

App stuck on iOS 13 beta simulator with Xcode 11 beta but working fine on iOS 13 beta simulator with Xcode 10

I am facing a very strange problem. At the start of the app, I call API to get the token. It was working fine till iOS 12. But, on iOS 13 beta version, the completion closure is not called and app keep on accumulating memory and finally…
Ghulam Rasool
  • 3,996
  • 2
  • 27
  • 40
0
votes
0 answers

Application taking more than 10 secs to launch iOS13, Xcode 11.0 beta 6 version

I am making my app compatible to iOS 13 and facing this problem with launch time that is coming to be around 15 secs for my app. I agree the code base is huge as it is a big project but still unable to figure out a way to reduce the launch time. I…
Ishika
  • 2,187
  • 1
  • 17
  • 30
0
votes
1 answer

Swift Package Manager compatible with which iOS versions?

Is it possible to use Swift Package Manager on Xcode projects that support iOS 11 and above?
TruMan1
  • 33,665
  • 59
  • 184
  • 335
0
votes
0 answers

'Expression ambiguous without more context' inside ForEach loop (Xcode 11 b6)

In my open source SwiftUI project a certain piece of code stopped working as of Xcode 11 b6 with the following error: Type of expression is ambiguous without more context. at the line ModalView(currentModal: modal) Everything worked without a hitch…
cyril
  • 3,020
  • 6
  • 36
  • 61
0
votes
1 answer

SwiftUI dyld: Symbol not found: _$s7SwiftUI7BindingVyxGAA0C11ConvertibleAAMc Xcode 11 beta 5

Ever since upgrading to iOS Beta 6 (and Beta 7) I have been unable to launch my SwiftUI app to my iPhone X. The app works fine on iOS Simulator. Apple's Landmarks tutorial app also fails to boot to my device I am on the latest version of Xcode (Beta…
0
votes
1 answer

Why does the selected segment color become clear in a UISegmentedControl when rotating the screen (Xcode 11 beta5)?

For example anchor a UISegmentedControl to the side margins and vertically centre in the view controller and then rotate the emulator. The same segment is still selected and the font is bold. Just the selected segment color is no longer…
Kpalser
  • 843
  • 7
  • 8
0
votes
1 answer

SwiftUI - QGrid with static cells

Im using this SwiftUI Package, that allows for Grids: https://github.com/Q-Mobile/QGrid Im trying to make a simple grid without data (static cells), but got the error bellow. Xcode 11 Beta 5 Catalina Beta 5 My code: import QGrid import…
Mane Manero
  • 3,086
  • 5
  • 25
  • 47
0
votes
0 answers

Thread 1: EXC_BAD_ACCESS (code=1, address=0x9) when trying to run my app on a physical device

I'm trying to run an app on a physical device, but I have a "Thread 1: EXC_BAD_ACCESS (code=1, address=0x9)" in the AppDelegate.Swift file. I'm having trouble fixing the issue, even finding its origin. I'm using Xcode11 beta 5. The app uses…
Daymo502
  • 825
  • 1
  • 6
  • 10
0
votes
0 answers

How to set HStack spacing From Length to CGFloat in SwiftUI?

After updating Xcode 11 beta 5 I am unable to set HStack spacing and frame. Because it ask me to set it in CGFloat. I tried CGFloat(100) but it doesn't work.
Monil Gandhi
  • 119
  • 1
  • 10