Hi javacom,
I've been building stuff with Xcode and the official SDK for about 6 months so I'm not a total newbie. I decided I'd have a look what the unofficial side of development looked like and followed everything in your posts to install everything required.
However, I created a new project based on the Open Tool Chain Application template, hit "Build" and it threw up all of these errors (below but I had to delete a lot of the output text as it's too long for one post).
Also, in the first post in this topic you refer to "IPHONE_IP" and "IPHONE_INSTALL_DIR" in the Project settings but I couldn't find them. I assumed you'd need to manually add them to the User-Defined Setting section? If not, where do you find them.
Many thanks,
Neil
Code:
Building target “ott_test” of project “ott_test” with configuration “Debug” — (19 errors)
Checking Dependencies
mkdir /Users/-------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator/ott_test.app
cd /Users/------/Documents/Development/iPhone/ott_test
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
<com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Users/------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator/ott_test.app/PkgInfo -expandbuildsettings -o /Users/------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator/ott_test.app/Info.plist
cd /Users/------/Documents/Development/iPhone/ott_test
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D__IPHONE_OS_VERSION_MIN_REQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/ott_test-generated-files.hmap -I/Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/ott_test-own-target-headers.hmap -I/Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/ott_test-all-target-headers.hmap -iquote /Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/ott_test-project-headers.hmap -F/Users/------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator -I/Users/------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator/include -I/Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/DerivedSources -I/Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/usr/include -I/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include -F/System/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/PrivateFrameworks -DASPEN -DDEBUG -DVERSION="2.1.0" -O3 -funroll-loops "-DMAC_OS_X_VERSION_MAX_ALLOWED=1050
" -c /Users/------/Documents/Development/iPhone/ott_test/ott_test_Prefix.pch -o /var/folders/FZ/FZZb2jIQGMWxKTIVM4wdGE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/ott_test_Prefix-ggkgvoiunlsvpbfotnzujsptgzgs/ott_test_Prefix.pch.gch
In file included from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/MachineExceptions.h:29,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/DriverServices.h:32,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/CarbonCore.h:125,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CoreServices/CoreServices.h:24,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/ApplicationServices/ApplicationServices.h:20,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/Foundation/NSAppleEventDescriptor.h:8,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/Foundation/Foundation.h:104,
from /Users/------/Documents/Development/iPhone/ott_test/ott_test_Prefix.pch:6:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1038: error: redefinition of '_mm_max_pi16'
/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:806: error: previous definition of '_mm_max_pi16' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1044: error: redefinition of '_mm_min_pi16'
/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:848: error: previous definition of '_mm_min_pi16' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1070: error: redefinition of '_mm_min_pi16'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1064: error: previous definition of '_mm_min_pi16' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1077: error: redefinition of '_mm_min_pu8'
/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:862: error: previous definition of '_mm_min_pu8' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1083: error: redefinition of '_mm_min_pu8'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1077: error: previous definition of '_mm_min_pu8' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1090: error: redefinition of '_mm_avg_pu16'
/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:917: error: previous definition of '_mm_avg_pu16' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1171: error: incompatible type for argument 2 of '__builtin_ia32_movntq'
from /Users/------/Documents/Development/iPhone/ott_test/ott_test_Prefix.pch:6:
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/Foundation/Foundation.h:104,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/Foundation/NSAppleEventDescriptor.h:8,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/ApplicationServices/ApplicationServices.h:20,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CoreServices/CoreServices.h:24,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/CarbonCore.h:125,
from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/DriverServices.h:32,
In file included from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/MachineExceptions.h:29,
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1038: error: redefinition of '_mm_max_pi16'
/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:806: error: previous definition of '_mm_max_pi16' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1044: error: redefinition of '_mm_max_pi16'
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1038: error: previous definition of '_mm_max_pi16' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1051: error: redefinition of '_mm_max_pu8'
/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:820: error: previous definition of '_mm_max_pu8' was here
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1057:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1208: error: incompatible type for argument 2 of '__builtin_ia32_movntq'
Build failed (19 errors)