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

Not able to select cell of tableview which is inside of UITableViewCell using xCode 12.0

I have tableview with images which is inside the UITableViewCell. When I click on the image then it should open full image which is working perfectly fine till now but today I just updated my xCode from 11 to 12, it stopped working and not able to…
Manish
  • 608
  • 1
  • 11
  • 23
0
votes
1 answer

Swift hitTest:point withEvent to detect subview

I'm trying to detect when subView is tap using hitTest. Here is my implementation: class MyViews:UIView { override init (frame : CGRect) { super.init(frame : frame) } required init?(coder aDecoder: NSCoder) { …
user2924482
  • 8,380
  • 23
  • 89
  • 173
0
votes
1 answer

I have to wait 1 minute, before iPhone app starts, using Xcode 12

I have one problem. When i run my project, it shows black screen, which disappears in 1 minute. I use cable to run, but on simulator same effect. Also i use Xcode 12. I tried to turn off option "Debug executable", but I can't use all debug…
0
votes
1 answer

SwiftUI List view have a different shade of color after I upgraded to Xcode 12

After I upgraded to Xcode 12, my List view have a different shade of white or black (depending on Light mode or Dark mode) compared to its background. But my other List view in the same app is alright. Why? Below are the screenshots and accompanying…
Barny Lui
  • 87
  • 8
0
votes
1 answer

Xcode Archives being recognized as macOS apps instead of iOS after importing to new machine

I recently moved my user Library/developer/xcode folder to my new machine to try to keep the same settings. Upon opening the organizer on my new machine I noticed the applications are all under macOS where they should be on the iOS applications…
paul590
  • 1,385
  • 1
  • 22
  • 43
0
votes
1 answer

Getting "Transport Security has blocked a cleartext HTTP" error while using HTTPS api calls

I am getting this error in xcode "App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file." The point is i am using https in my api call.…
iamimran
  • 110
  • 2
  • 7
0
votes
1 answer

iOS App Distribution - xcode12 - Code signing "Bolts.framework" failed

In xcode12 when I try to upload to itunesconnect for an app using: bolts-framework parse-framework I get the error 'Code signing "Bolts.framework" failed.' The app uses carthage for the frameworks. The app runs on the simulator and devices but fails…
stuart
  • 425
  • 6
  • 19
0
votes
0 answers

Xcode Interface builder shows "No Selection"

The interface builder is not showing any property of the controls that I select in view. It just shows a text "No selection". I am trying on Xcode12. Is there anyone facing the same issue? The following image shows how my interface builder looks…
Jobins John
  • 1,265
  • 23
  • 45
0
votes
1 answer

App Delegate/Scene Delegate and Firebase issues after updating from Xcode 11 to 12

So I've been building my first app and when I recently updated to Xcode 12 multiple issues have occurred... I have noticed that there is no longer app and scene delegate files but my project is still using it. Wondering how I clean this up without…
0
votes
1 answer

Swift UIPageViewController - for the requested spine location (UIPageViewControllerSpineLocationMin)

Here I Created UIPageViewController by programmatically. When I load more than one ViewController to UIPageViewController. App crashed. Check my code below. class PageVC: UIPageViewController { let colors = [UIColor.green, UIColor.red,…
Kathiresan Murugan
  • 2,783
  • 3
  • 23
  • 44
0
votes
1 answer

Cell Identifier not found when running app

I've been working with UITables for a long time, and recently updated from Xcode 11.7 to Xcode 12. I created a new table and put inside a Cell Prototype, with identifier "cellAutocomplete", but when trying to dequeue the cell at "cellForRowAt", I…
0
votes
1 answer

AVPlayerViewController Swipe UISwipeGestureRecognizer.up not working Xcode 12 tvOS 14

We have just updated Xcode to version 12 and, among others, we have found an issue with setting up a UISwipeGestureRecognizer.up to an AVPlayerViewController. We use that gesture for showing a custom channel changer view. The main issue that it was…
Reimond Hill
  • 4,278
  • 40
  • 52
0
votes
1 answer

Why the Resources direrctory is not visible on my project navigatior

I just started learning SwiftUI and trying to follow the steps of the Building lists and navigation example from Apple. Although copied and existing on the project directory, I noticed the Resources directory is not visible in my project navigation…
Reyraa
  • 4,174
  • 2
  • 28
  • 54
0
votes
1 answer

how do i get an average value for scores in a table view (swift)?

I want to display an average for all values that are inputted into an Entity. Basically, one would press add on the TableView and a pop up would appear asking for a score, which would then add that “exam” to the tableview. I want to be able to add…
aadi sach
  • 51
  • 5
0
votes
0 answers

SwiftUI & iOS 14: how to set custom back image for all SwiftUI views

in iOS 13 apps, I used the following snippet (placed it in SceneDelegate) to set a custom back image for navigation views (SwiftUI views) which worked perfectly: UINavigationBar.appearance().backIndicatorImage = UIImage(named: "myBackImg") …
JAHelia
  • 6,934
  • 17
  • 74
  • 134