I would like to use SDL in a project, so I create a Cocoa Project and I add all Framework needed, but XCode tells me this :
ProcessPCH /Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Intermediates/PrecompiledHeaders/projetCS2-Prefix-auneaovyjutgotajcmkllwxdblci/projetCS2-Prefix.pch.pth projetCS2/projetCS2-Prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/aurelien/Documents/Programmation/projetC-S2/projetCS2
setenv LANG en_US.US-ASCII
/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 -Wshorten-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/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Intermediates/projetCS2.build/Debug/projetCS2.build/projetCS2.hmap -I/Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Products/Debug/include -I/Library/Frameworks/SDL.framework/Headers -I/Library/Frameworks/SDL_image.framework/Headers -I/Library/Frameworks/SDL_ttf.framework/Headers -I/Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Intermediates/projetCS2.build/Debug/projetCS2.build/DerivedSources/i386 -I/Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Intermediates/projetCS2.build/Debug/projetCS2.build/DerivedSources -F/Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Products/Debug -F/Library/Frameworks --serialize-diagnostics /Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Intermediates/PrecompiledHeaders/projetCS2-Prefix-auneaovyjutgotajcmkllwxdblci/projetCS2-Prefix.pch.dia -c /Users/aurelien/Documents/Programmation/projetC-S2/projetCS2/projetCS2/projetCS2-Prefix.pch -o /Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Intermediates/PrecompiledHeaders/projetCS2-Prefix-auneaovyjutgotajcmkllwxdblci/projetCS2-Prefix.pch.pth -MMD -MT dependencies -MF /Users/aurelien/Library/Developer/Xcode/DerivedData/projetCS2-gdnozsjskcozmxcvmlmmpsmmkcvk/Build/Intermediates/PrecompiledHeaders/projetCS2-Prefix-auneaovyjutgotajcmkllwxdblci/projetCS2-Prefix.pch.d
error: -fobjc-arc is not supported with fragile abi
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
The error says you are using ARC (automatic reference counting) on your project, and that it's not supported using the fragile ABI (simulator).
You are surely building your app for 32-bits.
ARC is 64-bits only.
Try to update your projects settings, and build for 64-bits instead of 32 or universal.
Related
I have an app built with Phonegap that successfully builds and archives in Xcode IDE, but when i try to make a Simulator App version within console, build fails.
I have already tried to add "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" and "$(CORDOVALIB)/Classes" to Header Search Paths-s, also have tried to remove and add ios platform, tried to update all plugins - nothing worked for me.
Command that I try to execute: xcodebuild -arch i386 -sdk iphonesimulator13.2 (this SDK exists).
Xcode version - 11.3.1
Logs (not full because of stackoverflow chars limit, but there are all errors):
Build settings from command line:
ARCHS = i386
SDKROOT = iphonesimulator13.2
note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/Mark/Documents/coins/ios/platforms/ios/build (in target 'Peero' from project 'Peero')
cd /Users/Mark/Documents/coins/ios/platforms/ios
builtin-create-build-directory /Users/Mark/Documents/coins/ios/platforms/ios/build
CreateBuildDirectory /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib/build (in target 'CordovaLib' from project 'CordovaLib')
cd /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib
builtin-create-build-directory /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib/build
MkDir /Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator/Peero.app (in target 'Peero' from project 'Peero')
cd /Users/Mark/Documents/coins/ios/platforms/ios
/bin/mkdir -p /Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator/Peero.app
MkDir /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib/build/Release-iphonesimulator/include/Cordova (in target 'CordovaLib' from project 'CordovaLib')
cd /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib
/bin/mkdir -p /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib/build/Release-iphonesimulator/include/Cordova
WriteAuxiliaryFile /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphonesimulator/CordovaLib.build/all-product-headers.yaml (in target 'CordovaLib' from project 'CordovaLib')
cd /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib
write-file /Users/Mark/Documents/coins/ios/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphonesimulator/CordovaLib.build/all-product-headers.yaml
skipped ...
CompileC /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine+FileXhrFix.o /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebviewxhrfix/CDVWKWebViewEngine+FileXhrFix.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Peero' from project 'Peero')
cd /Users/Mark/Documents/coins/ios/platforms/ios
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target i386-apple-ios10.0-simulator -fmessage-length=114 -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/zz/zyxvpxvq6csfxvn_n0000000000000/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -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 -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DWK_WEB_VIEW_ONLY=1 -DWK_WEB_VIEW_ONLY=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-generated-files.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-own-target-headers.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-all-target-headers.hmap -iquote /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-project-headers.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator/usr/local/lib/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/ -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources-normal/i386 -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources/i386 -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources -F/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator -include /Users/Mark/Documents/coins/ios/platforms/ios/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/11945214074210215168/Peero-Prefix.pch -MMD -MT dependencies -MF /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine+FileXhrFix.d --serialize-diagnostics /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine+FileXhrFix.dia -c /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebviewxhrfix/CDVWKWebViewEngine+FileXhrFix.m -o /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine+FileXhrFix.o
In file included from /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebviewxhrfix/CDVWKWebViewEngine+FileXhrFix.m:9:
In file included from /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebviewxhrfix/CDVWKWebViewEngine+FileXhrFix.h:9:
/Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebview-engine/CDVWKWebViewEngine.h:21:9: fatal error:
'Cordova/CDV.h' file not found
#import <Cordova/CDV.h>
^~~~~~~~~~~~~~~
1 error generated.
CompileC /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine.o /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebview-engine/CDVWKWebViewEngine.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Peero' from project 'Peero')
cd /Users/Mark/Documents/coins/ios/platforms/ios
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target i386-apple-ios10.0-simulator -fmessage-length=114 -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/zz/zyxvpxvq6csfxvn_n0000000000000/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -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 -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DWK_WEB_VIEW_ONLY=1 -DWK_WEB_VIEW_ONLY=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-generated-files.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-own-target-headers.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-all-target-headers.hmap -iquote /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-project-headers.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator/usr/local/lib/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/ -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources-normal/i386 -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources/i386 -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources -F/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator -include /Users/Mark/Documents/coins/ios/platforms/ios/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/11945214074210215168/Peero-Prefix.pch -MMD -MT dependencies -MF /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine.d --serialize-diagnostics /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine.dia -c /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebview-engine/CDVWKWebViewEngine.m -o /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine.o
In file included from /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebview-engine/CDVWKWebViewEngine.m:20:
/Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebview-engine/CDVWKWebViewEngine.h:21:9: fatal error:
'Cordova/CDV.h' file not found
#import <Cordova/CDV.h>
^~~~~~~~~~~~~~~
CompileC /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKProcessPoolFactory.o /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebview-engine/CDVWKProcessPoolFactory.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Peero' from project 'Peero')
cd /Users/Mark/Documents/coins/ios/platforms/ios
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target i386-apple-ios10.0-simulator -fmessage-length=114 -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/zz/zyxvpxvq6csfxvn_n0000000000000/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -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 -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DWK_WEB_VIEW_ONLY=1 -DWK_WEB_VIEW_ONLY=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-generated-files.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-own-target-headers.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-all-target-headers.hmap -iquote /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Peero-project-headers.hmap -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator/usr/local/lib/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator -I/Users/Mark/Documents/coins/ios/platforms/ios/build/UninstalledProducts/iphonesimulator/include -I/ -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources-normal/i386 -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources/i386 -I/Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/DerivedSources -F/Users/Mark/Documents/coins/ios/platforms/ios/build/Release-iphonesimulator -include /Users/Mark/Documents/coins/ios/platforms/ios/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/11945214074210215168/Peero-Prefix.pch -MMD -MT dependencies -MF /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKProcessPoolFactory.d --serialize-diagnostics /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKProcessPoolFactory.dia -c /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebview-engine/CDVWKProcessPoolFactory.m -o /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKProcessPoolFactory.o
** BUILD FAILED **
The following build commands failed:
CompileC /Users/Mark/Documents/coins/ios/platforms/ios/build/Peero.build/Release-iphonesimulator/Peero.build/Objects-normal/i386/CDVWKWebViewEngine+FileXhrFix.o /Users/Mark/Documents/coins/ios/platforms/ios/Peero/Plugins/cordova-plugin-wkwebviewxhrfix/CDVWKWebViewEngine+FileXhrFix.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
What am I doing wrong?
I have pasted "$(OBJROOT)" with recursive to both Debug and Release in both Project and Target Header Search Paths - and it works. Hope it might be useful to any.
I am using XCode 5.0 under Mac OS X 10.9. Everytime when i create an macruby application the MacRuby.framework is shown red. After re-adding the path to the framework it isn't red but everytime when i try to build my test application (nothing changed) i became this error:
processPCH /Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/PrecompiledHeaders/testr-Prefix-buaqdwrexxuknicqaiogcqxxfoyk/testr-Prefix.pch.pch testr/testr-Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/Jochen/Documents/MacDev/testr
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x objective-c-header -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-gc-only -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -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 -Wshorten-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/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fno-objc-direct-dispatch -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.9 -g -Wno-sign-conversion -iquote /Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/testr.build/Debug/testr.build/testr-generated-files.hmap -I/Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/testr.build/Debug/testr.build/testr-own-target-headers.hmap -I/Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/testr.build/Debug/testr.build/testr-all-target-headers.hmap -iquote /Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/testr.build/Debug/testr.build/testr-project-headers.hmap -I/Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Products/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/testr.build/Debug/testr.build/DerivedSources/x86_64 -I/Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/testr.build/Debug/testr.build/DerivedSources -F/Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Products/Debug -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -F/Library/Frameworks --serialize-diagnostics /Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/PrecompiledHeaders/testr-Prefix-buaqdwrexxuknicqaiogcqxxfoyk/testr-Prefix.pch.dia -MMD -MT dependencies -MF /Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/PrecompiledHeaders/testr-Prefix-buaqdwrexxuknicqaiogcqxxfoyk/testr-Prefix.pch.d -c /Users/Jochen/Documents/MacDev/testr/testr/testr-Prefix.pch -o /Users/Jochen/Library/Developer/Xcode/DerivedData/testr-etdvhjiaivrrrcexrmukckjnqlfk/Build/Intermediates/PrecompiledHeaders/testr-Prefix-buaqdwrexxuknicqaiogcqxxfoyk/testr-Prefix.pch.pch
clang: error: cannot specify both '-fobjc-arc' and '-fobjc-gc-only'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
What is wrong the standard configuration? Anyone an idea?
I am trying to build GLSDK on mac.
I downloaded the source, did premake4 xcode3 which created all project files for xcode.
Now I am trying to build everything, managed to build glload,glimg,glutil,glmesh just fine, I've got freeglut working from XQuartz package so I guess I don't need to build the one included with glsdk.
Problems start when I try to build glfw:
Wojciechs-MacBook-Air:glfw wojciechmusialkiewicz$ xcodebuild
=== BUILD NATIVE TARGET glfw OF PROJECT glfw WITH THE DEFAULT CONFIGURATION (Debug) ===
Check dependencies
CompileC obj/Debug/glfw.build/Objects-normal/x86_64/enable.o lib/enable.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-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-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_LIB -D_DEBUG -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -iquote /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-generated-files.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-own-target-headers.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-all-target-headers.hmap -iquote /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-project-headers.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/library/include -Iinclude -Ilib -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/DerivedSources/x86_64 -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/DerivedSources -F/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/library -MMD -MT dependencies -MF /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/enable.d --serialize-diagnostics /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/enable.dia -c /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/lib/enable.c -o /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/enable.o
In file included from /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/lib/enable.c:31:
lib/internal.h:92:10: fatal error: 'platform.h' file not found
#include "platform.h"
^
1 error generated.
CompileC obj/Debug/glfw.build/Objects-normal/x86_64/glext.o lib/glext.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-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-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_LIB -D_DEBUG -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -iquote /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-generated-files.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-own-target-headers.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-all-target-headers.hmap -iquote /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-project-headers.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/library/include -Iinclude -Ilib -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/DerivedSources/x86_64 -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/DerivedSources -F/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/library -MMD -MT dependencies -MF /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/glext.d --serialize-diagnostics /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/glext.dia -c /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/lib/glext.c -o /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/glext.o
In file included from /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/lib/glext.c:31:
lib/internal.h:92:10: fatal error: 'platform.h' file not found
#include "platform.h"
^
1 error generated.
CompileC obj/Debug/glfw.build/Objects-normal/x86_64/image.o lib/image.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-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-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_LIB -D_DEBUG -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -iquote /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-generated-files.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-own-target-headers.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-all-target-headers.hmap -iquote /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-project-headers.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/library/include -Iinclude -Ilib -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/DerivedSources/x86_64 -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/DerivedSources -F/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/library -MMD -MT dependencies -MF /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/image.d --serialize-diagnostics /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/image.dia -c /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/lib/image.c -o /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/image.o
In file included from /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/lib/image.c:56:
lib/internal.h:92:10: fatal error: 'platform.h' file not found
#include "platform.h"
^
1 error generated.
CompileC obj/Debug/glfw.build/Objects-normal/x86_64/fullscreen.o lib/fullscreen.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-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-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_LIB -D_DEBUG -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -iquote /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-generated-files.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-own-target-headers.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-all-target-headers.hmap -iquote /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/glfwD-project-headers.hmap -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/library/include -Iinclude -Ilib -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/DerivedSources/x86_64 -I/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/DerivedSources -F/Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/library -MMD -MT dependencies -MF /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/fullscreen.d --serialize-diagnostics /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/fullscreen.dia -c /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/lib/fullscreen.c -o /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/obj/Debug/glfw.build/Objects-normal/x86_64/fullscreen.o
In file included from /Users/wojciechmusialkiewicz/glsdk_0.4.4/glfw/lib/fullscreen.c:31:
lib/internal.h:92:10: fatal error: 'platform.h' file not found
#include "platform.h"
^
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC obj/Debug/glfw.build/Objects-normal/x86_64/enable.o lib/enable.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC obj/Debug/glfw.build/Objects-normal/x86_64/glext.o lib/glext.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC obj/Debug/glfw.build/Objects-normal/x86_64/image.o lib/image.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC obj/Debug/glfw.build/Objects-normal/x86_64/fullscreen.o lib/fullscreen.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(4 failures)
I've tried googling what this platform.h file is,but there is no clear answer, not even if it's present on MacOS - I can't find it on my computer so I guess that it isn't.
Does anybody know what's going on?
There is a glfw.lua file in the glfw folder. Open that up and make a configuration for "macosx" and then add the directory "lib/cocoa" to the include directories. I also defined _GLFW_COCOA, _GLFW_NSGL, and _GLFW_USE_OPENGL
I have question regarding xcode project,
I am very new in xcoding .I am trying to import and run this project in my xcode to test how its work https://github.com/pkyeck/socket.IO-objc, but as soon as i run the project i go the following error
I am using IOS SDK 6.1 and Apple LLVM compiler 4.2.
error
ProcessPCH /Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/PrecompiledHeaders/SocketTesterARC-Prefix-eaouggsjdwbakedoogkslkipaiwy/SocketTesterARC-Prefix.pch.pth SocketTesterARC/SocketTesterARC-Prefix.pch normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/nikunjpatel/Desktop/socket.IO-objc-master
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 c-header -arch i386 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -mios-simulator-version-min=4.0 -iquote /Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/SocketTesterARC.build/Debug-iphonesimulator/SocketTesterARC.build/SocketTesterARC-generated-files.hmap -I/Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/SocketTesterARC.build/Debug-iphonesimulator/SocketTesterARC.build/SocketTesterARC-own-target-headers.hmap -I/Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/SocketTesterARC.build/Debug-iphonesimulator/SocketTesterARC.build/SocketTesterARC-all-target-headers.hmap -iquote /Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/SocketTesterARC.build/Debug-iphonesimulator/SocketTesterARC.build/SocketTesterARC-project-headers.hmap -I/Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/SocketTesterARC.build/Debug-iphonesimulator/SocketTesterARC.build/DerivedSources/i386 -I/Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/SocketTesterARC.build/Debug-iphonesimulator/SocketTesterARC.build/DerivedSources -F/Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Products/Debug-iphonesimulator --serialize-diagnostics /Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/PrecompiledHeaders/SocketTesterARC-Prefix-eaouggsjdwbakedoogkslkipaiwy/SocketTesterARC-Prefix.pch.dia -c /Users/nikunjpatel/Desktop/socket.IO-objc-master/SocketTesterARC/SocketTesterARC-Prefix.pch -o /Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/PrecompiledHeaders/SocketTesterARC-Prefix-eaouggsjdwbakedoogkslkipaiwy/SocketTesterARC-Prefix.pch.pth -MMD -MT dependencies -MF /Users/nikunjpatel/Library/Developer/Xcode/DerivedData/SocketTesterARC-hbuecoaldjcdawhaiejruwwnvccu/Build/Intermediates/PrecompiledHeaders/SocketTesterARC-Prefix-eaouggsjdwbakedoogkslkipaiwy/SocketTesterARC-Prefix.pch.d
clang: error: no such file or directory: '/Users/nikunjpatel/Desktop/socket.IO-objc-master/SocketTesterARC/SocketTesterARC-Prefix.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
please help me
I am trying to play around with the sources of blender and try to follow the tutorial on http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Mac
I am using the CMake+Xcode method which works up to the step where it says "select install" as target and hit the run button. After 3-4 minutes I get this error:
CompileC /Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/Objects-normal/x86_64/GHOST_NDOFManagerCocoa.o intern/ghost/intern/GHOST_NDOFManagerCocoa.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/Jan/blender-build/blender
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch x86_64 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wformat -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-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-arc-abi -Wno-c++11-extensions "-DCMAKE_INTDIR=\"Debug\"" -D__SSE__ -D__MMX__ -D__SSE2__ -D__LITTLE_ENDIAN__ -DOPJ_STATIC -DWITH_INPUT_NDOF -DDEBUG -D_DEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.5 -g -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/Jan/blender-build/cmake/lib/Debug/include -I/Users/Jan/blender-build/blender/intern/ghost -I/Users/Jan/blender-build/blender/intern/string -I/Users/Jan/blender-build/blender/source/blender/imbuf -I/Users/Jan/blender-build/blender/source/blender/makesdna -I/Users/Jan/blender-build/blender/extern/glew/include -I/Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/DerivedSources/x86_64 -I/Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/Jan/blender-build/cmake/lib/Debug -msse2 -msse -pipe -funsigned-char -DGHOST_COCOA -DUSE_QTKIT -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wuninitialized -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -fno-strict-aliasing -MMD -MT dependencies -MF /Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/Objects-normal/x86_64/GHOST_NDOFManagerCocoa.d --serialize-diagnostics /Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/Objects-normal/x86_64/GHOST_NDOFManagerCocoa.dia -c /Users/Jan/blender-build/blender/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm -o /Users/Jan/blender-build/cmake/intern/ghost/Blender.build/Debug/bf_intern_ghost.build/Objects-normal/x86_64/GHOST_NDOFManagerCocoa.o
/Users/Jan/blender-build/blender/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm:30:11: fatal error: '3DconnexionClient/ConnexionClientAPI.h' file not found
#include <3DconnexionClient/ConnexionClientAPI.h>
^
1 error generated.
As I own a SpaceNavigator, the drivers are installed and they are definitely found under /Library/Frameworks/3DconnexionClient.framework and also the searched header file is available.
I also tried to add the header+library search paths but that doesn't work either.
Any help on that?
Thank you!