我试图在我的xcode项目中包含一个框架,并且在尝试运行该应用时出现以下错误:
dyld: Symbol not found: __TMPdCSs18_HeapBufferStorage
Referenced from: /Users/christiandodier/Library/Developer/CoreSimulator/Devices/EDE17628-655D-422A-846F-C190466A5E17/data/Containers/Bundle/Application/793F7080-6808-4670-80F5-F3A189CB4969/Test.app/Frameworks/hitoeAPI.framework/hitoeAPI
Expected in: /Users/christiandodier/Library/Developer/CoreSimulator/Devices/EDE17628-655D-422A-846F-C190466A5E17/data/Containers/Bundle/Application/793F7080-6808-4670-80F5-F3A189CB4969/Test.app/Frameworks/libswiftCore.dylib
in /Users/christiandodier/Library/Developer/CoreSimulator/Devices/EDE17628-655D-422A-846F-C190466A5E17/data/Containers/Bundle/Application/793F7080-6808-4670-80F5-F3A189CB4969/Test.app/Frameworks/hitoeAPI.framework/hitoeAPI
任何帮助都将不胜感激。
答案 0 :(得分:2)
在我看来,您使用最新的Xcode 7.3和SDK 9.3,并链接到使用旧版SDK构建的库。
libswiftCore.dylib已经从Swift 2.1更新到7.3 / 9.3中的Swift 2.2,并且它们不是二进制兼容的。
尝试使用较旧的SDK下载Xcode 7.03或重建Xcode 7.3中的hitoeAPI.framework