Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
219 views
in Technique[技术] by (71.8m points)

xcode - error: redefinition of enumerator 'GULLoggerLevelMax' GULLoggerLevelMax = GULLoggerLevelDebug

My app fails when i try to run flutter run Error log:

 In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:21:
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Private/GULLogger.h:22:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/build/ios/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h:22:28: note: previous definition is here
    typedef NS_ENUM(NSInteger, GULLoggerLevel) {
                               ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:26:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Public/GULLoggerLevel.h:24:3: error: redefinition of enumerator 'GULLoggerLevelError'
      GULLoggerLevelError = 3,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:21:
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Private/GULLogger.h:22:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/build/ios/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h:24:3: note: previous definition is here
      GULLoggerLevelError = 3,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:26:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Public/GULLoggerLevel.h:26:3: error: redefinition of enumerator 'GULLoggerLevelWarning'
      GULLoggerLevelWarning = 4,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:21:
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Private/GULLogger.h:22:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/build/ios/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h:26:3: note: previous definition is here
      GULLoggerLevelWarning = 4,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:26:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Public/GULLoggerLevel.h:28:3: error: redefinition of enumerator 'GULLoggerLevelNotice'
      GULLoggerLevelNotice = 5,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:21:
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Private/GULLogger.h:22:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/build/ios/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h:28:3: note: previous definition is here
      GULLoggerLevelNotice = 5,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:26:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Public/GULLoggerLevel.h:30:3: error: redefinition of enumerator 'GULLoggerLevelInfo'
      GULLoggerLevelInfo = 6,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:21:
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Private/GULLogger.h:22:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/build/ios/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h:30:3: note: previous definition is here
      GULLoggerLevelInfo = 6,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:26:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Public/GULLoggerLevel.h:32:3: error: redefinition of enumerator 'GULLoggerLevelDebug'
      GULLoggerLevelDebug = 7,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:21:
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Private/GULLogger.h:22:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/build/ios/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h:32:3: note: previous definition is here
      GULLoggerLevelDebug = 7,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:26:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Public/GULLoggerLevel.h:34:3: error: redefinition of enumerator 'GULLoggerLevelMin'
      GULLoggerLevelMin = GULLoggerLevelError,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:21:
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Private/GULLogger.h:22:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/build/ios/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h:34:3: note: previous definition is here
      GULLoggerLevelMin = GULLoggerLevelError,
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:26:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Public/GULLoggerLevel.h:36:3: error: redefinition of enumerator 'GULLoggerLevelMax'
      GULLoggerLevelMax = GULLoggerLevelDebug
      ^
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/GULLogger.m:21:
    In file included from /Users/nexoftmac/Desktop/buttocksworkout_cloud/ios/Pods/GoogleUtilities/GoogleUtilities/Logger/Private/GULLogger.h:22:
    /Users/nexoftmac/Desktop/buttocksworkout_cloud/build/ios/Debug-iphonesimulator/GoogleUtilities/GoogleUtilities.framework/Headers/GULLoggerLevel.h:36:3: note: previous definition is here
      GULLoggerLevelMax = GULLoggerLevelDebug
      ^
    8 errors generated.

My application that I wrote on Flutter works fine on my android device, but when I want to run it on an iOS device, I have quite a lot of errors and version problems. I have overcome a lot of errors somehow for a few days, but I have not overcome the error that I am stuck for for a long time. Can someone please help?

question from:https://stackoverflow.com/questions/66060785/error-redefinition-of-enumerator-gulloggerlevelmax-gulloggerlevelmax-gullog

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...