Closed levelchanger closed 3 years ago
@levelchanger can you test doing a clean pod install, instead of using pod update
. First run pod deintegrate
and then instead of using the update command, run pod install --verbose
. If you still get an error, can you paste the logs here? so we can continue to help you.
I built a project yesterday with 10.5.2 in the podfile and it worked correctly. I also updated an existing project as well. I was using macOS 10.14.6 and then on a completely different Mac, used macOS 11
Your podfile has 'Realm' - remove that and try just RealmSwift
pod 'Realm', '=10.5.2'
pod 'RealmSwift', '=10.5.2'
Our pod just uses
pod 'RealmSwift', '>= 10.0.0'
@visdyn I have a mixed ObjC/Swift project so I need both SDKs.
@dianaafanador3 After following your instructions, the problem still exists. Here is the output podoutput.txt
Is this the same issue as this https://github.com/realm/realm-cocoa/issues/6943
As mentioned by @visdyn, referring to issue #6943, can you please clean your pod cache?
@visdyn, @dianaafanador3 Yes, it is the same problem and removing the pod cache and Xcode derived data fixed everything. Thank you!
Cocoapods fails trying to install RealmSwift 10.5.2 when using
pod update
. It appears to be looking for RLMAccessor.h in the wrong directory.Goals
Update to the latest RealmSwift and be able to build again in Xcode
Expected Results
Update to the RealmSwift 10.5.2 and be able to build again in Xcode
Actual Results
Here is the output from Terminal
Stack
Plugins
Podfile
Error
Don't know if it can be reproduced
Code Sample
N.A.
Version of Realm and Tooling