我在ios模拟器上运行默认的react-native(v0.63.3)项目模板时遇到麻烦。我尚未对代码库进行任何调整。在运行OSX El-Capitan(10.11.6)的Mac'09上,我的Xcode版本= 8.2.1。
我认为这主要与我安装的cocoapods
有关。
这是我在pod install
文件夹中ios
之前和之后每次遇到的错误。
=== BUILD TARGET CocoaAsyncSocket OF PROJECT Pods WITH CONFIGURATION Debug ===
Check dependencies
Write auxiliary files
write-file /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-all-non-framework-target-headers.hmap
write-file /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/all-product-headers.yaml
write-file /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-all-target-headers.hmap
write-file /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-generated-files.hmap
write-file /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-own-target-headers.hmap
/bin/mkdir -p /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64
write-file /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/CocoaAsyncSocket.LinkFileList
write-file /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket.hmap
write-file /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-project-headers.hmap
CompileC /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncSocket.o CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods
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:/Users/user/Documents/Projects/ReactNative/prototype3/node_modules/.bin:/Applications/MAMP/Library/bin:/Users/user/Trojan/installers/ruby-2.7.2/bin:/Users/user/Trojan/installers/php7.3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/user/Documents/Projects/Go/bin:/Users/dj:/Users/user/.composer/vendor/laravel/installer:/Users/user/.gem/bin:/Users/user/.rvm/bin:/usr/local/homebrew/bin"
/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=gnu11 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path=/Users/user/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/user/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 -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -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 -Wdeprecated-implementations -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=5.0 -g -Wno-sign-conversion -Winfinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-generated-files.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-own-target-headers.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-all-non-framework-target-headers.hmap -ivfsoverlay /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/all-product-headers.yaml -iquote /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-project-headers.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket/include -I/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Headers/Private -I/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Headers/Private/CocoaAsyncSocket -I/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Headers/Public -I/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Headers/Public/CocoaAsyncSocket -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/DerivedSources/x86_64 -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/DerivedSources -F/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket -DOS_OBJECT_USE_OBJC=0 -include /Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Target\ Support\ Files/CocoaAsyncSocket/CocoaAsyncSocket-prefix.pch -MMD -MT dependencies -MF /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncSocket.d --serialize-diagnostics /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncSocket.dia -c /Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m -o /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncSocket.o
In file included from /Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:11:
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:52:71: error: function definition declared 'typedef'
typedef NS_ERROR_ENUM(GCDAsyncSocketErrorDomain, GCDAsyncSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:52:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
typedef NS_ERROR_ENUM(GCDAsyncSocketErrorDomain, GCDAsyncSocketError) {
~~~~~~~ ^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:53:2: error: use of undeclared identifier 'GCDAsyncSocketNoError'; did you mean 'GCDAsyncSocketError'?
GCDAsyncSocketNoError = 0, // Never used
^~~~~~~~~~~~~~~~~~~~~
GCDAsyncSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:52:50: note: 'GCDAsyncSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncSocketErrorDomain, GCDAsyncSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:54:2: error: use of undeclared identifier 'GCDAsyncSocketBadConfigError'; did you mean 'GCDAsyncSocketError'?
GCDAsyncSocketBadConfigError, // Invalid configuration
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:52:50: note: 'GCDAsyncSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncSocketErrorDomain, GCDAsyncSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:55:2: error: use of undeclared identifier 'GCDAsyncSocketBadParamError'; did you mean 'GCDAsyncSocketError'?
GCDAsyncSocketBadParamError, // Invalid parameter was passed
^~~~~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:52:50: note: 'GCDAsyncSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncSocketErrorDomain, GCDAsyncSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:54:2: warning: expression result unused [-Wunused-value]
GCDAsyncSocketBadConfigError, // Invalid configuration
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:56:2: error: use of undeclared identifier 'GCDAsyncSocketConnectTimeoutError'
GCDAsyncSocketConnectTimeoutError, // A connect operation timed out
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:57:2: error: use of undeclared identifier 'GCDAsyncSocketReadTimeoutError'
GCDAsyncSocketReadTimeoutError, // A read operation timed out
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:58:2: error: use of undeclared identifier 'GCDAsyncSocketWriteTimeoutError'
GCDAsyncSocketWriteTimeoutError, // A write operation timed out
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:59:2: error: use of undeclared identifier 'GCDAsyncSocketReadMaxedOutError'
GCDAsyncSocketReadMaxedOutError, // Reached set maxLength without completing
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:60:2: error: use of undeclared identifier 'GCDAsyncSocketClosedError'; did you mean 'GCDAsyncSocketError'?
GCDAsyncSocketClosedError, // The remote peer closed the connection
^~~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:52:50: note: 'GCDAsyncSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncSocketErrorDomain, GCDAsyncSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:61:2: error: use of undeclared identifier 'GCDAsyncSocketOtherError'; did you mean 'GCDAsyncSocketError'?
GCDAsyncSocketOtherError, // Description provided in userInfo
^~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:52:50: note: 'GCDAsyncSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncSocketErrorDomain, GCDAsyncSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:1096:74: error: use of undeclared identifier 'GCDAsyncSocketOtherError'; did you mean 'GCDAsyncSocketException'?
*error = [NSError errorWithDomain:GCDAsyncSocketErrorDomain code:GCDAsyncSocketOtherError userInfo:userInfo];
^~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncSocketException
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:112:17: note: 'GCDAsyncSocketException' declared here
NSString *const GCDAsyncSocketException = @"GCDAsyncSocketException";
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:1118:74: error: use of undeclared identifier 'GCDAsyncSocketOtherError'; did you mean 'GCDAsyncSocketException'?
*error = [NSError errorWithDomain:GCDAsyncSocketErrorDomain code:GCDAsyncSocketOtherError userInfo:userInfo];
^~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncSocketException
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:112:17: note: 'GCDAsyncSocketException' declared here
NSString *const GCDAsyncSocketException = @"GCDAsyncSocketException";
^
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:3488:65: error: use of undeclared identifier 'GCDAsyncSocketBadParamError'
return [NSError errorWithDomain:GCDAsyncSocketErrorD
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:3585:65: error: use of undeclared identifier 'GCDAsyncSocketClosedError'
return [NSError errorWithDomain:GCDAsyncSocketErrorDomain code:GCDAsyncSocketClosedError userInfo:userInfo];
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
CompileC /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncUdpSocket.o CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods
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:/Users/user/Documents/Projects/ReactNative/prototype3/node_modules/.bin:/Applications/MAMP/Library/bin:/Users/user/Trojan/installers/ruby-2.7.2/bin:/Users/user/Trojan/installers/php7.3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/user/Documents/Projects/Go/bin:/Users/dj:/Users/user/.composer/vendor/laravel/installer:/Users/user/.gem/bin:/Users/user/.rvm/bin:/usr/local/homebrew/bin"
/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=gnu11 -fobjc-arc -fobjc-weak -fmodules -fmodules-cache-path=/Users/user/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/user/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 -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -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 -Wdeprecated-implementations -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=5.0 -g -Wno-sign-conversion -Winfinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-generated-files.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-own-target-headers.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-all-non-framework-target-headers.hmap -ivfsoverlay /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/all-product-headers.yaml -iquote /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/CocoaAsyncSocket-project-headers.hmap -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket/include -I/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Headers/Private -I/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Headers/Private/CocoaAsyncSocket -I/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Headers/Public -I/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Headers/Public/CocoaAsyncSocket -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/DerivedSources/x86_64 -I/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/DerivedSources -F/Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket -DOS_OBJECT_USE_OBJC=0 -include /Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/Target\ Support\ Files/CocoaAsyncSocket/CocoaAsyncSocket-prefix.pch -MMD -MT dependencies -MF /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncUdpSocket.d --serialize-diagnostics /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncUdpSocket.dia -c /Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m -o /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncUdpSocket.o
In file included from /Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m:11:
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:23:77: error: function definition declared 'typedef'
typedef NS_ERROR_ENUM(GCDAsyncUdpSocketErrorDomain, GCDAsyncUdpSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:23:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
typedef NS_ERROR_ENUM(GCDAsyncUdpSocketErrorDomain, GCDAsyncUdpSocketError) {
~~~~~~~ ^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:24:2: error: use of undeclared identifier 'GCDAsyncUdpSocketNoError'; did you mean 'GCDAsyncUdpSocketError'?
GCDAsyncUdpSocketNoError = 0, // Never used
^~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncUdpSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:23:53: note: 'GCDAsyncUdpSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncUdpSocketErrorDomain, GCDAsyncUdpSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:25:2: error: use of undeclared identifier 'GCDAsyncUdpSocketBadConfigError'; did you mean 'GCDAsyncUdpSocketError'?
GCDAsyncUdpSocketBadConfigError, // Invalid configuration
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncUdpSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:23:53: note: 'GCDAsyncUdpSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncUdpSocketErrorDomain, GCDAsyncUdpSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:26:2: error: use of undeclared identifier 'GCDAsyncUdpSocketBadParamError'; did you mean 'GCDAsyncUdpSocketError'?
GCDAsyncUdpSocketBadParamError, // Invalid parameter was passed
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncUdpSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:23:53: note: 'GCDAsyncUdpSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncUdpSocketErrorDomain, GCDAsyncUdpSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:25:2: warning: expression result unused [-Wunused-value]
GCDAsyncUdpSocketBadConfigError, // Invalid configuration
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:27:2: error: use of undeclared identifier 'GCDAsyncUdpSocketSendTimeoutError'; did you mean 'GCDAsyncUdpSocketError'?
GCDAsyncUdpSocketSendTimeoutError, // A send operation timed out
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncUdpSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:23:53: note: 'GCDAsyncUdpSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncUdpSocketErrorDomain, GCDAsyncUdpSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:26:2: warning: expression result unused [-Wunused-value]
GCDAsyncUdpSocketBadParamError, // Invalid parameter was passed
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:28:2: error: use of undeclared identifier 'GCDAsyncUdpSocketClosedError'; did you mean 'GCDAsyncUdpSocketError'?
GCDAsyncUdpSocketClosedError, // The socket was closed
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncUdpSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:23:53: note: 'GCDAsyncUdpSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncUdpSocketErrorDomain, GCDAsyncUdpSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:27:2: warning: expression result unused [-Wunused-value]
GCDAsyncUdpSocketSendTimeoutError, // A send operation timed out
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:29:2: error: use of undeclared identifier 'GCDAsyncUdpSocketOtherError'; did you mean 'GCDAsyncUdpSocketError'?
GCDAsyncUdpSocketOtherError, // Description provided in userInfo
^~~~~~~~~~~~~~~~~~~~~~~~~~~
GCDAsyncUdpSocketError
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:23:53: note: 'GCDAsyncUdpSocketError' declared here
typedef NS_ERROR_ENUM(GCDAsyncUdpSocketErrorDomain, GCDAsyncUdpSocketError) {
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:28:2: warning: expression result unused [-Wunused-value]
GCDAsyncUdpSocketClosedError, // The socket was closed
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:29:29: error: expected ';' after expression
GCDAsyncUdpSocketOtherError, // Description provided in userInfo
^
;
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:29:2: warning: expression result unused [-Wunused-value]
GCDAsyncUdpSocketOtherError, // Description provided in userInfo
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m:1044:34: error: use of undeclared identifier 'GCDAsyncUdpSocketBadConfigError'
code:GCDAsyncUdpSocketBadConfigError
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m:1053:34: error: use of undeclared identifier 'GCDAsyncUdpSocketBadParamError'
code:GCDAsyncUdpSocketBadParamError
^
/Users/user/Documents/Projects/ReactNative/prototype3/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m:1108:68: error: use of undeclared identifier 'GCDAsyncUdpSocketClosedError'; did you mean 'GCDAsyncUdpSocketException'?
return [NSError errorWithDomain:GCDAsyncUdpSocketErrorDomain code:GCDAsyncUdpSocketClosedError userInfo:userInfo];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
^
6 warnings and 13 errors generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/user/Library/Developer/Xcode/DerivedData/prototype-fnrmrvmjfgurwkdtfsrxrlkimkla/Build/Intermediates/Pods.build/Debug-iphonesimulator/CocoaAsyncSocket.build/Objects-normal/x86_64/GCDAsyncUdpSocket.o CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)