Skip to content

Instantly share code, notes, and snippets.

@S-Shimotori
Created November 1, 2015 07:13
Show Gist options
  • Save S-Shimotori/574bb6dc9c59799e9cf5 to your computer and use it in GitHub Desktop.
Save S-Shimotori/574bb6dc9c59799e9cf5 to your computer and use it in GitHub Desktop.
info.plist in json is readable for not parser but human
package model
type UTTypeTagSpecification struct {
publicFilenameExtension map[int]string `json:"public.filename-extension"`//=> [0 => "gputrace"]
}
type UTImportedTypeDeclaration struct {
UTTypeIdentifier string//=> "com.apple.gputools.gputrace"
UTTypeConformsTo map[int]string//" => [0 => "com.apple.package"]
UTTypeDescription string//=> "GPU Trace"
UTTypeTagSpecification UTTypeTagSpecification
}
type NSMenuItem struct {
Default string `json:"default"`//=> "Open Quickly in Xcode"
}
type NSService struct {
NSMessage string//" => "openQuickly"
NSPortName string//" => "Xcode"
NSSendTypes map[int]string//=> [0 => "NSStringPboardType"]
NSMenuItem NSMenuItem
NSRestricted int//" => 0
}
type CFBundleDocumentType struct {
CFBundleTypeExtensions map[int]string//=> [0 => "xcworkspace"]
LSIsAppleDefaultForType int//=> 1
LSTypeIsPackage int//=> 1
CFBundleTypeName string//=> "Xcode Workspace"
CFBundleTypeIconFile string//=> "workspace_Icon"
LSItemContentTypes map[int]string//=> [0 => "com.apple.dt.document.workspace"]
CFBundleTypeRole string//=> "Editor"
NSDocumentClass string//=> "IDEWorkspaceDocument"
}
type UTExportedTypeDeclaration struct {
UTTypeIdentifier string//=> "com.apple.gputools.gputrace"
UTTypeConformsTo map[int]string//=> [0 => "com.apple.package"]
UTTypeDescription string//=> "GPU Trace"
UTTypeTagSpecification UTTypeTagSpecification
}
type LSEnvironment struct {
MallocNanoZone string//=> "0"
}
type XcodeInfo struct {
NSAppleScriptEnabled int//=> 1
CFBundleInfoDictionaryVersion string//=> "6.0"
DTPlatformVersion string//=> "GM"
CFBundleIconFile string//=> "Xcode"
CFBundleName string//=> "Xcode"
DTSDKName string//=> "macosx10.11internal"
UTImportedTypeDeclarations map[int]UTImportedTypeDeclaration
NSSupportsAutomaticGraphicsSwitching int//" => 1
NSServices map[int]NSService
NSPrincipalClass string//=> "IDEApplication"
LSApplicationCategoryType string//=> "public.app-category.developer-tools"
CFBundleDocumentTypes map[int]CFBundleDocumentType//" => [
DTSDKBuild string//=> "15A268"
CFBundleShortVersionString string//=> "7.0.1"
CFBundleSupportedPlatforms map[int]string//=> [0 => "MacOSX"]
BuildMachineOSBuild string//=> "15A242"
DTPlatformBuild string//=> ""
CFBundlePackageType string//=> "APPL"
UTExportedTypeDeclarations map[int]UTExportedTypeDeclaration
CFBundleDevelopmentRegion string//=> "English"
DTXcodeBuild string//=> ""
CFBundleVersion string//=> "8228"
NSSupportsSuddenTermination int//=> 1
OSAScriptingDefinition string//=> "Xcode.sdef"
NSSupportsAutomaticTermination int//=> 1
NSMainNibFile string//=> "MainMenu"
CFBundleIdentifier string//=> "com.apple.dt.Xcode"
LSEnvironment LSEnvironment
DVTPlugInCompatibilityUUID string//=> "0420B86A-AA43-4792-9ED0-6FE0F2B16A13"
DTXcode string//=> "0700"
CFBundleExecutable string//=> "Xcode"
LSMinimumSystemVersion string//=> "10.10.4"
CFBundleSignature string//=> "????"
DTCompiler string//=> "com.apple.compilers.llvm.clang.1_0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment