realm-swift: Realm cocoapod ~/core and ~/include directories (& files) missing from v2.1.1 release

Goals

Able to compile/build after doing pod update.

Expected Results

Realm pod to install correctly.

Actual Results

The Realm pod’s ~/core and ~/include directories are missing, along with all of their included files. Most obvious is the missing of the Realm.h header file. v2.1.0 pod works fine.

Steps to Reproduce

pod 'Realm' in App Target section of Podfile, followed by pod install.

Code Sample

pod 'Realm'

Version of Realm and Tooling

ProductName:	Mac OS X
ProductVersion:	10.12.2
BuildVersion:	16C48b

/Applications/Xcode.app/Contents/Developer
Xcode 8.1
Build version 8B62

/Users/darrenehlers/.rvm/gems/ruby-2.2.3/bin/pod
1.1.1
Realm (2.1.1)

/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)


(not in use here)

/usr/bin/git
git version 2.9.3 (Apple Git-75)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

Glad to hear it!

If you do see CocoaPods caching a failed install again in the future, I’d appreciate it if you could take note of what happened and file an issue with CocoaPods, as this is something that shouldn’t happen: https://github.com/CocoaPods/CocoaPods/issues/new

This would also explain why you’re only getting this issue with 2.1.1, since CocoaPods caches pods per-version.

Thanks for sharing that, it helps. For some reason, your RealmTestOriginal.zip’s Pods/Realm/ directory doesn’t include core/ or include/. So the pod install process isn’t behaving as expected.

Could you please post the complete console output from running rm -rf Pods && pod deintegrate && pod install --verbose? Thanks!