compile realmjs 1.13.0 with error
See original GitHub issue$ clang -v
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-apple-darwin17.3.0
Thread model: posix
InstalledDir: /usr/local/bin
i am creating a react-native application with realmjs 1.13.0,and encountered the following error while starting up the app, how could i solve it? any hint would be appreciated.
CompileC /Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/Objects-normal/x86_64/GCDWebServerRequest.o /Users/crazybit/go/src/github.com/BitAssetManagement/node_modules/realm/vendor/GCDWebServer/GCDWebServer/Core/GCDWebServerRequest.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /Users/crazybit/go/src/github.com/BitAssetManagement/node_modules/realm/src 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/Wireshark.app/Contents/MacOS:/Users/crazybit/Library/Android/sdk/tools:/Users/crazybit/Library/Android/sdk/platform-tools” /Users/crazybit/go/src/github.com/BitAssetManagement/node_modules/realm/src/…/scripts/ccache-clang.sh -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/crazybit/go/src/github.com/BitAssetManagement/ios/build/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/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 -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DREALM_DEBUG -DREALM_HAVE_CONFIG -D__ASSERTMACROS__ -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.0 -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Index/DataStore -iquote /Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/GCDWebServers-generated-files.hmap -I/Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/GCDWebServers-own-target-headers.hmap -I/Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/GCDWebServers-all-target-headers.hmap -iquote /Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/GCDWebServers-project-headers.hmap -I/Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Products/Debug-iphonesimulator/include -I/Users/crazybit/go/src/github.com/BitAssetManagement/node_modules/realm/src/object-store/src -I/Users/crazybit/go/src/github.com/BitAssetManagement/node_modules/realm/src/…/vendor -I/Users/crazybit/go/src/github.com/BitAssetManagement/node_modules/realm/src/…/vendor/core/include -I/Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/DerivedSources/x86_64 -I/Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/DerivedSources -F/Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Products/Debug-iphonesimulator -MMD -MT dependencies -MF /Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/Objects-normal/x86_64/GCDWebServerRequest.d --serialize-diagnostics /Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/Objects-normal/x86_64/GCDWebServerRequest.dia -c /Users/crazybit/go/src/github.com/BitAssetManagement/node_modules/realm/vendor/GCDWebServer/GCDWebServer/Core/GCDWebServerRequest.m -o /Users/crazybit/go/src/github.com/BitAssetManagement/ios/build/Build/Intermediates.noindex/RealmJS.build/Debug-iphonesimulator/GCDWebServers.build/Objects-normal/x86_64/GCDWebServerRequest.o
clang-4.0: error: cannot specify -o when generating multiple output files
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top GitHub Comments
@kneth, millions thanks, it is really due to the clang version, case closed.
@joshuapinter Thanks for sharing!