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
22
votes
7 answers

An extra UITableViewCellContentView overlay appears in a TableView on iOS 14 preventing taps, but works fine on iOS 13

On an iOS 14 device compiled with XCode 12 an extra UITableViewCellContentView is appearing above the content of the table view preventing any of the buttons underneath it from being tapped. This only appears in iOS 14. It does not appear in iOS 13.…
Ravi Damani
  • 296
  • 2
  • 6
22
votes
11 answers

All Image/Fast Image in React Native app not working on iOS 14 beta and Xcode 12 beta

I've upgraded my iPhone device to iOS 14 beta and Xcode 12 beta. Then all Image/Fast Image on my React Native project can not show (which work well on previous iOS 13 and Xcode 11.5).
EmBeCoRau
  • 327
  • 1
  • 4
  • 14
21
votes
1 answer

Width of source control text display... How to fix?

In Xcode 12, this is what my source control navigator looks like. Xcode 11 and earlier didn't chop off or compress the column width as you see here. Any ideas on how to fix this?
Custom_Software
  • 501
  • 1
  • 4
  • 11
20
votes
5 answers

Xcode 12 Problems: "Build input file cannot be found "- Building for release on a react native app

When I try to do an archive build for "any iOS device", I receive this error: Build input file cannot be found:…
Craig1123
  • 1,510
  • 2
  • 17
  • 25
19
votes
6 answers

Xcode 12, How to suppress "Double-quoted include in framework header" warnings throughout entire project

With Xcode 12 there is a new default warning which will throw a warning anywhere you #import or #include with "quotes.h" instead of . Warning: "Double-quoted include in framework header" How do you turn off this warning for the entire…
Albert Renshaw
  • 17,282
  • 18
  • 107
  • 195
19
votes
0 answers

Is there a way to set deployment target for a Xcode playground

I've upgraded to MacOS 11 (Big Sur) Beta 4. And Xcode 12 beta 4. I have a Swift playground with Combine publishers: Just([1,2,3]) .setFailureType(to: Error.self) // Make the compiler pick up new API in MacOS Big Sur .flatMap { $0.publisher…
weenzeel
  • 797
  • 5
  • 17
19
votes
5 answers

Xcode 12 / iOS14 Widget "@main and must provide a main static function" error

Using Xcode 12 trying to create Widget app extension to my project. Upon creating new Widget target I am getting the following error: 'Widget' is annotated with @main and must provide a main static function of type () -> Void or () throws -> Void.
Vlad
  • 5,727
  • 3
  • 38
  • 59
18
votes
3 answers

Prompted to Update iOS Deployment Target to 12.0 when deployment set to iOS 10.0

I have updated to Xcode 12.0. My app has a deployment target of 10.0 but after updating to Xcode to 12.0, I am getting the following for all the pods in my podfile: Update iOS Deployment Target This will update the minimum deployment target of…
LizG
  • 2,246
  • 1
  • 23
  • 38
18
votes
1 answer

Why is UIApplicationDelegate method `application(_:configurationForConnecting:options:)` not called reliably

Issue: I find some unexpected behavior regarding the AppDelegate method application(_:configurationForConnecting:options:). The documentation states: UIKit calls this method shortly before creating a new scene. I would expect that this is the case…
de.
  • 7,068
  • 3
  • 40
  • 69
18
votes
3 answers

Xcode error saying "cannot find type 'TestModelCoreData' in scope when using core data fetch request, yet it compiles and runs

The code below is my view that I am messing around with core data in but it keeps giving me the error that it cannot find the entity in the scope, yet the application runs fine and everything gets saved and fetched just fine. Here are screenshots of…
FUNKYJASPER2
  • 190
  • 1
  • 2
  • 7
18
votes
2 answers

SwiftUI Sidebar doesn't remember state

I Have this app that uses the new sidebar introduced in iOS14 for iPad os but I can't figure out why it doesn't remember the state when its hidden This is the sidebar struct import SwiftUI struct Sidebar: View { …
Luca
  • 914
  • 9
  • 18
17
votes
0 answers

How can I make tabs permanent after quick open in XCode?

In Xcode, when I use Cmd+Shift+O (Quick open) to open a file, it creates a temporary tab. Then, I have to double click to make it permanent. I've googled around for a bit, but couldn't find any way to make the tabs permanent by default. Do any of…
stephenpassero
  • 431
  • 1
  • 5
  • 16
17
votes
6 answers

Undefined symbols for architecture arm64: Xcode 12

Im trying to build a project after adding 3rd party framework, however I can't compile the project after adding the framework, I get Undefined symbols for architecture arm64: error when I try to compile on a device, but I can compile on a simulator.…
bona912
  • 589
  • 2
  • 6
  • 14
17
votes
4 answers

iOS 14, lipo error while creating library for both device and simulator

We have been using lipo command to create a framework which works on both device and simulator when integrated in other project. following are the build commands used to generate device and simulator builds xcodebuild -target SampleSDK…
Rajesh Rs
  • 1,301
  • 5
  • 24
  • 48
16
votes
4 answers

Where is the `Hide or Show debug area` icon in Xcode 12?

Recently I shifted from Xcode 11.7 to Xcode 12. But in Xcode 12, I'm missing one icon which used to show or hide the debug area(console area). In Xcode 11.7, the icon was in top left corner of the IDE. (Here is the colored one) Now in Xcode 12,…
Atikul Gazi
  • 1,157
  • 12
  • 18