【问题标题】:xcode clang: error: no such file or directory: 'Lockbox'xcode clang:错误:没有这样的文件或目录:'密码箱'
【发布时间】:2020-07-25 09:38:01
【问题描述】:

我尝试编译 xcode 项目并遇到此错误 clang:错误:没有这样的文件或目录:'Lockbox'

Ld /Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/barqiaty.app/barqiaty normal x86_64 (in target 'Barqiaty' from project 'Barqiaty')
cd /Users/ahmad/Desktop/Barqiaty_iOSApp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios13.5-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk -L/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/AFNetworking -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/Alamofire -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/AnimatedCollectionViewLayout -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/BIObjCHelpers -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/Cosmos -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/CountryPickerSwift -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/IQKeyboardManager -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/Lockbox -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/MBProgressHUD -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/Mantle -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/PINCache -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/Reachability -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/SBJson -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/SwiftGifOrigin -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/SwiftyJSON -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/Toast-Swift -F/Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/VBRRollingPit -F/Users/ahmad/Desktop/Barqiaty_iOSApp/Pods/PayCardsRecognizer/Source -F/Users/ahmad/Desktop/Barqiaty_iOSApp/Booking -F/Users/ahmad/Desktop/Barqiaty_iOSApp -filelist /Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Intermediates.noindex/Barqiaty.build/Debug-iphonesimulator/Barqiaty.build/Objects-normal/x86_64/barqiaty.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Intermediates.noindex/Barqiaty.build/Debug-iphonesimulator/Barqiaty.build/Objects-normal/x86_64/barqiaty_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Intermediates.noindex/Barqiaty.build/Debug-iphonesimulator/Barqiaty.build/Objects-normal/x86_64/barqiaty.swiftmodule -framework AFNetworking -framework Alamofire -framework AnimatedCollectionViewLayout -framework BIObjCHelpers -framework CFNetwork -framework CoreGraphics -framework Cosmos -framework CountryPicker -framework Foundation -framework IQKeyboardManager -framework Lockbox -framework MBProgressHUD -framework Mantle -framework PINCache -framework PayCardsRecognizer -framework QuartzCore -framework Reachability -framework SBJson -framework Security -framework SwiftGifOrigin -framework SwiftyJSON -framework SystemConfiguration -framework Toast_Swift -framework UIKit -framework VBRRollingPit -weak_framework UIKit -framework AFNetworking -framework Alamofire -framework AnimatedCollectionViewLayout -framework BIObjCHelpers -framework CFNetwork -framework CoreGraphics -framework Cosmos -framework CountryPicker -framework Foundation -framework IQKeyboardManager -framework -framework Lockbox -framework MBProgressHUD -framework Mantle -framework PINCache -framework QuartzCore -framework Reachability -framework SBJson -framework Security -framework SwiftGifOrigin -framework SwiftyJSON -framework SystemConfiguration -framework Toast_Swift -framework UIKit -framework VBRRollingPit -weak_framework UIKit -ObjC -all_load -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Intermediates.noindex/Barqiaty.build/Debug-iphonesimulator/Barqiaty.build/barqiaty.app-Simulated.xcent -framework paytabs-iOS -framework Pods_Barqiaty -Xlinker -dependency_info -Xlinker /Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Intermediates.noindex/Barqiaty.build/Debug-iphonesimulator/Barqiaty.build/Objects-normal/x86_64/barqiaty_dependency_info.dat -o /Users/ahmad/Library/Developer/Xcode/DerivedData/Barqiaty-fubhzmpblqlatcczpgpotdnzmnrt/Build/Products/Debug-iphonesimulator/barqiaty.app/barqiaty

【问题讨论】:

  • 能否重新格式化您的问题?那行很难读,你为什么不添加一些换行符?

标签: xcode clang


【解决方案1】:

我发现了一些奇怪的东西:-framework -framework。之后它无法找到 Lockbox 但它可能会将第二个 -framework 误解为参数,然后尝试将 Lockbox 解释为不作为参数(不以 - 结尾)并且不作为框架而是作为实际它试图找到的文件。

我会尝试再次删除和添加所有框架并清除派生数据,看看它是否会消失。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-15
    • 1970-01-01
    • 1970-01-01
    • 2011-08-31
    相关资源
    最近更新 更多