Created
September 26, 2016 08:35
-
-
Save oHaiyang/8a8cd14b0ff4a9596b97d857794106f5 to your computer and use it in GitHub Desktop.
cordova-plugin-rongcloud-im build ios failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ cordova build ios | |
Building project: /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp.xcodeproj | |
Configuration: Debug | |
Platform: emulator | |
Build settings from command line: | |
CONFIGURATION_BUILD_DIR = /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator | |
SDKROOT = iphonesimulator10.0 | |
SHARED_PRECOMPS_DIR = /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/sharedpch | |
Build settings from configuration file '/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/cordova/build-debug.xcconfig': | |
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES | |
CODE_SIGN_IDENTITY = iPhone Developer | |
ENABLE_BITCODE = NO | |
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 | |
HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)" | |
IPHONEOS_DEPLOYMENT_TARGET = 8.0 | |
OTHER_LDFLAGS = -ObjC | |
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h | |
TARGETED_DEVICE_FAMILY = 1,2 | |
=== BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug === | |
Check dependencies | |
=== BUILD TARGET Chaodp OF PROJECT Chaodp WITH CONFIGURATION Debug === | |
Check dependencies | |
PhaseScriptExecution Copy\ www\ directory build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Script-304B58A110DAC018002A0835.sh | |
cd /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios | |
/bin/sh -c /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Script-304B58A110DAC018002A0835.sh | |
ProcessInfoPlistFile build/emulator/Chaodp.app/Info.plist Chaodp/Chaodp-Info.plist | |
cd /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/penghaiyang/.nvm/versions/node/v4.5.0/bin:/usr/local/opt/php71/bin:/Users/penghaiyang/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/penghaiyang/Library/Android/sdk/platform-tools:/Users/penghaiyang/Library/Android/sdk/tools" | |
builtin-infoPlistUtility /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Chaodp-Info.plist -genpkginfo /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/Chaodp.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -additionalcontentfile /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/MainViewController-PartialInfo.plist -additionalcontentfile /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/assetcatalog_generated_info.plist -o /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/Chaodp.app/Info.plist | |
CompileC build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/CDVCamera.o Chaodp/Plugins/cordova-plugin-camera/CDVCamera.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler | |
cd /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios | |
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/penghaiyang/.nvm/versions/node/v4.5.0/bin:/usr/local/opt/php71/bin:/Users/penghaiyang/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/penghaiyang/Library/Android/sdk/platform-tools:/Users/penghaiyang/Library/Android/sdk/tools" | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=212 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/tc/_wlk48pn4zb45_qd_91xs7x00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -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 -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-generated-files.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-own-target-headers.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-all-target-headers.hmap -iquote /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-project-headers.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/usr/local/lib/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/UninstalledProducts/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/DerivedSources/i386 -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/DerivedSources -F/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator -FChaodp/Plugins/io.rong.imlib -include /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/sharedpch/Chaodp-Prefix-heosxbseistkgkbaomssrtgtvpkj/Chaodp-Prefix.pch -MMD -MT dependencies -MF /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/CDVCamera.d --serialize-diagnostics /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/CDVCamera.dia -c /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/cordova-plugin-camera/CDVCamera.m -o /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/CDVCamera.o | |
CompileC build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudHybridAdapter.o Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudHybridAdapter.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler | |
cd /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios | |
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/penghaiyang/.nvm/versions/node/v4.5.0/bin:/usr/local/opt/php71/bin:/Users/penghaiyang/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/penghaiyang/Library/Android/sdk/platform-tools:/Users/penghaiyang/Library/Android/sdk/tools" | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=212 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/tc/_wlk48pn4zb45_qd_91xs7x00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -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 -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-generated-files.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-own-target-headers.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-all-target-headers.hmap -iquote /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-project-headers.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/usr/local/lib/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/UninstalledProducts/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/DerivedSources/i386 -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/DerivedSources -F/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator -FChaodp/Plugins/io.rong.imlib -include /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/sharedpch/Chaodp-Prefix-heosxbseistkgkbaomssrtgtvpkj/Chaodp-Prefix.pch -MMD -MT dependencies -MF /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudHybridAdapter.d --serialize-diagnostics /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudHybridAdapter.dia -c /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudHybridAdapter.m -o /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudHybridAdapter.o | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudHybridAdapter.m:246:58: warning: 'sendMessage:targetId:content:pushContent:success:error:' is deprecated: | |
已废弃,请勿使用。 [-Wdeprecated-declarations] | |
RCMessage *rcMessage = [[RCIMClient sharedRCIMClient]sendMessage:conversationType | |
^ | |
In module 'RongIMLib' imported from /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudHybridAdapter.h:9: | |
Chaodp/Plugins/io.rong.imlib/RongIMLib.framework/Headers/RCIMClient.h:612:1: note: 'sendMessage:targetId:content:pushContent:success:error:' has been explicitly marked deprecated here | |
- (RCMessage *)sendMessage:(RCConversationType)conversationType | |
^ | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudHybridAdapter.m:362:59: warning: 'sendImageMessage:targetId:content:pushContent:progress:success:error:' is | |
deprecated: 已废弃,请勿使用。 [-Wdeprecated-declarations] | |
RCMessage *rcMessage = [[RCIMClient sharedRCIMClient] sendImageMessage:_conversationType | |
^ | |
In module 'RongIMLib' imported from /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudHybridAdapter.h:9: | |
Chaodp/Plugins/io.rong.imlib/RongIMLib.framework/Headers/RCIMClient.h:655:1: note: 'sendImageMessage:targetId:content:pushContent:progress:success:error:' has been explicitly marked deprecated here | |
- (RCMessage *) | |
^ | |
CompileC build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudLibPlugin.o Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudLibPlugin.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler | |
cd /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios | |
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/penghaiyang/.nvm/versions/node/v4.5.0/bin:/usr/local/opt/php71/bin:/Users/penghaiyang/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/penghaiyang/Library/Android/sdk/platform-tools:/Users/penghaiyang/Library/Android/sdk/tools" | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=212 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/tc/_wlk48pn4zb45_qd_91xs7x00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -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 -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-generated-files.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-own-target-headers.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-all-target-headers.hmap -iquote /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-project-headers.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/usr/local/lib/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/UninstalledProducts/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/DerivedSources/i386 -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/DerivedSources -F/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator -FChaodp/Plugins/io.rong.imlib -include /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/sharedpch/Chaodp-Prefix-heosxbseistkgkbaomssrtgtvpkj/Chaodp-Prefix.pch -MMD -MT dependencies -MF /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudLibPlugin.d --serialize-diagnostics /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudLibPlugin.dia -c /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudLibPlugin.m -o /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudLibPlugin.o | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudLibPlugin.m:23:19: error: no visible @interface for 'CDVPlugin' declares the selector 'initWithWebView:' | |
self = [super initWithWebView:theWebView]; | |
~~~~~ ^~~~~~~~~~~~~~~ | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudLibPlugin.m:19:17: warning: method definition for 'reconnect:' not found [-Wincomplete-implementation] | |
@implementation RongCloudLibPlugin | |
^ | |
In file included from /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudLibPlugin.m:9: | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudLibPlugin.h:17:1: note: method 'reconnect:' declared here | |
- (void)reconnect:(CDVInvokedUrlCommand *)command; | |
^ | |
1 warning and 1 error generated. | |
CompileC build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudModel.o Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudModel.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler | |
cd /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios | |
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/penghaiyang/.nvm/versions/node/v4.5.0/bin:/usr/local/opt/php71/bin:/Users/penghaiyang/.rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/penghaiyang/Library/Android/sdk/platform-tools:/Users/penghaiyang/Library/Android/sdk/tools" | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=212 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/tc/_wlk48pn4zb45_qd_91xs7x00000gn/C/org.llvm.clang/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -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 -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-generated-files.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-own-target-headers.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-all-target-headers.hmap -iquote /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Chaodp-project-headers.hmap -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator/usr/local/lib/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/UninstalledProducts/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/DerivedSources/i386 -I/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/DerivedSources -F/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator -FChaodp/Plugins/io.rong.imlib -include /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/sharedpch/Chaodp-Prefix-heosxbseistkgkbaomssrtgtvpkj/Chaodp-Prefix.pch -MMD -MT dependencies -MF /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudModel.d --serialize-diagnostics /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudModel.dia -c /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudModel.m -o /Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudModel.o | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudModel.m:149:15: warning: variable 'newConversationType' is used uninitialized whenever 'if' condition is false | |
[-Wsometimes-uninitialized] | |
}else if ([oldValue isEqualToString:@"SYSTEM"] || | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudModel.m:154:12: note: uninitialized use occurs here | |
return newConversationType; | |
^~~~~~~~~~~~~~~~~~~ | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudModel.m:149:11: note: remove the 'if' if its condition is always true | |
}else if ([oldValue isEqualToString:@"SYSTEM"] || | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudModel.m:134:5: note: variable 'newConversationType' is declared here | |
RCConversationType newConversationType; | |
^ | |
** BUILD FAILED ** | |
The following build commands failed: | |
CompileC build/Chaodp.build/Debug-iphonesimulator/Chaodp.build/Objects-normal/i386/RongCloudLibPlugin.o Chaodp/Plugins/io.rong.imlib/src/ios/RongCloudLibPlugin.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler | |
(1 failure) | |
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/cordova/build-debug.xcconfig,-project,Chaodp.xcodeproj,-target,Chaodp,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,build,CONFIGURATION_BUILD_DIR=/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/penghaiyang/Coding/chaodp_cordova/platforms/ios/build/sharedpch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment