问题描述:

I want that the example of MSCollectionViewCalendarLayout compiles and run.

Steps I've done:

  • installed CocoaPods
  • downloaded project
  • run pod install in the Example project directory
  • run the project from the .xcworkspace

Now I'm getting

Undefined symbols for architecture i386:

"_RKLogCoreDataError", referenced from:

___33-[RKEntityByAttributeCache load:]_block_invoke in libRestKit.a(RKEntityByAttributeCache.o)

___43-[RKManagedObjectImporter finishImporting:]_block_invoke in libRestKit.a(RKManagedObjectImporter.o)

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried the tips from here, but the version seem to be wrong.

How can I run this project?

网友答案:

Problem is, that RestKit version (0.22.0) specified in the Podfile is not compatible with Cocoapods 0.38.x. Switching to latest version 0.24.1 should fix this:

In Podfile:

pod 'RestKit', '0.24.1'
相关阅读:
Top