Changeset 320

Show
Ignore:
Timestamp:
08/06/08 05:45:45 (4 months ago)
Author:
wolf
Message:

[NEW] Xmo'd: Add Xcode 3.1 support (just had to add recognition of the 3.1 version string).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cocoa/mogenerator/Xmod/Xmod.m

    r290 r320  
    5656        } else if ([xcodeVersion isEqualToString:@"2.5"]) { 
    5757                coreDataPlugin = [NSBundle bundleWithPath:@"/Xcode2.5/Library/Xcode/Plug-ins/XDCoreDataModel.xdplugin"]; 
    58         } else if ([xcodeVersion isEqualToString:@"3.0"]) { 
     58        } else if ([xcodeVersion isEqualToString:@"3.0"] || [xcodeVersion isEqualToString:@"3.1"]) { 
    5959                coreDataPlugin = [NSBundle bundleWithPath:@"/Developer/Library/Xcode/Plug-ins/XDCoreDataModel.xdplugin"]; 
    6060        } else { 
    61                 NSLog(@"Xmod: unknown Xcode version (%@), exiting.", xcodeVersion); 
     61                NSLog(@"Xmod: unknown Xcode version (%@), not loading.", xcodeVersion); 
    6262                return; 
    6363        } 
  • trunk/cocoa/mogenerator/Xmod/Xmod.xcodeproj/project.pbxproj

    r289 r320  
    4343                79F8A9C20C8FF06600082291 /* Autocustomize Entity Classes.applescript */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.applescript; path = "Autocustomize Entity Classes.applescript"; sourceTree = "<group>"; }; 
    4444                8D5B49B6048680CD000E48DA /* Xmod.pbplugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Xmod.pbplugin; sourceTree = BUILT_PRODUCTS_DIR; }; 
    45                 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = Info.plist; sourceTree = "<group>"; }; 
     45                8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; 
    4646                D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; }; 
    4747/* End PBXFileReference section */