真机运行报错 怎么解决 !!!

报错
CompileSwift normal arm64 /Users/minlong/Documents/work/luzhou-ios/lswios/lswios/lswios/CoreData/Entity/LoginUser+CoreDataProperties.swift

cd /Users/minlong/Documents/work/luzhou-ios/lswios/lswios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /Users/minlong/Documents/work/luzhou-ios/lswios/lswios/lswios/CoreData/Entity/LoginUser+CoreDataProperties.swift /Users/minlong/Documents/work/luzhou-ios/lswios/lswios/lswios/BaseUI/lswTabBarController.swift /Users/minlong/Documents/work/luzhou-ios/lswios/lswios/lswios/CoreData/Entity/LoginUser+CoreDataClass.swift /Users/minlong/Documents/work/luzhou-ios/lswios/lswios/lswios/BaseUI/lswNavigationController.swift -target arm64-apple-ios9.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk -I /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/AFNetworking -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/ASIHTTPRequest -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/GTMBase64 -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/IQKeyboardManager -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/MBProgressHUD -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/MJRefresh -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/Masonry -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/Reachability -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/SDWebImage -F /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/TPKeyboardAvoiding -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk/usr/lib/libxml2.tbd -enable-testing -g -import-objc-header /Users/minlong/Documents/work/luzhou-ios/lswios/lswios/lswios/BaseUI/lswios-Bridging-Header.h -module-cache-path /Users/minlong/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/lswios-generated-files.hmap -Xcc -I/Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/lswios-own-target-headers.hmap -Xcc -I/Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/lswios-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/lswios-project-headers.hmap -Xcc -iquotePods -Xcc -iquotePods/AFNetworking -Xcc -iquotePods/ASIHTTPRequest -Xcc -iquotePods/GTMBase64 -Xcc -iquotePods/Headers -Xcc -iquotePods/IQKeyboardManager -Xcc "-iquotePods/Local Podspecs" -Xcc -iquotePods/Masonry -Xcc -iquotePods/MBProgressHUD -Xcc -iquotePods/MJRefresh -Xcc -iquotePods/Reachability -Xcc -iquotePods/SDWebImage -Xcc "-iquotePods/Target Support Files" -Xcc -iquotePods/TPKeyboardAvoiding -Xcc -iquotePods/AFNetworking/AFNetworking -Xcc -iquotePods/AFNetworking/UIKit+AFNetworking -Xcc -iquotePods/ASIHTTPRequest/Classes -Xcc -iquotePods/GTMBase64/GTMBase64 -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager -Xcc -iquotePods/Masonry/Masonry -Xcc -iquotePods/MJRefresh/MJRefresh -Xcc -iquotePods/SDWebImage/SDWebImage -Xcc "-iquotePods/Target Support Files/AFNetworking" -Xcc "-iquotePods/Target Support Files/ASIHTTPRequest" -Xcc "-iquotePods/Target Support Files/GTMBase64" -Xcc "-iquotePods/Target Support Files/IQKeyboardManager" -Xcc "-iquotePods/Target Support Files/Masonry" -Xcc "-iquotePods/Target Support Files/MBProgressHUD" -Xcc "-iquotePods/Target Support Files/MJRefresh" -Xcc "-iquotePods/Target Support Files/Pods-lswios" -Xcc "-iquotePods/Target Support Files/Reachability" -Xcc "-iquotePods/Target Support Files/SDWebImage" -Xcc "-iquotePods/Target Support Files/TPKeyboardAvoiding" -Xcc -iquotePods/TPKeyboardAvoiding/TPKeyboardAvoiding -Xcc -iquotePods/ASIHTTPRequest/Classes/ASIWebPageRequest -Xcc -iquotePods/ASIHTTPRequest/Classes/CloudFiles -Xcc -iquotePods/ASIHTTPRequest/Classes/S3 -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager/Categories -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager/Constants -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager/IQTextView -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager/IQToolbar -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager/Resources -Xcc -iquotePods/MJRefresh/MJRefresh/Base -Xcc -iquotePods/MJRefresh/MJRefresh/Custom -Xcc -iquotePods/MJRefresh/MJRefresh/MJRefresh.bundle -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager/Resources/IQKeyboardManager.bundle -Xcc -iquotePods/MJRefresh/MJRefresh/Custom/Footer -Xcc -iquotePods/MJRefresh/MJRefresh/Custom/Header -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager/Resources/IQKeyboardManager.bundle/zh-Hans -Xcc -iquotePods/IQKeyboardManager/IQKeyboardManager/Resources/IQKeyboardManager.bundle/zh-Hant -Xcc -iquotePods/MJRefresh/MJRefresh/Custom/Footer/Auto -Xcc -iquotePods/MJRefresh/MJRefresh/Custom/Footer/Back -Xcc -iquote/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk/usr/include/libxml2 -Xcc -I/Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Products/Debug-iphoneos/include -Xcc -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk/usr/include/libxml2 -Xcc -I/Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/DerivedSources/arm64 -Xcc -I/Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -working-directory/Users/minlong/Documents/work/luzhou-ios/lswios/lswios -emit-module-doc-path /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/Objects-normal/arm64/LoginUser+CoreDataProperties~partial.swiftdoc -Onone -module-name lswios -emit-module-path /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/Objects-normal/arm64/LoginUser+CoreDataProperties~partial.swiftmodule -serialize-diagnostics-path /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/Objects-normal/arm64/LoginUser+CoreDataProperties.dia -emit-dependencies-path /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/Objects-normal/arm64/LoginUser+CoreDataProperties.d -emit-reference-dependencies-path /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/Objects-normal/arm64/LoginUser+CoreDataProperties.swiftdeps -o /Users/minlong/Library/Developer/Xcode/DerivedData/lswios-eungurcxvohqesdxeqjxqxhjitga/Build/Intermediates/lswios.build/Debug-iphoneos/lswios.build/Objects-normal/arm64/LoginUser+CoreDataProperties.o

<unknown>:0: error: opening import file for module 'Swift': Not a directory

阅读 2.8k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
宣传栏