【问题标题】:Xcode archive linker error dlibXcode 存档链接器错误 dlib
【发布时间】:2018-01-09 13:47:24
【问题描述】:

在 Xcode 中归档项目时出现此错误。

ld: bitcode bundle could not be generated because '/project/Pods/dlib/build/libdlib.dylib' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

不知道该怎么办:(有什么建议吗?

【问题讨论】:

  • 您是否尝试清除派生数据?
  • @dip 我该怎么做?
  • 在构建设置中将 Enable Bitcode 设置为 No
  • stackoverflow.com/a/44427019/3236890 清除派生数据!
  • @Anbu.Karthik 但我需要这个参数来设置 YES,因为我想上传项目到 App Store

标签: ios xcode cocoapods dlib


【解决方案1】:

我想你可以在这里找到答案xcode 7.1 swift framework app builds but not archiving

【讨论】:

    猜你喜欢
    • 2017-07-24
    • 2016-07-03
    • 2013-01-16
    • 2010-11-25
    • 2014-01-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-04-16
    相关资源
    最近更新 更多