Skip to main content

Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following error 

RealmSwift 10.1: framework not found realm-sync

The greatest clue I came across to solving this issue was on the Realm GitHub issues page for realm-sync error.  However, updating Cocopods wasn't the only step required to correct this issue.  The steps I took were:

  1. Update Cocopods to v1.10.0 using
    sudo gem install cocoapods
  2. Deintegrate all of your pods
    pod deintegrate
  3. Install the pods from the podfile
    pod install
  4. Quit Xcode and restart

Following all of these steps corrected the framework not found issue.  I did attempt steps one and four only.  However, once I completed all four steps, then the error was removed.

Related articles

Andrew Fletcher12 Aug 2022
Using SwiftUI URLComponent to change a URL's scheme
The challenge I was facing, I had written a script to scan barcodes and use Google book API to view the contents.  However, a snippet of the JSON response { "contentVersion": "0.2.0.0.preview.0", "panelizationSummary": { "containsEpubBubbles": false, ...