cruffenach / CRToast

A modern iOS toast view that can fit your notification needs
MIT License
4.17k stars 463 forks source link

Xcode 8 compilation issues #212

Open zosocanuck opened 7 years ago

zosocanuck commented 7 years ago

Hi,

I recently upgraded from Xcode 7.3 to 8.1 and now seeing these compilation errors across multiple projects:

Showing Recent Issues

Build target CRToast-static of project CRToast with configuration Debug

CompileC /Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/Objects-normal/x86_64/CRToastConfig.o CRToast/CRToastConfig.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /Users/iwallis/Desktop/Carthage/Checkouts/CRToast export LANG=en_US.US-ASCII export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/iwallis/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/iwallis/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.1.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.0 -g -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/CRToast-generated-files.hmap -I/Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/CRToast-own-target-headers.hmap -I/Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/CRToast-all-non-framework-target-headers.hmap -ivfsoverlay /Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/all-product-headers.yaml -iquote /Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/CRToast-project-headers.hmap -I/Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Products/Debug-iphonesimulator/include -I/Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/DerivedSources/x86_64 -I/Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/DerivedSources -F/Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/Objects-normal/x86_64/CRToastConfig.d --serialize-diagnostics /Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/Objects-normal/x86_64/CRToastConfig.dia -c /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m -o /Users/iwallis/Library/Developer/Xcode/DerivedData/CRToastTest-guqccrfmrzbsbsaqnjwbhsbxxebj/Build/Intermediates/CRToast.build/Debug-iphonesimulator/CRToast-static.build/Objects-normal/x86_64/CRToastConfig.o

In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:111:14: error: reference to 'CRToastTypeStatusBar' is ambiguous case CRToastTypeStatusBar: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:71:5: note: candidate found by name lookup is 'CRToastType::CRToastTypeStatusBar' CRToastTypeStatusBar, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:71:5: note: candidate found by name lookup is 'CRToastType::CRToastTypeStatusBar' CRToastTypeStatusBar, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:113:14: error: reference to 'CRToastTypeNavigationBar' is ambiguous case CRToastTypeNavigationBar: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:72:5: note: candidate found by name lookup is 'CRToastType::CRToastTypeNavigationBar' CRToastTypeNavigationBar, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:72:5: note: candidate found by name lookup is 'CRToastType::CRToastTypeNavigationBar' CRToastTypeNavigationBar, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:115:14: error: reference to 'CRToastTypeCustom' is ambiguous case CRToastTypeCustom: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:73:5: note: candidate found by name lookup is 'CRToastType::CRToastTypeCustom' CRToastTypeCustom ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:73:5: note: candidate found by name lookup is 'CRToastType::CRToastTypeCustom' CRToastTypeCustom ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:110:13: warning: enumeration values 'CRToastTypeStatusBar', 'CRToastTypeNavigationBar', and 'CRToastTypeCustom' not handled in switch [-Wswitch] switch (type) { ^ /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:154:36: error: reference to 'CRToastAnimationDirectionLeft' is ambiguous return CGRectMake(direction == CRToastAnimationDirectionLeft ? -CRGetStatusBarWidth() : direction == CRToastAnimationDirectionRight ? CRGetStatusBarWidth() : 0, ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:91:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionLeft' CRToastAnimationDirectionLeft, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:91:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionLeft' CRToastAnimationDirectionLeft, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:154:106: error: reference to 'CRToastAnimationDirectionRight' is ambiguous return CGRectMake(direction == CRToastAnimationDirectionLeft ? -CRGetStatusBarWidth() : direction == CRToastAnimationDirectionRight ? CRGetStatusBarWidth() : 0, ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:92:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionRight' CRToastAnimationDirectionRight ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:92:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionRight' CRToastAnimationDirectionRight ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:155:36: error: reference to 'CRToastAnimationDirectionTop' is ambiguous direction == CRToastAnimationDirectionTop ? -CRGetNotificationViewHeight(type, preferredNotificationHeight) : direction == CRToastAnimationDirectionBottom ? CRGetNotificationViewHeight(type, preferredNotificationHeight) : 0, ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:89:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionTop' CRToastAnimationDirectionTop, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:89:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionTop' CRToastAnimationDirectionTop, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:155:146: error: reference to 'CRToastAnimationDirectionBottom' is ambiguous direction == CRToastAnimationDirectionTop ? -CRGetNotificationViewHeight(type, preferredNotificationHeight) : direction == CRToastAnimationDirectionBottom ? CRGetNotificationViewHeight(type, preferredNotificationHeight) : 0, ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:90:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionBottom' CRToastAnimationDirectionBottom, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:90:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionBottom' CRToastAnimationDirectionBottom, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:164:14: error: reference to 'CRToastAnimationDirectionTop' is ambiguous case CRToastAnimationDirectionTop: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:89:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionTop' CRToastAnimationDirectionTop, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:89:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionTop' CRToastAnimationDirectionTop, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:165:26: error: reference to 'CRToastAnimationDirectionBottom' is ambiguous _direction = CRToastAnimationDirectionBottom; break; ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:90:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionBottom' CRToastAnimationDirectionBottom, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:90:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionBottom' CRToastAnimationDirectionBottom, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:166:14: error: reference to 'CRToastAnimationDirectionBottom' is ambiguous case CRToastAnimationDirectionBottom: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:90:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionBottom' CRToastAnimationDirectionBottom, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:90:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionBottom' CRToastAnimationDirectionBottom, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:167:26: error: reference to 'CRToastAnimationDirectionTop' is ambiguous _direction = CRToastAnimationDirectionTop; break; ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:89:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionTop' CRToastAnimationDirectionTop, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:89:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionTop' CRToastAnimationDirectionTop, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:168:14: error: reference to 'CRToastAnimationDirectionLeft' is ambiguous case CRToastAnimationDirectionLeft: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:91:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionLeft' CRToastAnimationDirectionLeft, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:91:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionLeft' CRToastAnimationDirectionLeft, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:169:26: error: reference to 'CRToastAnimationDirectionRight' is ambiguous _direction = CRToastAnimationDirectionRight; break; ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:92:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionRight' CRToastAnimationDirectionRight ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:92:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionRight' CRToastAnimationDirectionRight ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:170:14: error: reference to 'CRToastAnimationDirectionRight' is ambiguous case CRToastAnimationDirectionRight: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:92:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionRight' CRToastAnimationDirectionRight ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:92:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionRight' CRToastAnimationDirectionRight ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:10: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastLayoutHelpers.h:171:26: error: reference to 'CRToastAnimationDirectionLeft' is ambiguous _direction = CRToastAnimationDirectionLeft; break; ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:91:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionLeft' CRToastAnimationDirectionLeft, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:91:5: note: candidate found by name lookup is 'CRToastAnimationDirection::CRToastAnimationDirectionLeft' CRToastAnimationDirectionLeft, ^ /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:14:14: error: reference to 'CRToastInteractionTypeSwipeUp' is ambiguous case CRToastInteractionTypeSwipeUp: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:16:5: note: candidate found by name lookup is 'CRToastInteractionType::CRToastInteractionTypeSwipeUp' CRToastInteractionTypeSwipeUp = 1 << 0, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:16:5: note: candidate found by name lookup is 'CRToastInteractionType::CRToastInteractionTypeSwipeUp' CRToastInteractionTypeSwipeUp = 1 << 0, ^ /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:16:14: error: reference to 'CRToastInteractionTypeSwipeLeft' is ambiguous case CRToastInteractionTypeSwipeLeft: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:17:5: note: candidate found by name lookup is 'CRToastInteractionType::CRToastInteractionTypeSwipeLeft' CRToastInteractionTypeSwipeLeft = 1 << 1, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:17:5: note: candidate found by name lookup is 'CRToastInteractionType::CRToastInteractionTypeSwipeLeft' CRToastInteractionTypeSwipeLeft = 1 << 1, ^ /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:18:14: error: reference to 'CRToastInteractionTypeSwipeDown' is ambiguous case CRToastInteractionTypeSwipeDown: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:18:5: note: candidate found by name lookup is 'CRToastInteractionType::CRToastInteractionTypeSwipeDown' CRToastInteractionTypeSwipeDown = 1 << 2, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:18:5: note: candidate found by name lookup is 'CRToastInteractionType::CRToastInteractionTypeSwipeDown' CRToastInteractionTypeSwipeDown = 1 << 2, ^ /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:20:14: error: reference to 'CRToastInteractionTypeSwipeRight' is ambiguous case CRToastInteractionTypeSwipeRight: ^ In module 'CRToast' imported from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToast.h:16: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:19:5: note: candidate found by name lookup is 'CRToastInteractionType::CRToastInteractionTypeSwipeRight' CRToastInteractionTypeSwipeRight = 1 << 3, ^ In file included from /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.m:8: /Users/iwallis/Desktop/Carthage/Checkouts/CRToast/CRToast/CRToastConfig.h:19:5: note: candidate found by name lookup is 'CRToastInteractionType::CRToastInteractionTypeSwipeRight' CRToastInteractionTypeSwipeRight = 1 << 3, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated.