forked from MacRuby/MacRuby
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/branches/testing@18 23306eb0-4c56-4727-a40e-e92c0eb68959
- Loading branch information
Showing
16 changed files
with
3,167 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+208 Bytes
...mplates/Project Templates/Application/MacRuby Application/English.lproj/InfoPlist.strings
Binary file not shown.
2,398 changes: 2,398 additions & 0 deletions
2,398
...oject Templates/Application/MacRuby Application/English.lproj/MainMenu.nib/designable.nib
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+17.6 KB
...ect Templates/Application/MacRuby Application/English.lproj/MainMenu.nib/keyedobjects.nib
Binary file not shown.
28 changes: 28 additions & 0 deletions
28
misc/xcode-templates/Project Templates/Application/MacRuby Application/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>${EXECUTABLE_NAME}</string> | ||
<key>CFBundleIconFile</key> | ||
<string></string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.yourcompany.«PROJECTNAMEASXML»</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>${PRODUCT_NAME}</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>NSMainNibFile</key> | ||
<string>MainMenu</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
15 changes: 15 additions & 0 deletions
15
...Project Templates/Application/MacRuby Application/MacRubyApp.xcodeproj/TemplateInfo.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>Description</key> | ||
<string>This project builds a Cocoa-based application written in Ruby, with MacRuby.</string> | ||
<key>FilesToMacroExpand</key> | ||
<array> | ||
<string>English.lproj/InfoPlist.strings</string> | ||
<string>main.m</string> | ||
<string>rb_main.rb</string> | ||
<string>Info.plist</string> | ||
</array> | ||
</dict> | ||
</plist> |
285 changes: 285 additions & 0 deletions
285
...es/Project Templates/Application/MacRuby Application/MacRubyApp.xcodeproj/project.pbxproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,285 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 44; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
4DE339F70D74FCDD00ADB6EE /* rb_main.rb in Resources */ = {isa = PBXBuildFile; fileRef = 4DE339F60D74FCDD00ADB6EE /* rb_main.rb */; }; | ||
8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; }; | ||
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; | ||
8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; | ||
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; | ||
13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; }; | ||
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | ||
29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; }; | ||
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; | ||
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; | ||
4DE339F60D74FCDD00ADB6EE /* rb_main.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = rb_main.rb; sourceTree = "<group>"; }; | ||
8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
8D1107320486CEB800E47090 /* «PROJECTNAME».app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "«PROJECTNAME».app"; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
8D11072E0486CEB800E47090 /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
080E96DDFE201D6D7F000001 /* Classes */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
); | ||
name = Classes; | ||
sourceTree = "<group>"; | ||
}; | ||
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, | ||
); | ||
name = "Linked Frameworks"; | ||
sourceTree = "<group>"; | ||
}; | ||
1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
29B97324FDCFA39411CA2CEA /* AppKit.framework */, | ||
13E42FB307B3F0F600E4EEF1 /* CoreData.framework */, | ||
29B97325FDCFA39411CA2CEA /* Foundation.framework */, | ||
); | ||
name = "Other Frameworks"; | ||
sourceTree = "<group>"; | ||
}; | ||
19C28FACFE9D520D11CA2CBB /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
8D1107320486CEB800E47090 /* «PROJECTNAME».app */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
080E96DDFE201D6D7F000001 /* Classes */, | ||
29B97315FDCFA39411CA2CEA /* Other Sources */, | ||
29B97317FDCFA39411CA2CEA /* Resources */, | ||
29B97323FDCFA39411CA2CEA /* Frameworks */, | ||
19C28FACFE9D520D11CA2CBB /* Products */, | ||
); | ||
name = "«PROJECTNAMEASXML»"; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97315FDCFA39411CA2CEA /* Other Sources */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
4DE339F60D74FCDD00ADB6EE /* rb_main.rb */, | ||
29B97316FDCFA39411CA2CEA /* main.m */, | ||
); | ||
name = "Other Sources"; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97317FDCFA39411CA2CEA /* Resources */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
8D1107310486CEB800E47090 /* Info.plist */, | ||
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, | ||
29B97318FDCFA39411CA2CEA /* MainMenu.nib */, | ||
); | ||
name = Resources; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97323FDCFA39411CA2CEA /* Frameworks */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, | ||
1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, | ||
); | ||
name = Frameworks; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
8D1107260486CEB800E47090 /* «PROJECTNAME» */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */; | ||
buildPhases = ( | ||
8D1107290486CEB800E47090 /* Resources */, | ||
8D11072C0486CEB800E47090 /* Sources */, | ||
8D11072E0486CEB800E47090 /* Frameworks */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = "«PROJECTNAME»"; | ||
productInstallPath = "$(HOME)/Applications"; | ||
productName = "«PROJECTNAME»"; | ||
productReference = 8D1107320486CEB800E47090 /* «PROJECTNAME».app */; | ||
productType = "com.apple.product-type.application"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
29B97313FDCFA39411CA2CEA /* Project object */ = { | ||
isa = PBXProject; | ||
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "MacRubyApp" */; | ||
compatibilityVersion = "Xcode 3.0"; | ||
hasScannedForEncodings = 1; | ||
mainGroup = 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
8D1107260486CEB800E47090 /* «PROJECTNAME» */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXResourcesBuildPhase section */ | ||
8D1107290486CEB800E47090 /* Resources */ = { | ||
isa = PBXResourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */, | ||
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, | ||
4DE339F70D74FCDD00ADB6EE /* rb_main.rb in Resources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXResourcesBuildPhase section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
8D11072C0486CEB800E47090 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
8D11072D0486CEB800E47090 /* main.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin PBXVariantGroup section */ | ||
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
089C165DFE840E0CC02AAC07 /* English */, | ||
); | ||
name = InfoPlist.strings; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97318FDCFA39411CA2CEA /* MainMenu.nib */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
29B97319FDCFA39411CA2CEA /* English */, | ||
); | ||
name = MainMenu.nib; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXVariantGroup section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
C01FCF4B08A954540054247B /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
COPY_PHASE_STRIP = NO; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_ENABLE_FIX_AND_CONTINUE = YES; | ||
GCC_MODEL_TUNING = G5; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
INFOPLIST_FILE = Info.plist; | ||
INSTALL_PATH = "$(HOME)/Applications"; | ||
PRODUCT_NAME = "«PROJECTNAME»"; | ||
WRAPPER_EXTENSION = app; | ||
ZERO_LINK = YES; | ||
}; | ||
name = Debug; | ||
}; | ||
C01FCF4C08A954540054247B /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
GCC_MODEL_TUNING = G5; | ||
GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
INFOPLIST_FILE = Info.plist; | ||
INSTALL_PATH = "$(HOME)/Applications"; | ||
PRODUCT_NAME = "«PROJECTNAME»"; | ||
WRAPPER_EXTENSION = app; | ||
}; | ||
name = Release; | ||
}; | ||
C01FCF4F08A954540054247B /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
HEADER_SEARCH_PATHS = ( | ||
"/usr/local/include/ruby-1.9.0", | ||
"/usr/local/include/ruby-1.9.0/i686-darwin9.0.0", | ||
); | ||
GCC_ENABLE_OBJC_GC = required; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
LIBRARY_SEARCH_PATHS = /usr/local/lib; | ||
OTHER_LDFLAGS = "-lruby"; | ||
PREBINDING = NO; | ||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; | ||
}; | ||
name = Debug; | ||
}; | ||
C01FCF5008A954540054247B /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
HEADER_SEARCH_PATHS = ( | ||
"/usr/local/include/ruby-1.9.0", | ||
"/usr/local/include/ruby-1.9.0/i686-darwin9.0.0", | ||
); | ||
GCC_ENABLE_OBJC_GC = required; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
LIBRARY_SEARCH_PATHS = /usr/local/lib; | ||
OTHER_LDFLAGS = "-lruby"; | ||
PREBINDING = NO; | ||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk"; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
C01FCF4B08A954540054247B /* Debug */, | ||
C01FCF4C08A954540054247B /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
C01FCF4E08A954540054247B /* Build configuration list for PBXProject "MacRubyApp" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
C01FCF4F08A954540054247B /* Debug */, | ||
C01FCF5008A954540054247B /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; | ||
} |
Oops, something went wrong.