123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596 |
- // !$*UTF8*$!
- {
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
- /* Begin PBXBuildFile section */
- E90E74B4184FAA0F00F38929 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = E90E74B2184FAA0F00F38929 /* Localizable.strings */; };
- E9341914184A1A1A00D03488 /* StateModel.m in Sources */ = {isa = PBXBuildFile; fileRef = E9341913184A1A1A00D03488 /* StateModel.m */; };
- E934191B184A47DE00D03488 /* Prefs.xib in Resources */ = {isa = PBXBuildFile; fileRef = E9341919184A47DE00D03488 /* Prefs.xib */; };
- E9A129B1184BD24000F50D1D /* RedditItem.m in Sources */ = {isa = PBXBuildFile; fileRef = E9A129B0184BD24000F50D1D /* RedditItem.m */; };
- E9B6773E184B73DC00850559 /* Reddit.m in Sources */ = {isa = PBXBuildFile; fileRef = E9B6773D184B73DC00850559 /* Reddit.m */; };
- E9CF1F21184961010004AE02 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9CF1F20184961010004AE02 /* Cocoa.framework */; };
- E9CF1F2B184961010004AE02 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E9CF1F29184961010004AE02 /* InfoPlist.strings */; };
- E9CF1F2D184961010004AE02 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E9CF1F2C184961010004AE02 /* main.m */; };
- E9CF1F31184961010004AE02 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = E9CF1F2F184961010004AE02 /* Credits.rtf */; };
- E9CF1F34184961010004AE02 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E9CF1F33184961010004AE02 /* AppDelegate.m */; };
- E9CF1F37184961020004AE02 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = E9CF1F35184961020004AE02 /* MainMenu.xib */; };
- E9CF1F39184961020004AE02 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E9CF1F38184961020004AE02 /* Images.xcassets */; };
- E9CF1F40184961020004AE02 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9CF1F3F184961020004AE02 /* XCTest.framework */; };
- E9CF1F41184961020004AE02 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9CF1F20184961010004AE02 /* Cocoa.framework */; };
- E9CF1F49184961020004AE02 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E9CF1F47184961020004AE02 /* InfoPlist.strings */; };
- E9CF1F4B184961020004AE02 /* RedditBarTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E9CF1F4A184961020004AE02 /* RedditBarTests.m */; };
- E9CF1F5C1849685C0004AE02 /* PrefController.m in Sources */ = {isa = PBXBuildFile; fileRef = E9CF1F5B1849685C0004AE02 /* PrefController.m */; };
- E9F64A2E185E1E2900D6CA16 /* PrefWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = E9F64A2D185E1E2900D6CA16 /* PrefWindow.m */; };
- /* End PBXBuildFile section */
-
- /* Begin PBXContainerItemProxy section */
- E9CF1F42184961020004AE02 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = E9CF1F15184961010004AE02 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = E9CF1F1C184961010004AE02;
- remoteInfo = RedditBar;
- };
- /* End PBXContainerItemProxy section */
-
- /* Begin PBXFileReference section */
- E90E74B3184FAA0F00F38929 /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
- E90E74B6184FAADE00F38929 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/MainMenu.strings; sourceTree = "<group>"; };
- E90E74B7184FAADE00F38929 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Prefs.strings; sourceTree = "<group>"; };
- E90E74B8184FAADE00F38929 /* de */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = "<group>"; };
- E90E74B9184FAADE00F38929 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- E90E74BA184FAADE00F38929 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = de; path = de.lproj/Credits.rtf; sourceTree = "<group>"; };
- E90E74BB184FAADE00F38929 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- E9341912184A1A1A00D03488 /* StateModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StateModel.h; sourceTree = "<group>"; };
- E9341913184A1A1A00D03488 /* StateModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StateModel.m; sourceTree = "<group>"; };
- E934191A184A47DE00D03488 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/Prefs.xib; sourceTree = "<group>"; };
- E97FD65E185232CA006B5B3E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/MainMenu.strings; sourceTree = "<group>"; };
- E97FD65F185232D5006B5B3E /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Prefs.strings; sourceTree = "<group>"; };
- E9A129AF184BD24000F50D1D /* RedditItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RedditItem.h; sourceTree = "<group>"; };
- E9A129B0184BD24000F50D1D /* RedditItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RedditItem.m; sourceTree = "<group>"; };
- E9B6773C184B73DC00850559 /* Reddit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Reddit.h; sourceTree = "<group>"; };
- E9B6773D184B73DC00850559 /* Reddit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Reddit.m; sourceTree = "<group>"; };
- E9CF1F1D184961010004AE02 /* RedditBar.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RedditBar.app; sourceTree = BUILT_PRODUCTS_DIR; };
- E9CF1F20184961010004AE02 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
- E9CF1F23184961010004AE02 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
- E9CF1F24184961010004AE02 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
- E9CF1F25184961010004AE02 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- E9CF1F28184961010004AE02 /* RedditBar-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RedditBar-Info.plist"; sourceTree = "<group>"; };
- E9CF1F2A184961010004AE02 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- E9CF1F2C184961010004AE02 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
- E9CF1F2E184961010004AE02 /* RedditBar-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RedditBar-Prefix.pch"; sourceTree = "<group>"; };
- E9CF1F30184961010004AE02 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
- E9CF1F32184961010004AE02 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
- E9CF1F33184961010004AE02 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
- E9CF1F36184961020004AE02 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
- E9CF1F38184961020004AE02 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
- E9CF1F3E184961020004AE02 /* RedditBarTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RedditBarTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
- E9CF1F3F184961020004AE02 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
- E9CF1F46184961020004AE02 /* RedditBarTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RedditBarTests-Info.plist"; sourceTree = "<group>"; };
- E9CF1F48184961020004AE02 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
- E9CF1F4A184961020004AE02 /* RedditBarTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RedditBarTests.m; sourceTree = "<group>"; };
- E9CF1F5A1849685C0004AE02 /* PrefController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PrefController.h; sourceTree = "<group>"; };
- E9CF1F5B1849685C0004AE02 /* PrefController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PrefController.m; sourceTree = "<group>"; };
- E9F64A2B185D51C100D6CA16 /* RedditBar.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = RedditBar.entitlements; sourceTree = "<group>"; };
- E9F64A2C185E1E2900D6CA16 /* PrefWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PrefWindow.h; sourceTree = "<group>"; };
- E9F64A2D185E1E2900D6CA16 /* PrefWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PrefWindow.m; sourceTree = "<group>"; };
- /* End PBXFileReference section */
-
- /* Begin PBXFrameworksBuildPhase section */
- E9CF1F1A184961010004AE02 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E9CF1F21184961010004AE02 /* Cocoa.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- E9CF1F3B184961020004AE02 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E9CF1F41184961020004AE02 /* Cocoa.framework in Frameworks */,
- E9CF1F40184961020004AE02 /* XCTest.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- /* End PBXFrameworksBuildPhase section */
-
- /* Begin PBXGroup section */
- E9CF1F14184961010004AE02 = {
- isa = PBXGroup;
- children = (
- E9CF1F26184961010004AE02 /* RedditBar */,
- E9CF1F44184961020004AE02 /* RedditBarTests */,
- E9CF1F1F184961010004AE02 /* Frameworks */,
- E9CF1F1E184961010004AE02 /* Products */,
- );
- sourceTree = "<group>";
- };
- E9CF1F1E184961010004AE02 /* Products */ = {
- isa = PBXGroup;
- children = (
- E9CF1F1D184961010004AE02 /* RedditBar.app */,
- E9CF1F3E184961020004AE02 /* RedditBarTests.xctest */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- E9CF1F1F184961010004AE02 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- E9CF1F20184961010004AE02 /* Cocoa.framework */,
- E9CF1F3F184961020004AE02 /* XCTest.framework */,
- E9CF1F22184961010004AE02 /* Other Frameworks */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- E9CF1F22184961010004AE02 /* Other Frameworks */ = {
- isa = PBXGroup;
- children = (
- E9CF1F23184961010004AE02 /* AppKit.framework */,
- E9CF1F24184961010004AE02 /* CoreData.framework */,
- E9CF1F25184961010004AE02 /* Foundation.framework */,
- );
- name = "Other Frameworks";
- sourceTree = "<group>";
- };
- E9CF1F26184961010004AE02 /* RedditBar */ = {
- isa = PBXGroup;
- children = (
- E9F64A2B185D51C100D6CA16 /* RedditBar.entitlements */,
- E9CF1F32184961010004AE02 /* AppDelegate.h */,
- E9CF1F33184961010004AE02 /* AppDelegate.m */,
- E9B6773C184B73DC00850559 /* Reddit.h */,
- E9B6773D184B73DC00850559 /* Reddit.m */,
- E9A129AF184BD24000F50D1D /* RedditItem.h */,
- E9A129B0184BD24000F50D1D /* RedditItem.m */,
- E9341912184A1A1A00D03488 /* StateModel.h */,
- E9341913184A1A1A00D03488 /* StateModel.m */,
- E9CF1F5A1849685C0004AE02 /* PrefController.h */,
- E9CF1F5B1849685C0004AE02 /* PrefController.m */,
- E9F64A2C185E1E2900D6CA16 /* PrefWindow.h */,
- E9F64A2D185E1E2900D6CA16 /* PrefWindow.m */,
- E9CF1F35184961020004AE02 /* MainMenu.xib */,
- E9341919184A47DE00D03488 /* Prefs.xib */,
- E90E74B2184FAA0F00F38929 /* Localizable.strings */,
- E9CF1F38184961020004AE02 /* Images.xcassets */,
- E9CF1F27184961010004AE02 /* Supporting Files */,
- );
- path = RedditBar;
- sourceTree = "<group>";
- };
- E9CF1F27184961010004AE02 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- E9CF1F28184961010004AE02 /* RedditBar-Info.plist */,
- E9CF1F29184961010004AE02 /* InfoPlist.strings */,
- E9CF1F2C184961010004AE02 /* main.m */,
- E9CF1F2E184961010004AE02 /* RedditBar-Prefix.pch */,
- E9CF1F2F184961010004AE02 /* Credits.rtf */,
- );
- name = "Supporting Files";
- sourceTree = "<group>";
- };
- E9CF1F44184961020004AE02 /* RedditBarTests */ = {
- isa = PBXGroup;
- children = (
- E9CF1F4A184961020004AE02 /* RedditBarTests.m */,
- E9CF1F45184961020004AE02 /* Supporting Files */,
- );
- path = RedditBarTests;
- sourceTree = "<group>";
- };
- E9CF1F45184961020004AE02 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- E9CF1F46184961020004AE02 /* RedditBarTests-Info.plist */,
- E9CF1F47184961020004AE02 /* InfoPlist.strings */,
- );
- name = "Supporting Files";
- sourceTree = "<group>";
- };
- /* End PBXGroup section */
-
- /* Begin PBXNativeTarget section */
- E9CF1F1C184961010004AE02 /* RedditBar */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = E9CF1F4E184961020004AE02 /* Build configuration list for PBXNativeTarget "RedditBar" */;
- buildPhases = (
- E9CF1F19184961010004AE02 /* Sources */,
- E9CF1F1A184961010004AE02 /* Frameworks */,
- E9341915184A3A6500D03488 /* ShellScript */,
- E9CF1F1B184961010004AE02 /* Resources */,
- E97FD65D185231D0006B5B3E /* ShellScript */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = RedditBar;
- productName = RedditBar;
- productReference = E9CF1F1D184961010004AE02 /* RedditBar.app */;
- productType = "com.apple.product-type.application";
- };
- E9CF1F3D184961020004AE02 /* RedditBarTests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = E9CF1F51184961020004AE02 /* Build configuration list for PBXNativeTarget "RedditBarTests" */;
- buildPhases = (
- E9CF1F3A184961020004AE02 /* Sources */,
- E9CF1F3B184961020004AE02 /* Frameworks */,
- E9CF1F3C184961020004AE02 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- E9CF1F43184961020004AE02 /* PBXTargetDependency */,
- );
- name = RedditBarTests;
- productName = RedditBarTests;
- productReference = E9CF1F3E184961020004AE02 /* RedditBarTests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
- /* End PBXNativeTarget section */
-
- /* Begin PBXProject section */
- E9CF1F15184961010004AE02 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0500;
- ORGANIZATIONNAME = xythobuz;
- TargetAttributes = {
- E9CF1F1C184961010004AE02 = {
- SystemCapabilities = {
- com.apple.Sandbox = {
- enabled = 1;
- };
- };
- };
- E9CF1F3D184961020004AE02 = {
- TestTargetID = E9CF1F1C184961010004AE02;
- };
- };
- };
- buildConfigurationList = E9CF1F18184961010004AE02 /* Build configuration list for PBXProject "RedditBar" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- de,
- );
- mainGroup = E9CF1F14184961010004AE02;
- productRefGroup = E9CF1F1E184961010004AE02 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- E9CF1F1C184961010004AE02 /* RedditBar */,
- E9CF1F3D184961020004AE02 /* RedditBarTests */,
- );
- };
- /* End PBXProject section */
-
- /* Begin PBXResourcesBuildPhase section */
- E9CF1F1B184961010004AE02 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E9CF1F2B184961010004AE02 /* InfoPlist.strings in Resources */,
- E90E74B4184FAA0F00F38929 /* Localizable.strings in Resources */,
- E9CF1F39184961020004AE02 /* Images.xcassets in Resources */,
- E9CF1F31184961010004AE02 /* Credits.rtf in Resources */,
- E9CF1F37184961020004AE02 /* MainMenu.xib in Resources */,
- E934191B184A47DE00D03488 /* Prefs.xib in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- E9CF1F3C184961020004AE02 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E9CF1F49184961020004AE02 /* InfoPlist.strings in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- /* End PBXResourcesBuildPhase section */
-
- /* Begin PBXShellScriptBuildPhase section */
- E9341915184A3A6500D03488 /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "buildNumber=$(/usr/libexec/PlistBuddy -c \"Print CFBundleVersion\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\")\nbuildNumber=$(($buildNumber + 1))\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $buildNumber\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\"";
- };
- E97FD65D185231D0006B5B3E /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "# update_storyboard_strings.sh - automatically extract translatable strings from storyboards and update strings files\n# Based on http://forums.macrumors.com/showpost.php?p=16060008&postcount=4 by mikezang\n\nstoryboardExt=\".xib\"\nstringsExt=\".strings\"\nnewStringsExt=\".strings.new\"\noldStringsExt=\".strings.old\"\nlocaleDirExt=\".lproj\"\n\n# Find storyboard file full path inside project folder\nfor storyboardPath in `find . -name \"*$storyboardExt\" -print`\ndo\n# Get Base strings file full path\nbaseStringsPath=$(echo \"$storyboardPath\" | sed \"s/$storyboardExt/$stringsExt/\")\n\n# Create base strings file if it doesn't exist\nif ! [ -f $baseStringsPath ]; then\ntouch -r $storyboardPath $baseStringsPath\n# Make base strings file older than the storyboard file\ntouch -A -01 $baseStringsPath\nfi\n\n# Create strings file only when storyboard file newer\nif find $storyboardPath -prune -newer $baseStringsPath -print | grep -q .; then\n# Get storyboard file name and folder\nstoryboardFile=$(basename \"$storyboardPath\")\nstoryboardDir=$(dirname \"$storyboardPath\")\n\n# Get New Base strings file full path and strings file name\nnewBaseStringsPath=$(echo \"$storyboardPath\" | sed \"s/$storyboardExt/$newStringsExt/\")\nstringsFile=$(basename \"$baseStringsPath\")\nibtool --export-strings-file $newBaseStringsPath $storyboardPath\niconv -f UTF-16 -t UTF-8 $newBaseStringsPath > $baseStringsPath\nrm $newBaseStringsPath\n\n# Get all locale strings folder\nfor localeStringsDir in `find . -name \"*$localeDirExt\" -print`\ndo\n# Skip Base strings folder\nif [ $localeStringsDir != $storyboardDir ]; then\nlocaleStringsPath=$localeStringsDir/$stringsFile\n\n# Just copy base strings file on first time\nif [ ! -e $localeStringsPath ]; then\ncp $baseStringsPath $localeStringsPath\nelse\noldLocaleStringsPath=$(echo \"$localeStringsPath\" | sed \"s/$stringsExt/$oldStringsExt/\")\ncp $localeStringsPath $oldLocaleStringsPath\n\n# Merge baseStringsPath to localeStringsPath\nawk 'NR == FNR && /^\\/\\*/ {x=$0; getline; a[x]=$0; next} /^\\/\\*/ {x=$0; print; getline; $0=a[x]?a[x]:$0; printf $0\"\\n\\n\"}' $oldLocaleStringsPath $baseStringsPath > $localeStringsPath\n\nrm $oldLocaleStringsPath\nfi\nfi\ndone\nelse\necho \"$storyboardPath file not modified.\"\nfi\ndone";
- };
- /* End PBXShellScriptBuildPhase section */
-
- /* Begin PBXSourcesBuildPhase section */
- E9CF1F19184961010004AE02 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E9CF1F34184961010004AE02 /* AppDelegate.m in Sources */,
- E9341914184A1A1A00D03488 /* StateModel.m in Sources */,
- E9A129B1184BD24000F50D1D /* RedditItem.m in Sources */,
- E9CF1F2D184961010004AE02 /* main.m in Sources */,
- E9CF1F5C1849685C0004AE02 /* PrefController.m in Sources */,
- E9F64A2E185E1E2900D6CA16 /* PrefWindow.m in Sources */,
- E9B6773E184B73DC00850559 /* Reddit.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- E9CF1F3A184961020004AE02 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E9CF1F4B184961020004AE02 /* RedditBarTests.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- /* End PBXSourcesBuildPhase section */
-
- /* Begin PBXTargetDependency section */
- E9CF1F43184961020004AE02 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = E9CF1F1C184961010004AE02 /* RedditBar */;
- targetProxy = E9CF1F42184961020004AE02 /* PBXContainerItemProxy */;
- };
- /* End PBXTargetDependency section */
-
- /* Begin PBXVariantGroup section */
- E90E74B2184FAA0F00F38929 /* Localizable.strings */ = {
- isa = PBXVariantGroup;
- children = (
- E90E74B3184FAA0F00F38929 /* en */,
- E90E74B8184FAADE00F38929 /* de */,
- );
- name = Localizable.strings;
- sourceTree = "<group>";
- };
- E9341919184A47DE00D03488 /* Prefs.xib */ = {
- isa = PBXVariantGroup;
- children = (
- E934191A184A47DE00D03488 /* Base */,
- E90E74B7184FAADE00F38929 /* de */,
- E97FD65F185232D5006B5B3E /* en */,
- );
- name = Prefs.xib;
- sourceTree = "<group>";
- };
- E9CF1F29184961010004AE02 /* InfoPlist.strings */ = {
- isa = PBXVariantGroup;
- children = (
- E9CF1F2A184961010004AE02 /* en */,
- E90E74B9184FAADE00F38929 /* de */,
- );
- name = InfoPlist.strings;
- sourceTree = "<group>";
- };
- E9CF1F2F184961010004AE02 /* Credits.rtf */ = {
- isa = PBXVariantGroup;
- children = (
- E9CF1F30184961010004AE02 /* en */,
- E90E74BA184FAADE00F38929 /* de */,
- );
- name = Credits.rtf;
- sourceTree = "<group>";
- };
- E9CF1F35184961020004AE02 /* MainMenu.xib */ = {
- isa = PBXVariantGroup;
- children = (
- E9CF1F36184961020004AE02 /* Base */,
- E90E74B6184FAADE00F38929 /* de */,
- E97FD65E185232CA006B5B3E /* en */,
- );
- name = MainMenu.xib;
- sourceTree = "<group>";
- };
- E9CF1F47184961020004AE02 /* InfoPlist.strings */ = {
- isa = PBXVariantGroup;
- children = (
- E9CF1F48184961020004AE02 /* en */,
- E90E74BB184FAADE00F38929 /* de */,
- );
- name = InfoPlist.strings;
- sourceTree = "<group>";
- };
- /* End PBXVariantGroup section */
-
- /* Begin XCBuildConfiguration section */
- E9CF1F4C184961020004AE02 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.9;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = macosx;
- };
- name = Debug;
- };
- E9CF1F4D184961020004AE02 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.9;
- SDKROOT = macosx;
- };
- name = Release;
- };
- E9CF1F4F184961020004AE02 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_ENTITLEMENTS = RedditBar/RedditBar.entitlements;
- COMBINE_HIDPI_IMAGES = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "RedditBar/RedditBar-Prefix.pch";
- INFOPLIST_FILE = "RedditBar/RedditBar-Info.plist";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = app;
- };
- name = Debug;
- };
- E9CF1F50184961020004AE02 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CODE_SIGN_ENTITLEMENTS = RedditBar/RedditBar.entitlements;
- COMBINE_HIDPI_IMAGES = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "RedditBar/RedditBar-Prefix.pch";
- INFOPLIST_FILE = "RedditBar/RedditBar-Info.plist";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = app;
- };
- name = Release;
- };
- E9CF1F52184961020004AE02 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/RedditBar.app/Contents/MacOS/RedditBar";
- COMBINE_HIDPI_IMAGES = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- "$(inherited)",
- );
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "RedditBar/RedditBar-Prefix.pch";
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- INFOPLIST_FILE = "RedditBarTests/RedditBarTests-Info.plist";
- PRODUCT_NAME = "$(TARGET_NAME)";
- TEST_HOST = "$(BUNDLE_LOADER)";
- WRAPPER_EXTENSION = xctest;
- };
- name = Debug;
- };
- E9CF1F53184961020004AE02 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/RedditBar.app/Contents/MacOS/RedditBar";
- COMBINE_HIDPI_IMAGES = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- "$(inherited)",
- );
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "RedditBar/RedditBar-Prefix.pch";
- INFOPLIST_FILE = "RedditBarTests/RedditBarTests-Info.plist";
- PRODUCT_NAME = "$(TARGET_NAME)";
- TEST_HOST = "$(BUNDLE_LOADER)";
- WRAPPER_EXTENSION = xctest;
- };
- name = Release;
- };
- /* End XCBuildConfiguration section */
-
- /* Begin XCConfigurationList section */
- E9CF1F18184961010004AE02 /* Build configuration list for PBXProject "RedditBar" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E9CF1F4C184961020004AE02 /* Debug */,
- E9CF1F4D184961020004AE02 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- E9CF1F4E184961020004AE02 /* Build configuration list for PBXNativeTarget "RedditBar" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E9CF1F4F184961020004AE02 /* Debug */,
- E9CF1F50184961020004AE02 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- E9CF1F51184961020004AE02 /* Build configuration list for PBXNativeTarget "RedditBarTests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E9CF1F52184961020004AE02 /* Debug */,
- E9CF1F53184961020004AE02 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- /* End XCConfigurationList section */
- };
- rootObject = E9CF1F15184961010004AE02 /* Project object */;
- }
|