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

Nativescript 7 with Angular and Firebase xcodebuild failed with exit code 65

Since I have updated my project on Nativecript7, I have a xcodebuild failed with exit code 65. I have tried many things to correct this issue but nothing works. It really seems that the error is coming from the emulator as it's coming at the very…
C. Banzet
  • 409
  • 2
  • 5
  • 19
0
votes
0 answers

CloudKit: annot use instance member 'predicate' within property initializer; property initializers run before 'self' is available

I'm trying to build a query in CloudKit: let predicate = NSPredicate(value: true) let query = CKQuery(recordType: "Movie", predicate: predicate) let operation = CKQueryOperation(query: query) But I'm getting this error: Cannot use instance member…
user2924482
  • 8,380
  • 23
  • 89
  • 173
0
votes
0 answers

Xcode 12.1 Debugging EXC_BAD_ACCESS

After updating the App to XCode 12 and iOS 14. I get a frequent crash where it does not show the Application line. Below I've given the backtrace I printed from XCode. Rarely I see the crash line stops at executeFetchRequest. I am not sure if this…
Jafar Mohammed
  • 103
  • 1
  • 12
0
votes
1 answer

Adding/Reducing day in the Date object returns wrong date when day light savings time ends

I'm using Calendar.current.date(byAdding: .day, value: -1, to: somedate) ?? somedate to reduce 1 day from some date. Since Daylight Saving Time Ended on 1'st Nov, 2020. When i'm trying to do this on 2nd Nov, 2020 0hr:0m:0s's date object, i expect…
aman
  • 30
  • 5
0
votes
0 answers

Run API and update array before Navigation

So I have an app that lets you search for words and gives you the definition and other details about it. I use 2 different apis so if you use a wildcard search (e.g. ?OUSE) you get all the possibilities and if you put in the whole word you just get…
jdez
  • 57
  • 1
  • 7
0
votes
1 answer

Please help to better understand the crashes. Crashes details: with Core Data on iOS 14, Xcode 12

I don't have a lot of experience in this. I did not change nothing in my code, but after iOS 14, I started to get the crashes and only for iOS 14 operating systems. Maybe something changed in Core Data? Here is crashlog details and Firebase. Thanks…
Aeerien
  • 21
  • 4
0
votes
1 answer

How can install pod file in aggregate framework in Xcode 12

I am working on custom framework so I create aggregate framework and also I wan to install cocoapods in project so I can able to install cocoapods but when I archive the project at that time "no module found CocoaMQTT"> I am using below script to…
Rushabh
  • 3,208
  • 5
  • 28
  • 51
0
votes
1 answer

Building for iOS Simulator, but the linked framework was built for iOS. Xcode 12

Getting this error when adding dependency through Carthage. Building for iOS Simulator, but the linked framework was built for iOS. Do you have any workaround for this issue?
Ruchi
  • 21
  • 2
0
votes
0 answers

ContentView file in SwiftUI too complex for the compiler?

Ever since SwiftUI 2 released, the compiler and debugger have just become awful. Whenever I add another view (that is a custom struct or even just a VStack containing a Text() element) to the ZStack in 'viewThatCanContainOtherViews()', the code…
nickcoding
  • 305
  • 8
  • 35
0
votes
1 answer

Undefined symbols for architecture XXX - in Xcode 12.1

My iOS project was running just fine on Xcode until I gave in to Apple's constant pressure to upgrade my Xcode, So I did. To Xcode 12.1, and out of absolute no where, the compiler refuses to build the project with something that looks like…
Hudi Ilfeld
  • 1,905
  • 2
  • 16
  • 25
0
votes
0 answers

xCode Like-button won't be created in table cell (EXC_BAD_ACCESS (code=2, address=0x7fff86e8d750))

Does anyone know why the code complains when I run the simulator of the application in xCode v12? I get the error message on the line: cell.likeControl.isFavored = request.isFavored <== Thread 1: EXC_BAD_ACCESS (code=2, address=0x7fff86e8d750) The…
0
votes
1 answer

Xcode error accessing build database while using the universal script for making framework builds

I am trying to build a Swift framework containing cocoapods, using the below universal framework script got from here: Swift universal framework depending on pod The build fails when using Xcode 12 and -UseModernBuildSystem=NO: The Legacy Build…
Max
  • 5,380
  • 6
  • 42
  • 66
0
votes
0 answers

Custom font disappears on App Store version, but worked 100% during development builds. Spritekit

I've installed a custom font into my spritekit game. Tested it in simulator & iPhone5,7,11 pro. No problem. Works 100%. So I finished my app and uploaded it to App Store connect. No problem. Waited the normal time for apple to review my app. Got…
Stefan Ovomate
  • 511
  • 1
  • 4
  • 16
0
votes
1 answer

IOException occurred while uploading build to testflight

An exception has occurred: IOException occurred ERROR ITMS-90534: “Invalid Toolchain. Your app was built with an unsupported SDK or version of Xcode. If you plan to submit this build to the App Store, make sure you are using the versions listed in…
0
votes
1 answer

runtime/cgo: could not obtain pthread_keys Simulator Error

I ran into this issue with Xcode 12.1 simulators running iOS 14.1. My code does compiles then I get the runtime error of runtime/cgo: could not obtain pthread_keys tried 0x118 0x119 0x11a 0x11b 0x11c 0x11d 0x11e 0x11f 0x120 0x121 0x122 0x123 0x124…