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

Xcode 12 failed to build cocoa pods - generate umbrella header

When updating to XCode 12, the project stopped working. Not able to build the project. Number of errors occurred stating failed to build cocoa pods generate umbrella header
Ankit Goyal
  • 3,019
  • 1
  • 21
  • 26
-1
votes
1 answer

How do you hide carriage return and space markings in Xcode 12.1?

I'm new to XCode (12). My source code editor is showing line numbers, periods marking every space and carriage returns, all displayed in light grey. I can switch off the line numbers in Preferences > TextEditing > Display. Why am I seeing markings…
Ewan
  • 481
  • 1
  • 5
  • 17
-1
votes
1 answer

Tab bar cause navigation controller bar button item customView disappear

I have embedded two navigation controllers in a tab bar controller. The two navigation controllers both have a view controller. The two view controllers both have a right bar button item, and the two bar button items have been set customView with a…
Lmeow
  • 1
  • 1
-1
votes
4 answers

didFinishPickingMediaWithInfo is not calling in Xcode 12

I already worked on UIImagePickerController. This code was already works fine in Xcode 11.3. But when I run on Xcode 12 Image picker delegate is not calling in Xcode12. /// Picked Image struct PickedImage { var image: UIImage? var api:…
Kathiresan Murugan
  • 2,783
  • 3
  • 23
  • 44
-1
votes
2 answers

Xcode 12.0 iOS 13+ UIViewController() problem with viewWillDisappear()

I have a simple flash card app I wrote for a friend of mine. I'm a hobby-est at best. It's essentially Tinder that you can flip the card over for a dead language. Everything has been working great up until the iOS 13 update with how Apple redid…
-1
votes
2 answers

Nested collection view doesn't respond on cell selection since Xcode 12 (Swift 5.3)

Since the latest xcode update (to version 12) the delegate methode didSelectItemAt of a nested UIColletionView doesn't respond. My structure: UITableView (vertical) - UITableViewCell - UICollectionView (horizontal) The vertical tableview consists of…
andre_hold
  • 562
  • 8
  • 20
-1
votes
3 answers

Xcode12 file not found

Just updated my project to Xcode12 and tried to compile. I keep getting "file not found" errors for multiple modules from the pods included in my project. I tried to follow these instructions mentioned here but that didn't work. Error: Could not…
ArdenDev
  • 4,051
  • 5
  • 29
  • 50
-1
votes
1 answer

Swift dynamic width on UILabel is broken

Yesterday Apple released Xcode 12 GM and iOS 14 so I don't know if this is a bug or not. I've built an UIView with 3 UILabels in it. These labels are filled and updated after an API request. After I run my project in Xcode the UILabels are perfect,…
Bjorn
  • 71
  • 6
-1
votes
1 answer

Xcode 12 + SwiftUI List: List row overlay on tap sticking

Here is my list view: struct ContentView: View { let colors: [Color] = [.red, .green, .yellow, .orange, .blue, .black, .pink, .purple, .gray] var body: some View { NavigationView { List { …
SVP
  • 2,773
  • 3
  • 11
  • 14
-1
votes
4 answers

ERROR: "This document requires at least Xcode 12.0"

Opened a project in Xcode 12.0 that I started on Xcode 11.x the other day. Without thinking, I made some edits in the interface builder and when I opened the project back up in Xcode 11.6 I got the This document requires at least Xcode 12.0. error.…
aaronmorin
  • 29
  • 4
-1
votes
1 answer

Why doesn't my list view load instantly in Xcode-12-Beta?

When using the List View in SwiftUI, it doesn´t render properly. When using the simulator, it works just fine, so I only get the behavior when using on device testing. Has anyone else seen this and knows how to fix it? This is the behavior I get Btw…
-1
votes
1 answer

SPM with resources + TestFlight

I have an app that uses SPM. One of my packages contains resources (.xib files). While trying to upload the app to TestFlight I get an error which is a known issue, pointed here: https://developer.apple.com/news/releases/?id=06232020a as a last…
-2
votes
1 answer

Why is trying to animate UIView to sync with keyboard popup not working?

I am trying to get a UIView to move up in sync with my keyboard when it is opened so the typing field remains in the display when the keyboard is up. However, while it does seem like the frame of the view is being updated in the code, the animation…
-2
votes
1 answer

My own pod library does not import in project

Trying to create my own library PodSpec: podspec PodFile: podFile Pod lib lint: pod lib lint Import: import library I call pod install and the dependency is installed but i can't do import enter image description here if you just download the zip…
Vyrex
  • 1
  • 3
-2
votes
2 answers

Call can throw, but it is not marked with 'try' and the error is not handled / Initializer for conditional binding must have Optional type, not 'JSON'

Sup, everyone... i hope you're doing good. Well, I've being coding for a short period of time and this bug came across, does anyone knows how to solve it? The intention is to have this 'file' which is a 'Auth Service', to communicate with a 'user…
goat23
  • 3
  • 1
  • 3
1 2 3
52
53