objective c - Xcode build error clang failed -


something's missing in iphone application.

i not success fix error, seams martian error me... not understand @ all, after many searches...

processpch /users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/precompiledheaders/intramuros-prefix-etlohrlrqzwcjicedfazzdvoaqbq/intramuros-prefix.pch.pth intramuros/intramuros-prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd "/users/xyz/ios - applications/intramuros-ios/application" setenv lang en_us.us-ascii setenv path "/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/usr/bin:/applications/xcode.app/contents/developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang -x objective-c-header -arch i386 -fmessage-length=0 -std=gnu99 -fobjc-arc -wno-trigraphs -fpascal-strings -o0 -wno-missing-field-initializers -wno-missing-prototypes -wreturn-type -wno-implicit-atomic-properties -wformat -wno-missing-braces -wparentheses -wswitch -wno-unused-function -wno-unused-label -wno-unused-parameter -wunused-variable -wunused-value -wuninitialized -wno-unknown-pragmas -wno-shadow -wno-four-char-constants -wno-sign-compare -wno-shorten-64-to-32 -wpointer-sign -wno-newline-eof -wno-selector -wno-strict-selector-match -wno-undeclared-selector -wno-deprecated-implementations -ddebug=1 -isysroot /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator5.1.sdk -fexceptions -fasm-blocks -wprotocol -wdeprecated-declarations -mmacosx-version-min=10.6 -g -wno-conversion -wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-diboutlet=__attribute__((iboutlet))" "-diboutletcollection(classname)=__attribute__((iboutletcollection(classname)))" "-dibaction=void)__attribute__((ibaction)" -d__iphone_os_version_min_required=50100 -iquote /users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/intramuros.build/debug-iphonesimulator/intramuros.build/intramuros-generated-files.hmap -i/users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/intramuros.build/debug-iphonesimulator/intramuros.build/intramuros-own-target-headers.hmap -i/users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/intramuros.build/debug-iphonesimulator/intramuros.build/intramuros-all-target-headers.hmap -iquote /users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/intramuros.build/debug-iphonesimulator/intramuros.build/intramuros-project-headers.hmap -i/users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/products/debug-iphonesimulator/include -i/users/xyz/ios -i- -iapplications/intramuros-ios/application/intramuros/vendors/mapbox-ios-sdk -i/users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/intramuros.build/debug-iphonesimulator/intramuros.build/derivedsources/i386 -i/users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/intramuros.build/debug-iphonesimulator/intramuros.build/derivedsources -f/users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/products/debug-iphonesimulator --serialize-diagnostics /users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/precompiledheaders/intramuros-prefix-etlohrlrqzwcjicedfazzdvoaqbq/intramuros-prefix.pch.dia -c "/users/xyz/ios - applications/intramuros-ios/application/intramuros/intramuros-prefix.pch" -o /users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/precompiledheaders/intramuros-prefix-etlohrlrqzwcjicedfazzdvoaqbq/intramuros-prefix.pch.pth -mmd -mt dependencies -mf /users/xyz/library/developer/xcode/deriveddata/intramuros-cqmesmesegqjxofftymiymllpzow/build/intermediates/precompiledheaders/intramuros-prefix-etlohrlrqzwcjicedfazzdvoaqbq/intramuros-prefix.pch.d  clang: error: '-i-' not supported, please use -iquote instead command /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang failed exit code 1 

i use mapbox project application, maybe related, not think ?!

what strange other ios developper of project can build , run without problem, same code... versionned github.

does has allready seen type of bug ?

it looks have stray - in header search paths setting in xcode project.

unfortunately, there isn't particularly easy way find except looking through document using project viewer (you edit text editor, worsen problem).

basically, select project document in project navigator (left pane) , through project's build settings, , build settings each target in turn, looking header search paths setting , anywhere shows bold, want double-click , make sure there isn't single - (or - followed space or comma, parsed single argument).

if don't locate way, may have build setting resolving -, @ bottom of build settings , make sure there isn't user-defined variable set - (or - or -,).


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -