gpt4 book ai didi

ios - 段错误 11 错误,Firebase?

转载 作者:行者123 更新时间:2023-11-30 13:03:19 25 4
gpt4 key购买 nike

存在段错误 11 错误问题。错误显示如下:

CompileSwift normal x86_64 /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/MyApp/AnnotatePhotosVC.swift
cd /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -filelist /var/folders/wb/9dsv1b5j53n8qbwmbh49qf9m0000gn/T/sources-4ce728 -primary-file "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/MyApp/AnnotatePhotosVC.swift" -target x86_64-apple-ios9.0 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/AMPopTip -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Alamofire -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/AlamofireImage -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/AlamofireNetworkActivityIndicator -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/AlamofireObjectMapper -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Bolts -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Branch -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/DKVerticalColorPicker -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/EDStarRating -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/FBSDKCoreKit -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/FBSDKLoginKit -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/JSQMessagesViewController -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/JSQSystemSoundPlayer -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Jukebox -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/MIBadgeButton -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/MZTimerLabel -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Mixpanel -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/ObjectMapper -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/PubNub -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/QueryKit -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/ReachabilitySwift -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/SZTextView -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/SwiftDate -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/TCCopyableLabel -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/TOCropViewController -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/TTTAttributedLabel -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Crashlytics/iOS" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Fabric/iOS" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseAnalytics/Frameworks/frameworks" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseInstanceID/Frameworks/frameworks" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseRemoteConfig/Frameworks/frameworks" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/GoogleIPhoneUtilities/Frameworks" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/GoogleInterchangeUtilities/Frameworks" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/GoogleSymbolUtilities/Frameworks" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/GoogleUtilities/Frameworks" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Intercom/Intercom" -F "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app" -enable-testing -g -import-objc-header "/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/MyApp/Obj-C-bridge.h" -module-cache-path /Users/kekearif/Library/Developer/Xcode/DerivedData/ModuleCache -D COCOAPODS -D DEV -D DEBUG -D TARGET_IOS_SIMULATOR -serialize-debugging-options -Xcc "-I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/swift-overrides.hmap" -Xcc -iquote -Xcc "/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/SA Dev-generated-files.hmap" -Xcc "-I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/SA Dev-own-target-headers.hmap" -Xcc "-I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/SA Dev-all-non-framework-target-headers.hmap" -Xcc -ivfsoverlay -Xcc /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/all-product-headers.yaml -Xcc -iquote -Xcc "/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/SA Dev-project-headers.hmap" -Xcc -I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/include -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Firebase/Analytics/Sources" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/Crashlytics" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/Fabric" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/Firebase" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/FirebaseAnalytics" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/FirebaseInstanceID" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/FirebaseRemoteConfig" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleAnalytics" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleIDFASupport" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleIPhoneUtilities" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleInterchangeUtilities" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleSymbolUtilities" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleTagManager" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleUtilities" -Xcc "-I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/Intercom" -Xcc "-I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/DerivedSources/x86_64" -Xcc "-I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/DerivedSources" -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc "-working-directory/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app" -emit-module-doc-path "/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC~partial.swiftdoc" -Onone -module-name SA_Dev -emit-module-path "/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC~partial.swiftmodule" -serialize-diagnostics-path "/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC.dia" -emit-dependencies-path "/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC.d" -emit-reference-dependencies-path "/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC.swiftdeps" -o "/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC.o"

/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Firebase/Analytics/Sources/Firebase.h:1:9: note: while building module 'FirebaseAnalytics' imported from /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Firebase/Analytics/Sources/Firebase.h:1:
#import <FirebaseAnalytics/FirebaseAnalytics.h>
^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/FirebaseAnalytics.h"
^
/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h:6:9: note: in file included from /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h:6:
#import "FIRApp.h"
^
/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseAnalytics/Frameworks/frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h:71:1: warning: conflicting nullability specifier on return types, 'nullable' conflicts with existing specifier 'nonnull'
- (nullable instancetype)init NS_UNAVAILABLE;
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk/usr/include/objc/./NSObject.h:60:1: note: previous declaration is here
- (instancetype)init
^
0 swift 0x000000010a827b6d PrintStackTraceSignalHandler(void*) + 45
1 swift 0x000000010a8275b6 SignalHandler(int) + 470
2 libsystem_platform.dylib 0x00007fff8cdd752a _sigtramp + 26
3 libsystem_platform.dylib 0x000000010fd2dac8 _sigtramp + 2197120440
4 swift 0x00000001084ba865 (anonymous namespace)::DeclChecker::checkOverrides(swift::TypeChecker&, swift::ValueDecl*) + 5749
5 swift 0x00000001084aa95e swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) + 3150
6 swift 0x00000001084c56a5 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) + 4453
7 swift 0x00000001084af112 (anonymous namespace)::DeclChecker::visit(swift::Decl*) + 3282
8 swift 0x00000001084aa2e7 swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) + 1495
9 swift 0x00000001084aa90a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) + 3066
10 swift 0x00000001084d79db swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) + 7627
11 swift 0x000000010818caab swift::CompilerInstance::performSema() + 5643
12 swift 0x0000000107c3900d performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) + 2765
13 swift 0x0000000107c36265 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 17029
14 swift 0x0000000107bf382d main + 8685
15 libdyld.dylib 0x00007fff80fae5ad start + 1
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -filelist /var/folders/wb/9dsv1b5j53n8qbwmbh49qf9m0000gn/T/sources-4ce728 -primary-file /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/MyApp/AnnotatePhotosVC.swift -target x86_64-apple-ios9.0 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/AMPopTip -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Alamofire -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/AlamofireImage -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/AlamofireNetworkActivityIndicator -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/AlamofireObjectMapper -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Bolts -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Branch -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/DKVerticalColorPicker -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/EDStarRating -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/FBSDKCoreKit -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/FBSDKLoginKit -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/JSQMessagesViewController -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/JSQSystemSoundPlayer -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Jukebox -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/MIBadgeButton -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/MZTimerLabel -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/Mixpanel -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/ObjectMapper -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/PubNub -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/QueryKit -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/ReachabilitySwift -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/SZTextView -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/SwiftDate -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/TCCopyableLabel -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/TOCropViewController -F /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/TTTAttributedLabel -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Crashlytics/iOS -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Fabric/iOS -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseAnalytics/Frameworks/frameworks -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseInstanceID/Frameworks/frameworks -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/FirebaseRemoteConfig/Frameworks/frameworks -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/GoogleIPhoneUtilities/Frameworks -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/GoogleInterchangeUtilities/Frameworks -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/GoogleSymbolUtilities/Frameworks -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/GoogleUtilities/Frameworks -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Intercom/Intercom -F /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app -enable-testing -g -import-objc-header /Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/MyApp/Obj-C-bridge.h -module-cache-path /Users/kekearif/Library/Developer/Xcode/DerivedData/ModuleCache -D COCOAPODS -D DEV -D DEBUG -D TARGET_IOS_SIMULATOR -serialize-debugging-options -Xcc -I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/SA Dev-generated-files.hmap -Xcc -I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/SA Dev-own-target-headers.hmap -Xcc -I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/SA Dev-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/SA Dev-project-headers.hmap -Xcc -I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Firebase/Analytics/Sources -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/Crashlytics -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/Fabric -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/Firebase -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/FirebaseAnalytics -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/FirebaseInstanceID -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/FirebaseRemoteConfig -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleAnalytics -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleIDFASupport -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleIPhoneUtilities -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleInterchangeUtilities -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleSymbolUtilities -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleTagManager -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/GoogleUtilities -Xcc -I/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app/Pods/Headers/Public/Intercom -Xcc -I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/DerivedSources/x86_64 -Xcc -I/Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -working-directory/Users/kekearif/Documents/MyApp/MyApp Dev/ios-app -emit-module-doc-path /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC~partial.swiftdoc -Onone -module-name SA_Dev -emit-module-path /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC~partial.swiftmodule -serialize-diagnostics-path /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC.dia -emit-dependencies-path /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC.d -emit-reference-dependencies-path /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC.swiftdeps -o /Users/kekearif/Library/Developer/Xcode/DerivedData/MyApp-dsxatbasknspfhezcnukgtimgkqf/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp DEV.build/Objects-normal/x86_64/AnnotatePhotosVC.o
1. While type-checking getter for frame at <invalid loc>

很困惑这里的问题是什么。我已将 AnnotatePhotosVC.swift 的内容复制到一个单独的项目中以检查是否有错误,但没有任何错误。但似乎 Firebase 可能存在问题,但我的类 AnnotatePhotosVC 不使用 Firebase 或引用它。这个错误打印是什么意思?我应该寻找什么?任何指点将不胜感激!

最佳答案

这可能是一个太晚的答案,但问题是 xcode 编译器正在崩溃。这应该“永远不会发生” =),但是最近版本的 xcode 和 swift3 一直有 bug 且脆弱(xcode 8.x)...当我将旧的 firebase 项目移至swift 3 和最新的 firebase cocoapods(即 3.7.1+)。我希望我能告诉你哪些组件​​导致了这个问题,但这很大程度上取决于你的 xcode 版本。我建议您迁移到 xcode 8.1 的 GA 版本,并将您的环境设置为纯 Swift 3,无需遗留 swift 编译,然后安装 Firebase 的最新 pod,您应该没问题! (这对我有用)。

关于ios - 段错误 11 错误,Firebase?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39664843/

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