From: kimura w. <ki...@us...> - 2008-03-15 06:08:55
|
Hi, It is same as Objective-C projects. 1.Xcode project info (1) General > Cross-Development Using Targe SDK -> Mac OS X 10.4 (Universal) (2) Build > Architecture -> i386 ppc 2.copy RubyCocoa.framework(for 10.4) into YourApp.app/Contents/Frameworks You can get RubyCocoa.framework for 10.4 from the 10.4 binary installer with the following command. % pax -r -z -f /Volumes/RubyCocoa-0.13.2.1-OSX10.4universal/\ RubyCocoa-0.13.2.1-OSX10.4universal.pkg/Contents/Archive.pax.gz \ ./Library/Frameworks % ls Library/Frameworks RubyCocoa.framework/ BUT, it seems the setting 1-(1) does not work correctly for Xcode 2.4 format projects with Xcode 3.0. The command "xcodebuild" works correctly with ARCHS option. % cd YourProject % pax -r -z -f /Volumes/RubyCocoa-0.13.2.1-OSX10.4universal/\ RubyCocoa-0.13.2.1-OSX10.4universal.pkg/Contents/Archive.pax.gz \ ./Library/Frameworks % xcodebuild -configuration Release ARCHS='i386 ppc' \ SDKROOT='$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdK' \ FRAMEWORK_SEARCH_PATHS=./Library/Frameworks % mkdir build/Release/YourApp.app/Contents/Frameworks % cp ./Library/Frameworks/RubyCocoa.framework On Sat, 1 Mar 2008 15:30:38 -0700, Rod Schmidt wrote: > Has anybody figured out how to build a 10.4 targeted universal app on > a Leopard machine? I'd really like to be able to do this. > > Thanks, > > Rod > -- kimura wataru |