Home > Mobile >  how to fix error: Abort trap 6 (in target 'RealmSwift' from project 'Pods')?
how to fix error: Abort trap 6 (in target 'RealmSwift' from project 'Pods')?

Time:04-06

when building the project, an error appears error: Abort trap: 6 (in target 'RealmSwift' from project 'Pods')

https://i.stack.imgur.com/l8Uog.png

I am using xcode 13.3, macbook on m1 pro

The tips I found on the internet didn't help.

Does anyone know the solution to my problem?

CodePudding user response:

I had the same issue after Xcode update. This command did help:

pod repo update

CodePudding user response:

To fix this issue you need to update the Realm version that you have to the RealmSwift 10.25.0 or over.

You can change the Podfile file

pod 'RealmSwift', '~> 10.25.0'

After that you just need to open the Terminal in your project folder and do:

pod repo update
pod install
  • Related