EarlGrey
EarlGrey copied to clipboard
Compiler error in a comment on GREYActions.h line 320 with XCode 12.0.1
Using new XCode 12.0.1 (but, I'm not sure when this issue is started from) Carthage update getting failed due to a comment section

So, as the result, entire bundle updates are getting failed, I'm just wondering if this comment can be removed or updated to DO NOT cause the compiler error.
Error Message:
CompileC /Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/Objects-normal/armv7/GREYActions.o EarlGrey/Action/GREYActions.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/user10/workspace/github/myapp/Carthage/Checkouts/EarlGrey
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target armv7-apple-ios8.0 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -fmodule-name=EarlGrey -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/EarlGrey-generated-files.hmap -I/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/EarlGrey-own-target-headers.hmap -I/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/EarlGrey-all-non-framework-target-headers.hmap -ivfsoverlay /Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/all-product-headers.yaml -iquote /Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/EarlGrey-project-headers.hmap -I/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/BuildProductsPath/Release-iphoneos/include -IEarlGrey -Ifishhook -I/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/DerivedSources-normal/armv7 -I/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/DerivedSources/armv7 -I/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/DerivedSources -Werror -Wall -Wextra -Wconstant-conversion -Wconversion -Wdocumentation -Wenum-conversion -Wint-conversion -Wmissing-prototypes -Wno-unused-parameter -Wnull-dereference -Wshorten-64-to-32 -Wsign-conversion -Wundeclared-selector -F/Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/BuildProductsPath/Release-iphoneos -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F/Users/user10/workspace/github/myapp/Carthage/Checkouts/EarlGrey -fobjc-arc -fobjc-arc-exceptions -MMD -MT dependencies -MF /Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/Objects-normal/armv7/GREYActions.d --serialize-diagnostics /Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/Objects-normal/armv7/GREYActions.dia -c /Users/user10/workspace/github/myapp/Carthage/Checkouts/EarlGrey/EarlGrey/Action/GREYActions.m -o /Users/user10/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0.1_12A7300/EarlGrey/ios13fixes/Build/Intermediates.noindex/ArchiveIntermediates/EarlGrey/IntermediateBuildFilesPath/EarlGrey.build/Release-iphoneos/EarlGrey.build/Objects-normal/armv7/GREYActions.o
In file included from /Users/user10/workspace/github/myapp/Carthage/Checkouts/EarlGrey/EarlGrey/Action/GREYActions.m:17:
EarlGrey/Action/GREYActions.h:320:39: error: '\b' command does not have a valid word argument [-Werror,-Wdocumentation]
* For Example: @"Helpo\b\bloWorld" will type HelloWorld in Objective-C.
~~^
1 error generated.
@cavecafe This should be fixed now. I am requesting a release with this fix in https://github.com/google/EarlGrey/issues/1483. Vote on it with more details on how it might help you.
This issue is fixed. It can be closed now.