MSCollectionViewCalendarLayout示例:未定义的架构符号 [英] MSCollectionViewCalendarLayout example: undefined symbols for architecture

查看:183
本文介绍了MSCollectionViewCalendarLayout示例:未定义的架构符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要 MSCollectionViewCalendarLayout 编译并运行的示例。

I want that the example of MSCollectionViewCalendarLayout compiles and run.

我已完成的步骤:


  • 安装CocoaPods

  • / li>
  • 在Example项目目录中运行pod install

  • 从.xcworkspace运行项目

现在我得到了

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)

我尝试了这里

推荐答案

如何运行此项目?

问题是中指定的 RestKit 版本( 0.22.0 $ c> Podfile Cocoapods 0.38.x 不兼容。切换到最新版本 0.24.1 应修正此问题:

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:

在Pod文件中:

pod 'RestKit', '0.24.1'

这篇关于MSCollectionViewCalendarLayout示例:未定义的架构符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆