作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我希望MSCollectionViewCalendarLayout的示例可以编译并运行。
我已完成的步骤:
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
版本(Podfile
)与Cocoapods 0.38.x
不兼容。切换到最新版本的0.24.1
应该可以解决此问题:
在Podfile中:
pod 'RestKit', '0.24.1'
关于ios - MSCollectionViewCalendarLayout示例:体系结构的 undefined symbol ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31704466/
我下载了MSCollectionViewCalendarLayout现在我想试试这个例子。如果我打开 Example.xcodeproj,我只会收到错误,例如 Lexical or Preproces
我是一名优秀的程序员,十分优秀!