gpt4 book ai didi

ios - MSCollectionViewCalendarLayout示例:体系结构的 undefined symbol

转载 作者:行者123 更新时间:2023-12-01 18:50:04 25 4
gpt4 key购买 nike

我希望MSCollectionViewCalendarLayout的示例可以编译并运行。

我已完成的步骤:

  • 已安装CocoaPods
  • 下载项目
  • 在示例项目目录
  • 中运行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)

    我尝试了 here的技巧,但是版本似乎不对。

    我如何运行这个项目?

    最佳答案

    问题是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/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com