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
29
votes
1 answer

"Spotlight quit unexpectedly" in MacOS Catalina version 10.15.4, This crash happening after I have installed Xcode 12

I have shown below logs repeatedly. This crash happening after I have installed Xcode 12 in MacOS Catalina version 10.15.4 Any one please help me to fixing this crash. Process: Spotlight [3454] Path: …
Jitendra Chauhan
  • 974
  • 8
  • 10
29
votes
8 answers

Xcode 12 - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64e armv7s arm64 arm7)

Since I update Xcode to Xcode 12, I've got this error when I build : Check dependencies No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64e armv7s arm64 arm7) I try a lot of things : Uninstall/reinstall…
Pentagura
  • 551
  • 2
  • 8
  • 25
28
votes
3 answers

Tons of errors due to set arm64 in Excluded Architectures in iOS 14.2 simulators

first of all disclaimer: I'm using Mac Mini with Apple Silicon M1. I have set arm64 in Excluded Architectures due to the known error in Xcode 12: The linked framework 'XXXXXX' is missing one or more architectures required by this target:…
juanjovn
  • 492
  • 4
  • 8
28
votes
2 answers

Tl.xcodeproj The linked framework 'Pods_Tl.framework' is missing one or more architectures required by this target: armv7

I just updated to Xcode 12.0.1 from AppStore opened my old project and after build got an error. Here is an image for error: as I research on SO for a solution some answered mentioned changing architecture in the build setting and changing build…
NickCoder
  • 1,504
  • 2
  • 23
  • 35
27
votes
3 answers

Xcode 12 Unable to use Interface Builder to add subview to scrollview

Using Xcode 12 interface builder, I am unable to drag a view into a scrollview. This seems to be a very simple task that was working fine for a few years. I'm not sure what I am missing. Dragging views into other views is working perfectly though.
Marlo Quidato
  • 573
  • 5
  • 7
26
votes
5 answers

SwiftUI displayModeButtonItem is internally managed

I am getting this message in the console every time I navigate to another screen: [Assert] displayModeButtonItem is internally managed and not exposed for DoubleColumn style. Returning an empty, disconnected UIBarButtonItem to fulfill the non-null…
Barkin C.
  • 275
  • 3
  • 5
26
votes
2 answers

SwiftUI | Customize animation for scrollTo() using ScrollViewReader?

Is there a way to change the default scrolling animation of the ScrollView by using ScrollViewReader? Problem I have tried different things but the animation remained as the default one. withAnimation(.easeInOut(duration: 60)) { // <-- Not working…
Kai Zheng
  • 6,640
  • 7
  • 43
  • 66
25
votes
2 answers

"Building for iOS, but the embedded framework 'xxx.framework' was built for iOS + iOS Simulator"

When upgrading to Xcode 12.3, getting the error: Building for iOS, but the embedded framework 'opus.framework' was built for iOS + iOS Simulator But everything is ok before the update.
skoonppman
  • 259
  • 3
  • 4
25
votes
4 answers

How to pass @namespace to multiple Views in SwiftUI?

I'm playing with the new Xcode 12 beta & SwiftUi 2.0. .matchedGeometryEffect() modifier is great to do Hero animations. There is a new property @Namespace is introduced in SwiftUI. Its super cool. working awesome. I was just wondering if there is…
Azhagusundaram Tamil
  • 2,053
  • 3
  • 21
  • 36
24
votes
6 answers

Xcode 12 - Project Navigator width is stuck/locked, can't resize

Every so often the project navigator/left panel is stuck at a fixed width. This is very annoying when I have extensions in separate files named MainViewController+, because the is truncated. PhotoSlide...…
aheze
  • 24,434
  • 8
  • 68
  • 125
24
votes
5 answers

Problems after upgrading to Xcode 12:ld: building for iOS Simulator, but linking in dylib built for iOS, architecture arm64

I upgraded Xcode to Xcode 12, and build my project. Firstly, it come out an error such as below: ld: building for iOS Simulator, but linking in dylib built for iOS, file…
Ethan Li
  • 489
  • 1
  • 3
  • 8
23
votes
2 answers

Xcode 12 iOS 14 Widget without SwiftUI

Is it possible to create Xcode widget in Xcode 12 but without the use of SwiftUI and instead use XIB files to construct the Widget UI?
Vlad
  • 5,727
  • 3
  • 38
  • 59
23
votes
1 answer

Xcode 10+: how to switch to legacy build system?

There seem to be some problems with the new build system in Xcode 10. How do I switch to the old (legacy) build system? NOTE: While one can apparently still use it for a bit longer (in June 2022), the legacy build system is marked deprecated in…
Clay Bridges
  • 11,602
  • 10
  • 68
  • 118
22
votes
5 answers

Xcode 12 Apple M1 arm64 - Designable error: "wrong architecture"

My current project throws IBDesignable errors when using Interface builder on an apple Silicon based machine.. i tried excluding arm64 architecture for debugging, as well as some other hints i found on the internet, but no success at all.. the…
blendstylez
  • 341
  • 3
  • 16
22
votes
3 answers

Xcode 12 - Download more simulators runtime is empty

I can't add more simulator OS version in XCode 12, for example iOS 13, the list is empty: how can I add more simulatore with different ios version?
Piero
  • 9,173
  • 18
  • 90
  • 160
1 2
3
52 53