Xcode 11.0 Beta 4构建并运行,但无法存档

时间:2019-07-22 13:05:24

标签: ios swift xcode beta

我的Swift项目可以正常构建和运行,但是由于以下警告而导致的每次归档尝试均失败,并显示错误:

Could not find or use auto-linked library 'swiftFoundation'
Could not find or use auto-linked library 'swiftMetal'
Could not find or use auto-linked library 'swiftDarwin'
Could not find or use auto-linked library 'swiftUIKit'
Could not find or use auto-linked library 'swiftCoreFoundation'
Could not find or use auto-linked library 'swiftObjectiveC'
Could not find or use auto-linked library 'swiftDispatch'
Could not find or use auto-linked library 'swiftCoreImage'
Could not find or use auto-linked library 'swiftQuartzCore'
Could not find or use auto-linked library 'swiftCoreGraphics'
Could not find or use auto-linked library 'swiftCore'
  1. This issue似乎密切相关,但所提出的解决方案似乎都没有帮助。
  2. 错误显示在问题导航器的this Pod下。
  3. 我能够在Xcode 11.0 Beta(1)中将该项目存档。
  4. Xcode 10.2.1 gets stuck compiling and indexing this project

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,它似乎是由Xcode beta发行说明中的​​已知位码问题引起的:

  

包含使用“启用位码”构建设置设置为“是”的Swift代码的目标,当使用   存档动作。 (52804818)

     

解决方法:使用以下方法添加自定义构建设置:   名称LD_VERIFY_BITCODE,并将其设置为NO。给自己做个笔记   解决此问题后删除此自定义生成设置。