iosxcoderealm

XCode 16: RealmSwift has a minimum deployment target of iOS 18.0


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?


Solution

  • Update your realm version (pod update). It is helped me.