【问题标题】:XCode won't compile with Kinvey : file is universal (3 slices) but does not contain a(n) i386 sliceXCode 无法使用 Kinvey 编译:文件是通用的(3 个切片)但不包含 a(n) i386 切片
【发布时间】:2013-08-21 17:42:56
【问题描述】:

我是 Xcode 的新手,Kinvey 的新手.. 有趣的开始..

我按照 Kinvey 的 iOS 安装指南进行操作,一切顺利,直到我尝试编译。我的项目中存在 Kinvey 框架阻止它编译,并出现以下错误:

ld: file is universal (3 slices) but does not contain a(n) i386 slice: /Users/*path_to_my_project*/KinveyKit.framework/KinveyKit for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

环顾其他解决方案,似乎没有什么合适的。请注意,问题出在 i386 上,而不是 armv7s 上。。

我在 Xcode 4.6.1 和 Xcode 4.6.3 上尝试了全新的项目,其中没有任何内容..

非常感谢您的帮助。

【问题讨论】:

标签: xcode kinvey


【解决方案1】:

我们在项目中遇到过这个问题。我相信,如果您进入主应用目标的构建设置并将属性 ONLY_ACTIVE_ARCH(仅构建活动架构)设置为 NO,那应该可以解决您的问题。

【讨论】:

    【解决方案2】:

    联系Kinvey后发现是1.19.1 SDK的Bug。它已在 1.19.2 中修复。 Kinvey 对此反应强烈。

    这个问题现在可以结束了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-02
      • 1970-01-01
      • 1970-01-01
      • 2012-09-06
      • 1970-01-01
      相关资源
      最近更新 更多