代码之家  ›  专栏  ›  技术社区  ›  Besfort Abazi

未找到“字符串”文件-Firebase更新和leveldb库存在问题

  •  1
  • Besfort Abazi  · 技术社区  · 7 年前

    几个月以来,我一直无法更新Firebase,因为所有新版本都会给我两个错误:

    • 找不到“字符串”文件

    • 无法生成Objective-C模块“CoreFoundation”

    Xcode中的详细消息:

    <module-includes>:1:9: note: in file included from <module-includes>:1:
    #import "Headers/CoreFoundation.h"
            ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
    #include <CoreFoundation/CFBase.h>
             ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:72:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:72:
    #include <Block.h>
             ^ /Users/Besfort/Desktop/Coding/Xcode - projects/0.1/Pods/leveldb-library/table/Block.h:10:10: note: in file included from /Users/Besfort/Desktop/Coding/Xcode - projects/0.1/Pods/leveldb-library/table/Block.h:10:
    #include "leveldb/iterator.h"
             ^ /Users/Besfort/Desktop/Coding/Xcode - projects/0.1/Pods/leveldb-library/include/leveldb/iterator.h:18:10: note: in file included from /Users/Besfort/Desktop/Coding/Xcode - projects/0.1/Pods/leveldb-library/include/leveldb/iterator.h:18:
    #include "leveldb/slice.h"
             ^ /Users/Besfort/Desktop/Coding/Xcode - projects/0.1/Pods/leveldb-library/include/leveldb/slice.h:21:10: error: 'string' file not found
    #include <string>
             ^ <unknown>:0: error: could not build Objective-C module 'CoreFoundation'
    

    这里的核心问题在哪里?在我的Swift档案里?

    0 回复  |  直到 7 年前