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

Problem with gesture in Xcode 12 and iOS 14

I have a problem after upgrading to Xcode 12 and iOS 14. Scenario: I have a Nested UITableView: nestedTableView. Like below class GAllowGestureEventPassTableView: UITableView, UIGestureRecognizerDelegate { var allowGestureEventPassViews:…
Django Free
  • 491
  • 4
  • 10
13
votes
5 answers

Bringing iOS Frameworks through Carthage in Xcode 12.0

I am using Xcode 12.0 and Carthage 0.35.0 and when I do Carthage bootstrap --platform iOS or Carthage update --platform iOS --no-use-binaries on a framework that I have developed I get this error. I did not have this problem in Xcode 11.7. ***…
Dogahe
  • 1,380
  • 2
  • 20
  • 50
13
votes
2 answers

CoreData Ambiguous reference to member 'id' Xcode 12

I have a coredata entity with an attribute id of type String when trying to reference that attribute from a key path it throws an error let path = #keyPath(User.id) //Ambiguous reference to member 'id' the codegen is set to Class Definition. I…
zombie
  • 5,069
  • 3
  • 25
  • 54
12
votes
1 answer

SwiftUI Preview turns on microphone

Does anyone know how to stop swiftUI previews from turning the microphone on? I wear bluetooth headphones while I work and every time a preview boots up it enables the mic. This degrades my audio quality since the headphones then split their…
12
votes
7 answers

Compile boost as universal library (Intel and Apple Silicon architectures)

I am trying to build boost library as dylib on MacOS. I need to build it for both the Intel architecture and the upcoming Apple Silicon (arm64) architecture. I downloaded boost and ran the following commands: ./bootstrap.sh ./b2 -address-model=64…
Anil8753
  • 2,663
  • 4
  • 29
  • 40
12
votes
4 answers

White background in table section header in iOS14

This issue appeared after building to iOS14 with xcode12. I have a section header with transparent background, on iOS14 it becomes white with new _UISystemBackgroundView added to the hierarchy.
Husam
  • 8,149
  • 3
  • 38
  • 45
11
votes
3 answers

Xcode 12 doesn't support new iOS version

Trying to build on iPhone, but here's what it shows.. How to fix it?
MikeMaus
  • 385
  • 3
  • 22
11
votes
3 answers

`Realm` requires CocoaPods version `>= 1.10`, which is not satisfied by your current version, `1.8.3`

I tried to update the cocoa pods, but facing an issue while updating(xcode12, macOS Catalina 10.15.5). please help. I have also attached a screenshot of my terminal. Thanks in advance!!
subhangi pawar
  • 451
  • 2
  • 7
  • 16
11
votes
1 answer

How to create a menu bar SwiftUI app for MacOS Big Sur

I'm trying to create an app that only appears in the MacOS Big Sur menu bar (top right corner) by following this tutorial: https://medium.com/@acwrightdesign/creating-a-macos-menu-bar-application-using-swiftui-54572a5d5f87/. It worked on Xcode 11…
Rohan
  • 132
  • 4
  • 21
11
votes
3 answers

Xcode 12 Error: Multiple commands produce AccessibilityResources.bundle

Building my react native project from Xcode gives the error below; Multiple commands produce…
likeachamp
  • 765
  • 4
  • 11
  • 21
11
votes
6 answers

Xcode 12 & SwiftUI: Cannot preview in this file — Failed to update preview

Seems like previews stopped working on Xcode 12! Trying to preview the SwiftUI file template and getting the error below. Any ideas how to fix this? Tried cleaning the build folder, deleting derived data and restarting Xcode to no avail! On Catalina…
Zorayr
  • 23,770
  • 8
  • 136
  • 129
11
votes
3 answers

Carthage build failed Xcode 12 12A7209 building

Carthage File contents: github "SwiftyJSON/SwiftyJSON" Error: Build Failed Task failed with exit code 1: /usr/bin/xcrun lipo -create…
Samrez Ikram
  • 591
  • 5
  • 15
11
votes
1 answer

Xcode12 beta4: building for iOS Simulator, but linking in object file built for free standing

In Xcode12 beta4 or beta5, I encounter a failure in my project. I can run the Project on my device, but it is not running in the simulator. I get the failure message: ld: in /libwebrtc.a(dequantizemmx.o), building for iOS Simulator, but linking in…
Tank
  • 111
  • 3
11
votes
3 answers

Xcode 12 Beta - Cannot find simulator runtime

I have installed Xcode 12 beta 2. I tried to run our xamarin project through Jenkins on Mac OS Catalina. It fails with the below error. When I build the same project from Mac Visual studio, it succeeded without any…
Priya22
  • 109
  • 1
  • 4
11
votes
2 answers

How to change navigator font size on Xcode

Is there any way to change the font size of the navigator panel in xcode? I've managed to change the font size in the edit window with preference->font & color, but that does not change the font size of the navigator.
Fred F
  • 1,027
  • 1
  • 9
  • 18