CptEric
CptEric

Reputation: 907

Error when using Realm with Xcode 6.3.1

Today i decided to give a go to Realm for a project, but, when adding it via cococa pods, it just keeps yelling me he can't find Realm.Private on the ListBase class.

tried to clean, tried to reimport, closed & reopened Xcode....

content of my cocoapods file:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'RealmSwift'

thanks.

Upvotes: 0

Views: 136

Answers (1)

marius
marius

Reputation: 7806

There was an issue on Realm's GitHub repository about that. Realm Swift's podspec makes use of some brand new CocoaPods features, so you will need to update CocoaPods to at least 0.37.1.

Cleaning the cache and the existing installation and re-installing has proven to be helpful in that case:

rm -r Pods/Realm
rm -r ~/Library/Caches/CocoaPods/Pods/Released/Realm
pod install

Upvotes: 2

Related Questions