Search code examples
iosrealmxcode10swift4.2

While archiving my application I'm getting Error for Realm


I archive my application and now want upload to app store.

When I validate it or upload this error occurred :

Code signing "Realm.framework" failed


Solution

  • I'm sure you've solved this by now, but for anyone else facing this issue here's how I solved it.

    I had dragged the Realm and RealmSwift frameworks into my project manually. When I deleted those frameworks and installed Realm through Cocoapods the error went away.

    If you must have the framework manually installed in your project, go to the General tab of the framework and make sure the team is set to None.