skip to Main Content

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


  1. Are you using Cocoapods or SPM? Including Realm as a Swift Package instead of a Pod fixed the issue for me.

    Login or Signup to reply.
  2. Update your realm version (pod update). It is helped me.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search