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

NavigationLink in ContextMenu no longer working in iOS14 xcode12 beta3?

Wondering if anyone else has this issue, and if a workaround has been found. This works fine in iOS 13, but seems broken in iOS 14. I am just trying to fire off a NavigationLink to another View, from a .contextMenu. My code is as below. import…
5
votes
2 answers

SwiftUI Label text and image vertically misaligned

I'm using SwiftUI's brand new Label View, running Xcode 12 beta on Big Sur. As image I use SF Symbol and found an image named "play". But I've noticed the same problem with custom images without any bordering pixels (i.e. spacing is not caused by…
Sajjon
  • 8,938
  • 5
  • 60
  • 94
5
votes
1 answer

SwiftUI | Drag and Drop using LazyVGrid?

Is it possible to reorder the items inside the LazyVGrid using drag and drop? Like something similar to the Editmode when using a List together with .onMove()? Thanks!
Kai Zheng
  • 6,640
  • 7
  • 43
  • 66
4
votes
1 answer

Target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting warning in Xcode 12.5 and Swift 5

[!] The `SampleUITests [Prod]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-Sample-SampleUITests/Pods-Sample-SampleUITests.prod.xcconfig'. This can lead to problems with the…
Kalyan
  • 612
  • 6
  • 20
4
votes
1 answer

Delete Xcode and download again instead of making update?

I'm using Xcode 12.5 (12E262) on a MacBook Air with macOS Big Sur 11.5.1 (20G80). App Store says, there's a new update for Xcode. When trying to start the update, I get a message that the update cannot get started because there isn't enough disk…
David
  • 2,898
  • 3
  • 21
  • 57
4
votes
0 answers

Xcode 12 run issue

Executable Not Found XXX.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.
George Wen
  • 41
  • 2
4
votes
2 answers

XCode 12.5 - Can't add Apple ID

I am attempting to add an Apple ID using Xcode 12.5. When I click the + button -> Click apple id -> Modal dissapears and then nothing happens. I've restarted it multiple times. I tried to import developer accounts from another machine and it will…
Mike Baglio Jr.
  • 1,990
  • 3
  • 18
  • 19
4
votes
2 answers

watchOS Multiple Build Targets: "Any watchOS Device" vs "armv7k, arm64_32"

I have a watchOS-only Xcode project targeting watchOS 6 and above, written in SwiftUI and all its dependencies handled by Swift Package Manager. I've noticed in Xcode 12 there are actually 2x build targets for this project. One is labelled "Any…
Simon Rice
  • 1,119
  • 1
  • 13
  • 22
4
votes
5 answers

How to resolve Abort trap: 6 ERROR - xcode 12

We have faced the issue of "abort trap 6" in Xcode 12. Due to this reason app not running using Xcode 12. We are using the swift 5 versions and jsqmessageviewcontroller objective c library. Below errors getting in Xcode 12. :0: error: fatal…
4
votes
1 answer

Xcode 12.4 Builds for Simulator and Device but Archiving Fails with Pods-MYAPP-frameworks.sh: line 131: ARCHS[@]: unbound variable

I am using Xcode 12.4 (updated from 12.2 hoping that my problem would be fixed). As you know with xcode 12.x we deleted VALIDARCHS, added arm64 to excluded archs in project and pod files (for simulators only). Otherwise there were build problems. I…
tospik1
  • 41
  • 1
  • 4
4
votes
1 answer

Build Error Previewing First SwiftUI View

I'm incorporating SwiftUI into my project for the very first time! Unfortunately I can't preview my first SwiftUI file I add to the project. The build only fails on the preview. And the failure is in my tests. Steps to build error: Click the…
TheJeff
  • 3,665
  • 34
  • 52
4
votes
1 answer

No such module 'GoogleMobileAds'

After upgrading Google Mobile SDK 8.0 via Cocoapods, Xcode throws me error 'No such Module 'GoogleMobileAds'. I did my search but nothing helped me so far. I already did these steps: rm -rf ~/Library/Caches/CocoaPods rm -rf Pods rm -rf…
Emin Turk
  • 350
  • 3
  • 13
4
votes
1 answer

Command ValidateEmbeddedBinary failed with a nonzero exit code

I ran into this error after upgrading xCode to version 12.4 Build fails with the following message: "Command ValidateEmbeddedBinary failed with a nonzero exit code" This error concerns the validation of the extension to the macOS application (in…
NSFriend
  • 81
  • 6
4
votes
0 answers

Is Flutter support the latest XCode 12.4 version?

Launching lib/main.dart on iPhone 12 Pro Max in debug mode... Running Xcode build... └─Compiling, linking and signing... 2.4s Xcode build done. 20.0s Failed to build iOS app Error…
Simon wong
  • 81
  • 3
4
votes
1 answer

Unable to build WebRTC on iOS for arm64

I am trying to make a WebRTC.xcframework build for on an iOS device. Here is what I am running to build it. gn gen out/ios_arm64device --args='target_os="ios" target_cpu="arm64" ios_code_signing_identity="********"…
plato522
  • 133
  • 6