Xcode 11 Beta 4存档错误

时间:2019-07-29 10:57:16

标签: xcode

当我尝试归档项目时,我遇到了这个确切的问题

ld: warning: Could not find or use auto-linked library 'swiftDarwin'
ld: warning: Could not find or use auto-linked library 'swiftUIKit'
ld: warning: Could not find or use auto-linked library 'swiftFoundation'
ld: warning: Could not find or use auto-linked library 'swiftMetal'
ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find or use auto-linked library 'swiftDispatch'
ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find or use auto-linked library 'swiftCore'

在xCode发行说明中,他们提到了此替代方法,但对我而言不起作用

  

包含具有“启用位码”构建设置的Swift代码的目标   设置为“是”时,如果使用“存档”操作进行构建,则无法正确链接。   (52804818)

     

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

0 个答案:

没有答案