gpt4 book ai didi

ios - Xcode 12 HaishinKit lib 构建错误 : Undefined symbols for architecture x86_64

转载 作者:行者123 更新时间:2023-12-03 21:10:56 24 4
gpt4 key购买 nike

安装 pod 后无法构建项目:(在 Xcode 11 上没问题
[https://github.com/shogo4405/HaishinKit.swift][1]

  "__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers", referenced from:
__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_HaishinKit in libHaishinKit.a(ASClass.o)
__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_HaishinKit in libHaishinKit.a(AVRecorder.o)
__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_HaishinKit in libHaishinKit.a(GLHKView.o)
__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_HaishinKit in libHaishinKit.a(HTTPService.o)
__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_HaishinKit in libHaishinKit.a(IOComponent.o)
__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_HaishinKit in libHaishinKit.a(AudioIOComponent.o)
__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_HaishinKit in libHaishinKit.a(MTHKView.o)
...
(maybe you meant: __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_HaishinKit)
"__swift_FORCE_LOAD_$_swiftCoreMIDI", referenced from:
__swift_FORCE_LOAD_$_swiftCoreMIDI_$_HaishinKit in libHaishinKit.a(ASClass.o)
__swift_FORCE_LOAD_$_swiftCoreMIDI_$_HaishinKit in libHaishinKit.a(AVRecorder.o)
__swift_FORCE_LOAD_$_swiftCoreMIDI_$_HaishinKit in libHaishinKit.a(GLHKView.o)
__swift_FORCE_LOAD_$_swiftCoreMIDI_$_HaishinKit in libHaishinKit.a(HTTPService.o)
__swift_FORCE_LOAD_$_swiftCoreMIDI_$_HaishinKit in libHaishinKit.a(IOComponent.o)
__swift_FORCE_LOAD_$_swiftCoreMIDI_$_HaishinKit in libHaishinKit.a(AudioIOComponent.o)
__swift_FORCE_LOAD_$_swiftCoreMIDI_$_HaishinKit in libHaishinKit.a(MTHKView.o)
...
(maybe you meant: __swift_FORCE_LOAD_$_swiftCoreMIDI_$_HaishinKit)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)```


[1]: https://github.com/shogo4405/HaishinKit.swift

最佳答案

在项目中使用 Xcode 创建一个新的空 Swift 文件对我有用。我真的不知道为什么,但 Xcode 修复了一切。

关于ios - Xcode 12 HaishinKit lib 构建错误 : Undefined symbols for architecture x86_64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63942054/

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