I’m building my app for the firsttime with the final release version of XCode 16 (released today), but I’m getting an error saying
"Compiling for iOS 13.4 but RealmSwift has a minimum deployment target for iOS 18".
This doesn’t happen with XCode 15, nor did it happen with any of the XCode 16 Betas, nor the XCode 16 RC, only with today’s final XCode 16.
Why is this happening. What can be done about it?
2
Answers
Are you using Cocoapods or SPM? Including Realm as a Swift Package instead of a Pod fixed the issue for me.
Update your realm version (pod update). It is helped me.