Questions tagged [xcode11.1]

29 questions
59
votes
1 answer

Can't update Xcode 11

Trying to update from Xcode 11 GM to 11.1 always fail. I tried moving /Applications/Xcode.app first... nothing works This is my commerce log: 2019-10-08 12:29:08+01 leviathan installd[556]: PackageKit: Install Failed: Error…
Mycroft Canner
  • 1,828
  • 1
  • 11
  • 24
38
votes
7 answers

How to implement localization in Swift UI

Can anybody help me? I can't find any description of the localization in Swift UI. Can anyone please give advice or better an example of how to localize for example Text()?
Oleh H
  • 846
  • 1
  • 10
  • 18
6
votes
4 answers

Xcode 11.1 SwiftUI Preview failing

I receive this error whenever I try to preview a freshly created swiftui view. messageRepliedWithError("Connecting to launched interactive agent 9297", Optional(Error Domain=com.apple.dt.ultraviolet.service Code=17 "connectToPreviewHost: Failed to…
Rob
  • 757
  • 1
  • 10
  • 26
4
votes
1 answer

How to set tableview height according to its content-size in SwiftUI?

I need to disable scroll in tableView and increase the height according to its content. below is my code for table view in swiftUI please draw me guidance var body: some View { List{ ForEach(testData){ data in …
Dhaval Umraliya
  • 410
  • 1
  • 4
  • 22
4
votes
3 answers

IOS 13.2 (17B84) Device Support files for Xcode

"This iPhone is running iOS 13.2 (17B84), which may not be supported by this version of Xcode. An updated version of Xcode may be found on the App Store or at developer.apple.com." Does anybody have the IOS 13.2(17B84) Device Support files for Xcode…
ShibiN
  • 87
  • 1
  • 1
  • 6
4
votes
1 answer

Storyboard view controllers are black

I have installed a new Xcode version 11.1 in my mac and open my existing project, while i’m trying to open my storyboard its completely shown black UI.
Muhammad Nawaz
  • 1,113
  • 6
  • 15
4
votes
2 answers

Changing tintColor for button's PDF vector image

I've added a PDF image as an asset to Xcode, I want to change the tintColor of the image but without any success. I've tried to add User Defined Runtime Attributes, but it won't work. Also tried to change programatically, but it won't…
ytpm
  • 4,962
  • 6
  • 56
  • 113
3
votes
2 answers

How can I get current time in Swift (Xcode11.1)

I made simple alarm application. At Swift4 or when swift got main storyboard, I can get current time by using dateformatter. But now I got Xcode(v.11.1) and I can't use dateformatter. my code is very simple and I'm a beginner. if I wrote code this…
확마팍씨
  • 57
  • 1
  • 4
3
votes
2 answers

SwiftUI Preview displays error - Cannot preview in this file -- current target needs adjusted build settings

I'm using Xcode 11.1 and all of my swift previews show the following errors: Cannot preview in this file -- current target needs adjusted build settings along with "ProjectTests.xctest' failed to get build settings: …
Voltron
  • 431
  • 7
  • 19
3
votes
1 answer

Click preview to show destination VC

I've tried to implement a new UIContextMenuConfiguration to my tableView based app. I've also added a new delegate methods as shown below. It's works well, but I would like add a feature something like native iOS 13 apps. Click Preview to show…
Mannopson
  • 2,634
  • 1
  • 16
  • 32
2
votes
0 answers

How do I set focus on previous accessibility element after dismissing a modal view

My view is constructed using stack view and model transition is setup using UITapGesture. I have no data to update on previous controller. I just need to focus accessibility to previous view element after dismiss action. Currently after dismiss…
2
votes
1 answer

Xcode error: This app could not be installed at this time

I'm having issues installing apps on my simulator. I create a new project (making absolutely no modifications) and hit build, it builds successfully and then opens up the simulator.. A this point I get an error that says "This app could not be…
Enoch
  • 21
  • 2
1
vote
1 answer

How to fix warning after migration to xcode 11

I need help in resolving these warnings after I migrated to Xcode 11. The warnings are as follows: Unsupported use of UIKit API off the main thread: UIAccessibilityIsGuidedAccessEnabled() Unsupported use of UIKit API off the main thread:…
1
vote
0 answers

How can my app know if it is opened from widget?

I have set up a widget and made it able to open the main app successfully. But I can't seem to make the main app "aware" of the way it's opened. I want the app to be able to distinguish the way it's opened, be it from (1) the main screen or (2) the…
Lambdalex
  • 481
  • 1
  • 5
  • 10
1
vote
2 answers

In Xcode 11.1 onward, Is there any way to have different Display Name and PRODUCT_NAME?

Our app name contains a "+". Prior to Xcode 11.1 we could have a different Display name and PRODUCT_NAME. However, when we updated to Xcode 11.1, changing the app name automatically changes PRODUCT_NAME. When we upload this archive to the App Store,…
Reema
  • 83
  • 10
1
2