I'm trying to validate by app with the latest Xcode 13 RC.
I found out that what was building well on Xcode 12, is not longer compiling on 13 RC.
For example, I started getting: Cannot find type 'CKRecord' in scope
in a class that already has the import CoreData
statement. In iOS 14 I didn't have to import CloudKit.
If I add the import CloudKit
statement, it compiles fine and runs on a iOS 15 simulator but it no longer works on iOS 14. I started getting the following runtime error:
dyld: Library not loaded: /System/Library/Frameworks/_CoreData_CloudKit.framework/_CoreData_CloudKit Referenced from: /Users/andrei/Library/Developer/CoreSimulator/Devices/8554B734-4894-4DD0-A8FA-6C20983F3A49/data/Containers/Bundle/Application/71012125-8F7B-437A-8E59-78F588AA33FD/XXX.app/XXX Reason: image not found dyld: launch, loading dependent libraries
reproducible here.