Questions tagged [xcode12]

This tag should only be used for questions specific to the usage and features of Xcode 12. 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 12 is year 2020 version of Apple's IDE. Made available in beta at the start of WWDC 2020 on June 22, 2020. This provides support for iOS 14, macOS 11, watchOS 7, and tvOS 14.

783 questions
0
votes
2 answers

Xcode 12: TableView Cell image too big and covering text

I made some custom tableview cells and while everything else with them works, the images are really big and I cant get them any smaller. I did this and its still flooding: I added height and width constraints and a 10 constraint to the left of the…
user10947517
0
votes
1 answer

Crash app when I handle image on Action Extension: iOS 14.0, xCode 12.0

I have problem when I handle image in Action Extension: It crashed when I set image to UIPasteboard or handle Image UIPasteboard.general.image = image or let dataCompress = image.jpegData(compressionQuality: value)! The message is: Thread 2:…
0
votes
1 answer

XCode 12/Swift 4 Custom Cells not displaying on UI Table Cell View

Ok so, I am trying to make a custom table that has a news feed from newsapi, from my debugging: the api calls and such get made and the data is acessed, its just that it doesnt display on the table, it shows up as a blank table. Here is the…
user10947517
0
votes
1 answer

SwiftUI: compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

So I have a GeometryReader encapsulating most of my contentView, struct ContentView: View { var body: some View { GeometryReader { proxy in .... } } } but I'm running into an issue with it. I pass it into…
nickcoding
  • 305
  • 8
  • 35
0
votes
0 answers

iOS 14 / XCode 12 - Previous assets no longer working?

EDIT: I'm now also having issues setting a UIImageView to a PDF File thats in the Assets.xcassets folder. Relatively new. (~8 months) so this is my first time experience a major software release. I have some code the preloads data on the first…
StonedStudio
  • 507
  • 3
  • 20
0
votes
1 answer

Xcode 12 errors with FBSDK

I have many errors coming from FBSDK when running Xcode 12 that I would not get any on Xcode 11. Duplicate interface definition for class 'FBSDKGraphRequestConnection' Property has a previous declaration No type or protocol named 'FBSDKCopying'…
IMKt
  • 43
  • 6
0
votes
0 answers

Strange build issue after upgrading to XCode 12

After updating XCode and running our project we're seeing a strange Objective C + Swift bridging issue which is outlined in the screenshot. Any ideas on what to try will be extremely helpful.
narek.gevorgyan
  • 4,165
  • 5
  • 32
  • 52
0
votes
0 answers

Strange problem with Xcode 12 and iOS 14, error Coresimulator and more

I created an app with Cordova that has bugs with iOS 14 and I need to update it. However, this problem that he presents to me is very strange and I don't think Cordova is the problem. The previous project opens quietly, starts but has bugs. For this…
Jollyvideos
  • 113
  • 2
  • 7
0
votes
2 answers

Firebase and Xcode12 API deprecated, Use fetchItemsForIdentityVerificationSignature:

I'm try to use Firebase with Xcode 12, but I'm facing this warning after install and run the project. 'generateIdentityVerificationSignatureWithCompletionHandler:' is deprecated: first deprecated in iOS 13.5 - API deprecated. Use…
Damiano Miazzi
  • 1,514
  • 1
  • 16
  • 38
0
votes
1 answer

Xcode 12. How to change autocompletion view color?

Here is the new Xcode 12 view of autocompletion window. The question is how to change colors of background, size and color of text. Maybe other colors of that view.
Nike Kov
  • 12,630
  • 8
  • 75
  • 122
0
votes
1 answer

Xcode12; New “Subclass MPMediaItem must implement -valueForProperty” error

Just updated to Xcode 12.0 from the last version of Xcode 11/iOS13 and am getting an error in AppDelegate: Thread 1: "Subclass MPMediaItem must implement -valueForProperty: defined in [MPMediaItem class]." When the app starts, I MPMediaQuery the…
Ronni
  • 55
  • 1
  • 7
0
votes
1 answer

How to use SKTestSession in UI tests? Xcode 12 GM

I added SKTestSession in my UI tests and it loads my .storekit file ok, at least that's what it says. But my store related code cannot be tested because SKProductsRequest never succeeds nor fails. Looks like it doesn't work at all. I use Xcode 12 GM…
silvansky
  • 2,426
  • 2
  • 19
  • 20
0
votes
2 answers

Add an iOS 14 widget in project with compatibility with old iOS

I want to add an iOS 14 widget in my existing project. But I get compile errors is only available in iOS 14.0 or newer. My widget target deployment target is set to iOS 14. Main app and the whole project deployment target is lower – 12.2. The…
Valentin Shamardin
  • 3,569
  • 4
  • 34
  • 51
0
votes
1 answer

ProgressView in SwiftUI 2.0 (How to display the ProgressView during an operation)

I'm trying to show a ProgressView while something is being processed, and the app busy. in this exemple during the for import SwiftUI struct ContentView: View { @State var isLoading:Bool = false var body: some View { ZStack{ if…
GaF
  • 101
  • 2
  • 5
0
votes
1 answer

Grouped List in SwiftUI importing data from swift file

I can create grouped lists in SwiftUI using the following code: import SwiftUI struct ContentView: View { var body: some View { List { Section(header: Text("Freyr / Freya's Aett")) { } …
John Doe
  • 61
  • 6