xcres 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +12 -9
  3. data/README.md +43 -5
  4. data/lib/xcres/analyzer/strings_analyzer.rb +1 -1
  5. data/lib/xcres/builder/resources_builder.rb +77 -12
  6. data/lib/xcres/command/build_command.rb +6 -1
  7. data/lib/xcres/command/install_command.rb +23 -16
  8. data/lib/xcres/command/project_command.rb +1 -0
  9. data/lib/xcres/version.rb +1 -1
  10. data/spec/fixtures/Example/Example/en.lproj/Localizable.strings +1 -0
  11. data/spec/integration.rb +8 -0
  12. data/spec/integration/build-keyword-clash/after/R.h +1 -3
  13. data/spec/integration/build-keyword-clash/after/R.m +0 -2
  14. data/spec/integration/build-swift/after/Example/Example.xcodeproj.yaml +168 -0
  15. data/spec/integration/build-swift/after/Example/Example/AppDelegate.h +15 -0
  16. data/spec/integration/build-swift/after/Example/Example/AppDelegate.m +49 -0
  17. data/spec/integration/build-swift/after/Example/Example/Example-Info.plist +38 -0
  18. data/spec/integration/build-swift/after/Example/Example/Example-Prefix.pch +16 -0
  19. data/spec/integration/build-swift/after/Example/Example/Icons.bundle/tab_bar/tabbar_list.png +0 -0
  20. data/spec/integration/build-swift/after/Example/Example/Icons.bundle/tab_bar/tabbar_list@2x.png +0 -0
  21. data/spec/integration/build-swift/after/Example/Example/Icons.bundle/tab_bar/tabbar_map.png +0 -0
  22. data/spec/integration/build-swift/after/Example/Example/Icons.bundle/tab_bar/tabbar_map@2x.png +0 -0
  23. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/AppIcon.appiconset/Contents.json +28 -0
  24. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/Cats/GrumpyCat.imageset/Contents.json +23 -0
  25. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/Cats/GrumpyCat.imageset/GrumpyCat.jpg +0 -0
  26. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/Cats/GrumpyCat.imageset/GrumpyCat@2x.jpg +0 -0
  27. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/Cats/GrumpyCat.imageset/GrumpyCat@3x.jpg +0 -0
  28. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/Doge.imageset/Contents.json +22 -0
  29. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/Doge.imageset/doge.png +0 -0
  30. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/Doge.imageset/doge@2x.png +0 -0
  31. data/spec/integration/build-swift/after/Example/Example/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
  32. data/spec/integration/build-swift/after/Example/Example/Images/doge.jpeg +0 -0
  33. data/spec/integration/build-swift/after/Example/Example/Images/nyanCat.png +0 -0
  34. data/spec/integration/build-swift/after/Example/Example/de.lproj/Localizable.strings +12 -0
  35. data/spec/integration/build-swift/after/Example/Example/en.lproj/InfoPlist.strings +2 -0
  36. data/spec/integration/build-swift/after/Example/Example/en.lproj/Localizable.strings +15 -0
  37. data/spec/integration/build-swift/after/Example/Example/main.m +18 -0
  38. data/spec/integration/build-swift/after/R.swift +47 -0
  39. data/spec/integration/build-swift/after/execution_output.txt +19 -0
  40. data/spec/integration/build-swift/before/Example/Example.xcodeproj/project.pbxproj +453 -0
  41. data/spec/integration/build-swift/before/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  42. data/spec/integration/build-swift/before/Example/Example/AppDelegate.h +15 -0
  43. data/spec/integration/build-swift/before/Example/Example/AppDelegate.m +49 -0
  44. data/spec/integration/build-swift/before/Example/Example/Example-Info.plist +38 -0
  45. data/spec/integration/build-swift/before/Example/Example/Example-Prefix.pch +16 -0
  46. data/spec/integration/build-swift/before/Example/Example/Icons.bundle/tab_bar/tabbar_list.png +0 -0
  47. data/spec/integration/build-swift/before/Example/Example/Icons.bundle/tab_bar/tabbar_list@2x.png +0 -0
  48. data/spec/integration/build-swift/before/Example/Example/Icons.bundle/tab_bar/tabbar_map.png +0 -0
  49. data/spec/integration/build-swift/before/Example/Example/Icons.bundle/tab_bar/tabbar_map@2x.png +0 -0
  50. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/AppIcon.appiconset/Contents.json +28 -0
  51. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/Cats/GrumpyCat.imageset/Contents.json +23 -0
  52. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/Cats/GrumpyCat.imageset/GrumpyCat.jpg +0 -0
  53. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/Cats/GrumpyCat.imageset/GrumpyCat@2x.jpg +0 -0
  54. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/Cats/GrumpyCat.imageset/GrumpyCat@3x.jpg +0 -0
  55. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/Doge.imageset/Contents.json +22 -0
  56. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/Doge.imageset/doge.png +0 -0
  57. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/Doge.imageset/doge@2x.png +0 -0
  58. data/spec/integration/build-swift/before/Example/Example/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
  59. data/spec/integration/build-swift/before/Example/Example/Images/doge.jpeg +0 -0
  60. data/spec/integration/build-swift/before/Example/Example/Images/nyanCat.png +0 -0
  61. data/spec/integration/build-swift/before/Example/Example/de.lproj/Localizable.strings +12 -0
  62. data/spec/integration/build-swift/before/Example/Example/en.lproj/InfoPlist.strings +2 -0
  63. data/spec/integration/build-swift/before/Example/Example/en.lproj/Localizable.strings +15 -0
  64. data/spec/integration/build-swift/before/Example/Example/main.m +18 -0
  65. data/spec/integration/build-var-infoplist/after/R.h +1 -1
  66. data/spec/integration/build/after/R.h +1 -1
  67. data/spec/integration/install-again/after/Example/Example.xcodeproj.yaml +1 -1
  68. data/spec/integration/install-again/after/Example/Example/Resources/R.h +1 -3
  69. data/spec/integration/install-again/after/Example/Example/Resources/R.m +0 -2
  70. data/spec/integration/install-again/after/execution_output.txt +0 -1
  71. data/spec/integration/install-again/before/Example/Example/Resources/R.h +1 -1
  72. data/spec/integration/install-again/before/Example/Example/Resources/R.m +0 -2
  73. data/spec/integration/install-moved-supporting-files/after/Example/Example.xcodeproj.yaml +1 -1
  74. data/spec/integration/install-moved-supporting-files/after/Example/Supporting_Files/Resources/R.h +1 -3
  75. data/spec/integration/install-moved-supporting-files/after/Example/Supporting_Files/Resources/R.m +0 -2
  76. data/spec/integration/install-no-supporting-files/after/Example/Example.xcodeproj.yaml +1 -1
  77. data/spec/integration/install-no-supporting-files/after/Example/Resources/R.h +1 -3
  78. data/spec/integration/install-no-supporting-files/after/Example/Resources/R.m +0 -2
  79. data/spec/integration/install-swift/after/Example/Example.xcodeproj.yaml +171 -0
  80. data/spec/integration/install-swift/after/Example/Example.xcodeproj/project.pbxproj +898 -0
  81. data/spec/integration/install-swift/after/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  82. data/spec/integration/install-swift/after/Example/Example/AppDelegate.h +15 -0
  83. data/spec/integration/install-swift/after/Example/Example/AppDelegate.m +49 -0
  84. data/spec/integration/install-swift/after/Example/Example/Example-Info.plist +38 -0
  85. data/spec/integration/install-swift/after/Example/Example/Example-Prefix.pch +16 -0
  86. data/spec/integration/install-swift/after/Example/Example/Images.xcassets/AppIcon.appiconset/Contents.json +23 -0
  87. data/spec/integration/install-swift/after/Example/Example/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
  88. data/spec/integration/install-swift/after/Example/Example/Resources/R.swift +23 -0
  89. data/spec/integration/install-swift/after/Example/Example/en.lproj/InfoPlist.strings +2 -0
  90. data/spec/integration/install-swift/after/Example/Example/main.m +18 -0
  91. data/spec/integration/install-swift/after/execution_output.txt +22 -0
  92. data/spec/integration/install-swift/before/Example/Example.xcodeproj/project.pbxproj +421 -0
  93. data/spec/integration/install-swift/before/Example/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  94. data/spec/integration/install-swift/before/Example/Example/AppDelegate.h +15 -0
  95. data/spec/integration/install-swift/before/Example/Example/AppDelegate.m +49 -0
  96. data/spec/integration/install-swift/before/Example/Example/Example-Info.plist +38 -0
  97. data/spec/integration/install-swift/before/Example/Example/Example-Prefix.pch +16 -0
  98. data/spec/integration/install-swift/before/Example/Example/Images.xcassets/AppIcon.appiconset/Contents.json +23 -0
  99. data/spec/integration/install-swift/before/Example/Example/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
  100. data/spec/integration/install-swift/before/Example/Example/en.lproj/InfoPlist.strings +2 -0
  101. data/spec/integration/install-swift/before/Example/Example/main.m +18 -0
  102. data/spec/integration/install/after/Example/Example.xcodeproj.yaml +1 -1
  103. data/spec/integration/install/after/Example/Example/Resources/R.h +1 -3
  104. data/spec/integration/install/after/Example/Example/Resources/R.m +0 -2
  105. data/spec/integration/version/after/execution_output.txt +1 -1
  106. data/spec/unit/analyzer/strings_analyzer_spec.rb +1 -0
  107. data/spec/unit/builder/resources_builder_spec.rb +43 -4
  108. data/xcres.gemspec +0 -1
  109. metadata +151 -17
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:Example.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,15 @@
1
+ //
2
+ // AppDelegate.h
3
+ // Example
4
+ //
5
+ // Created by Marius Rackwitz on 01.05.14.
6
+ // Copyright (c) 2014 XCRes. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface AppDelegate : UIResponder <UIApplicationDelegate>
12
+
13
+ @property (strong, nonatomic) UIWindow *window;
14
+
15
+ @end
@@ -0,0 +1,49 @@
1
+ //
2
+ // AppDelegate.m
3
+ // Example
4
+ //
5
+ // Created by Marius Rackwitz on 01.05.14.
6
+ // Copyright (c) 2014 XCRes. All rights reserved.
7
+ //
8
+
9
+ #import "AppDelegate.h"
10
+
11
+ @implementation AppDelegate
12
+
13
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
14
+ {
15
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
16
+ // Override point for customization after application launch.
17
+ self.window.backgroundColor = [UIColor whiteColor];
18
+ [self.window makeKeyAndVisible];
19
+ return YES;
20
+ }
21
+
22
+ - (void)applicationWillResignActive:(UIApplication *)application
23
+ {
24
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
25
+ // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
26
+ }
27
+
28
+ - (void)applicationDidEnterBackground:(UIApplication *)application
29
+ {
30
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
31
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
32
+ }
33
+
34
+ - (void)applicationWillEnterForeground:(UIApplication *)application
35
+ {
36
+ // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
37
+ }
38
+
39
+ - (void)applicationDidBecomeActive:(UIApplication *)application
40
+ {
41
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
42
+ }
43
+
44
+ - (void)applicationWillTerminate:(UIApplication *)application
45
+ {
46
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
47
+ }
48
+
49
+ @end
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>${PRODUCT_NAME}</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>${EXECUTABLE_NAME}</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>io.github.xcres.${PRODUCT_NAME:rfc1034identifier}</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>${PRODUCT_NAME}</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>1.0</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>UIRequiredDeviceCapabilities</key>
28
+ <array>
29
+ <string>armv7</string>
30
+ </array>
31
+ <key>UISupportedInterfaceOrientations</key>
32
+ <array>
33
+ <string>UIInterfaceOrientationPortrait</string>
34
+ <string>UIInterfaceOrientationLandscapeLeft</string>
35
+ <string>UIInterfaceOrientationLandscapeRight</string>
36
+ </array>
37
+ </dict>
38
+ </plist>
@@ -0,0 +1,16 @@
1
+ //
2
+ // Prefix header
3
+ //
4
+ // The contents of this file are implicitly included at the beginning of every source file.
5
+ //
6
+
7
+ #import <Availability.h>
8
+
9
+ #ifndef __IPHONE_3_0
10
+ #warning "This project uses features only available in iOS SDK 3.0 and later."
11
+ #endif
12
+
13
+ #ifdef __OBJC__
14
+ #import <UIKit/UIKit.h>
15
+ #import <Foundation/Foundation.h>
16
+ #endif
@@ -0,0 +1,23 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "iphone",
5
+ "size" : "29x29",
6
+ "scale" : "2x"
7
+ },
8
+ {
9
+ "idiom" : "iphone",
10
+ "size" : "40x40",
11
+ "scale" : "2x"
12
+ },
13
+ {
14
+ "idiom" : "iphone",
15
+ "size" : "60x60",
16
+ "scale" : "2x"
17
+ }
18
+ ],
19
+ "info" : {
20
+ "version" : 1,
21
+ "author" : "xcode"
22
+ }
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "orientation" : "portrait",
5
+ "idiom" : "iphone",
6
+ "extent" : "full-screen",
7
+ "minimum-system-version" : "7.0",
8
+ "scale" : "2x"
9
+ },
10
+ {
11
+ "orientation" : "portrait",
12
+ "idiom" : "iphone",
13
+ "subtype" : "retina4",
14
+ "extent" : "full-screen",
15
+ "minimum-system-version" : "7.0",
16
+ "scale" : "2x"
17
+ }
18
+ ],
19
+ "info" : {
20
+ "version" : 1,
21
+ "author" : "xcode"
22
+ }
23
+ }
@@ -0,0 +1,23 @@
1
+ // generated by xcres
2
+ //
3
+ // DO NOT EDIT. This file is machine-generated and constantly overwritten.
4
+ // See https://github.com/mrackwitz/xcres for more info.
5
+ //
6
+
7
+ public class R {
8
+ public enum ImagesAssets: String {
9
+ /// AppIcon
10
+ case app = "AppIcon"
11
+ /// LaunchImage
12
+ case launch = "LaunchImage"
13
+ }
14
+ }
15
+
16
+ public extension R.Strings {
17
+ public var localizedValue: String {
18
+ return NSLocalizedString(self.rawValue,
19
+ bundle: NSBundle(forClass: R.self),
20
+ comment: "")
21
+ }
22
+ }
23
+
@@ -0,0 +1,2 @@
1
+ /* Localized versions of Info.plist keys */
2
+
@@ -0,0 +1,18 @@
1
+ //
2
+ // main.m
3
+ // Example
4
+ //
5
+ // Created by Marius Rackwitz on 01.05.14.
6
+ // Copyright (c) 2014 XCRes. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ #import "AppDelegate.h"
12
+
13
+ int main(int argc, char * argv[])
14
+ {
15
+ @autoreleasepool {
16
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
17
+ }
18
+ }
@@ -0,0 +1,22 @@
1
+ xcres --verbose --no-ansi install --swift Example 2>&1
2
+ Ⓥ Verbose mode is enabled.
3
+ ⚠ Argument XCODEPROJ is a directory. Try to locate the Xcode project in this directory.
4
+ ✓ Use Example/Example.xcodeproj as XCODEPROJ.
5
+ Ⓥ Found target group, will use its path as base output path.
6
+ Execute build first:
7
+ Ⓥ Verbose mode is enabled.
8
+ ✓ Use Example/Example.xcodeproj as XCODEPROJ.
9
+ Ⓥ Found #0 resource bundles in project.
10
+ Ⓥ Found #0 image files in project.
11
+ Ⓥ Found #1 asset catalogs in project.
12
+ Ⓥ Found asset catalog Images.xcassets with #2 image files.
13
+ Ⓥ Add section for ImagesAssets with 2 elements
14
+ Ⓥ Strings files in project: ["en.lproj/InfoPlist.strings"]
15
+ Ⓥ Native development languages: ["en"]
16
+ Ⓥ Used languages for .strings files: ["en"]
17
+ Ⓥ Preferred languages: ["en"]
18
+ Ⓥ Strings files after language selection: ["en.lproj/InfoPlist.strings"]
19
+ Ⓥ Non-ignored .strings files: []
20
+ ✓ Directory did not exist. Will be created.
21
+ ✓ Successfully updated: ROOT/tmp/integration/install-swift/Example/Example/Resources/R.swift
22
+ ✓ Successfully integrated into Example/Example.xcodeproj
@@ -0,0 +1,421 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 71239DA81912BFF70058657F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71239DA71912BFF70058657F /* Foundation.framework */; };
11
+ 71239DAA1912BFF70058657F /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71239DA91912BFF70058657F /* CoreGraphics.framework */; };
12
+ 71239DAC1912BFF70058657F /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71239DAB1912BFF70058657F /* UIKit.framework */; };
13
+ 71239DB21912BFF80058657F /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 71239DB01912BFF70058657F /* InfoPlist.strings */; };
14
+ 71239DB41912BFF80058657F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 71239DB31912BFF80058657F /* main.m */; };
15
+ 71239DB81912BFF80058657F /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 71239DB71912BFF80058657F /* AppDelegate.m */; };
16
+ 71239DBA1912BFF80058657F /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 71239DB91912BFF80058657F /* Images.xcassets */; };
17
+ 71239DC11912BFF80058657F /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71239DC01912BFF80058657F /* XCTest.framework */; };
18
+ 71239DC21912BFF80058657F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71239DA71912BFF70058657F /* Foundation.framework */; };
19
+ 71239DC31912BFF80058657F /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71239DAB1912BFF70058657F /* UIKit.framework */; };
20
+ /* End PBXBuildFile section */
21
+
22
+ /* Begin PBXContainerItemProxy section */
23
+ 71239DC41912BFF80058657F /* PBXContainerItemProxy */ = {
24
+ isa = PBXContainerItemProxy;
25
+ containerPortal = 71239D9C1912BFF70058657F /* Project object */;
26
+ proxyType = 1;
27
+ remoteGlobalIDString = 71239DA31912BFF70058657F;
28
+ remoteInfo = Example;
29
+ };
30
+ /* End PBXContainerItemProxy section */
31
+
32
+ /* Begin PBXFileReference section */
33
+ 71239DA41912BFF70058657F /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
34
+ 71239DA71912BFF70058657F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
35
+ 71239DA91912BFF70058657F /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
36
+ 71239DAB1912BFF70058657F /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
37
+ 71239DAF1912BFF70058657F /* Example-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Example-Info.plist"; sourceTree = "<group>"; };
38
+ 71239DB11912BFF80058657F /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
39
+ 71239DB31912BFF80058657F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
40
+ 71239DB51912BFF80058657F /* Example-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Example-Prefix.pch"; sourceTree = "<group>"; };
41
+ 71239DB61912BFF80058657F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
42
+ 71239DB71912BFF80058657F /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
43
+ 71239DB91912BFF80058657F /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
44
+ 71239DBF1912BFF80058657F /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
45
+ 71239DC01912BFF80058657F /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
46
+ /* End PBXFileReference section */
47
+
48
+ /* Begin PBXFrameworksBuildPhase section */
49
+ 71239DA11912BFF70058657F /* Frameworks */ = {
50
+ isa = PBXFrameworksBuildPhase;
51
+ buildActionMask = 2147483647;
52
+ files = (
53
+ 71239DAA1912BFF70058657F /* CoreGraphics.framework in Frameworks */,
54
+ 71239DAC1912BFF70058657F /* UIKit.framework in Frameworks */,
55
+ 71239DA81912BFF70058657F /* Foundation.framework in Frameworks */,
56
+ );
57
+ runOnlyForDeploymentPostprocessing = 0;
58
+ };
59
+ 71239DBC1912BFF80058657F /* Frameworks */ = {
60
+ isa = PBXFrameworksBuildPhase;
61
+ buildActionMask = 2147483647;
62
+ files = (
63
+ 71239DC11912BFF80058657F /* XCTest.framework in Frameworks */,
64
+ 71239DC31912BFF80058657F /* UIKit.framework in Frameworks */,
65
+ 71239DC21912BFF80058657F /* Foundation.framework in Frameworks */,
66
+ );
67
+ runOnlyForDeploymentPostprocessing = 0;
68
+ };
69
+ /* End PBXFrameworksBuildPhase section */
70
+
71
+ /* Begin PBXGroup section */
72
+ 71239D9B1912BFF70058657F = {
73
+ isa = PBXGroup;
74
+ children = (
75
+ 71239DAD1912BFF70058657F /* Example */,
76
+ 71239DA61912BFF70058657F /* Frameworks */,
77
+ 71239DA51912BFF70058657F /* Products */,
78
+ );
79
+ sourceTree = "<group>";
80
+ };
81
+ 71239DA51912BFF70058657F /* Products */ = {
82
+ isa = PBXGroup;
83
+ children = (
84
+ 71239DA41912BFF70058657F /* Example.app */,
85
+ 71239DBF1912BFF80058657F /* ExampleTests.xctest */,
86
+ );
87
+ name = Products;
88
+ sourceTree = "<group>";
89
+ };
90
+ 71239DA61912BFF70058657F /* Frameworks */ = {
91
+ isa = PBXGroup;
92
+ children = (
93
+ 71239DA71912BFF70058657F /* Foundation.framework */,
94
+ 71239DA91912BFF70058657F /* CoreGraphics.framework */,
95
+ 71239DAB1912BFF70058657F /* UIKit.framework */,
96
+ 71239DC01912BFF80058657F /* XCTest.framework */,
97
+ );
98
+ name = Frameworks;
99
+ sourceTree = "<group>";
100
+ };
101
+ 71239DAD1912BFF70058657F /* Example */ = {
102
+ isa = PBXGroup;
103
+ children = (
104
+ 71239DB61912BFF80058657F /* AppDelegate.h */,
105
+ 71239DB71912BFF80058657F /* AppDelegate.m */,
106
+ 71239DB91912BFF80058657F /* Images.xcassets */,
107
+ 71239DAE1912BFF70058657F /* Supporting Files */,
108
+ );
109
+ path = Example;
110
+ sourceTree = "<group>";
111
+ };
112
+ 71239DAE1912BFF70058657F /* Supporting Files */ = {
113
+ isa = PBXGroup;
114
+ children = (
115
+ 71239DAF1912BFF70058657F /* Example-Info.plist */,
116
+ 71239DB01912BFF70058657F /* InfoPlist.strings */,
117
+ 71239DB31912BFF80058657F /* main.m */,
118
+ 71239DB51912BFF80058657F /* Example-Prefix.pch */,
119
+ );
120
+ name = "Supporting Files";
121
+ sourceTree = "<group>";
122
+ };
123
+ /* End PBXGroup section */
124
+
125
+ /* Begin PBXNativeTarget section */
126
+ 71239DA31912BFF70058657F /* Example */ = {
127
+ isa = PBXNativeTarget;
128
+ buildConfigurationList = 71239DD01912BFF80058657F /* Build configuration list for PBXNativeTarget "Example" */;
129
+ buildPhases = (
130
+ 71239DA01912BFF70058657F /* Sources */,
131
+ 71239DA11912BFF70058657F /* Frameworks */,
132
+ 71239DA21912BFF70058657F /* Resources */,
133
+ );
134
+ buildRules = (
135
+ );
136
+ dependencies = (
137
+ );
138
+ name = Example;
139
+ productName = Example;
140
+ productReference = 71239DA41912BFF70058657F /* Example.app */;
141
+ productType = "com.apple.product-type.application";
142
+ };
143
+ 71239DBE1912BFF80058657F /* ExampleTests */ = {
144
+ isa = PBXNativeTarget;
145
+ buildConfigurationList = 71239DD31912BFF80058657F /* Build configuration list for PBXNativeTarget "ExampleTests" */;
146
+ buildPhases = (
147
+ 71239DBB1912BFF80058657F /* Sources */,
148
+ 71239DBC1912BFF80058657F /* Frameworks */,
149
+ 71239DBD1912BFF80058657F /* Resources */,
150
+ );
151
+ buildRules = (
152
+ );
153
+ dependencies = (
154
+ 71239DC51912BFF80058657F /* PBXTargetDependency */,
155
+ );
156
+ name = ExampleTests;
157
+ productName = ExampleTests;
158
+ productReference = 71239DBF1912BFF80058657F /* ExampleTests.xctest */;
159
+ productType = "com.apple.product-type.bundle.unit-test";
160
+ };
161
+ /* End PBXNativeTarget section */
162
+
163
+ /* Begin PBXProject section */
164
+ 71239D9C1912BFF70058657F /* Project object */ = {
165
+ isa = PBXProject;
166
+ attributes = {
167
+ LastUpgradeCheck = 0510;
168
+ ORGANIZATIONNAME = XCRes;
169
+ TargetAttributes = {
170
+ 71239DBE1912BFF80058657F = {
171
+ TestTargetID = 71239DA31912BFF70058657F;
172
+ };
173
+ };
174
+ };
175
+ buildConfigurationList = 71239D9F1912BFF70058657F /* Build configuration list for PBXProject "Example" */;
176
+ compatibilityVersion = "Xcode 3.2";
177
+ developmentRegion = English;
178
+ hasScannedForEncodings = 0;
179
+ knownRegions = (
180
+ en,
181
+ de,
182
+ );
183
+ mainGroup = 71239D9B1912BFF70058657F;
184
+ productRefGroup = 71239DA51912BFF70058657F /* Products */;
185
+ projectDirPath = "";
186
+ projectRoot = "";
187
+ targets = (
188
+ 71239DA31912BFF70058657F /* Example */,
189
+ 71239DBE1912BFF80058657F /* ExampleTests */,
190
+ );
191
+ };
192
+ /* End PBXProject section */
193
+
194
+ /* Begin PBXResourcesBuildPhase section */
195
+ 71239DA21912BFF70058657F /* Resources */ = {
196
+ isa = PBXResourcesBuildPhase;
197
+ buildActionMask = 2147483647;
198
+ files = (
199
+ 71239DB21912BFF80058657F /* InfoPlist.strings in Resources */,
200
+ 71239DBA1912BFF80058657F /* Images.xcassets in Resources */,
201
+ );
202
+ runOnlyForDeploymentPostprocessing = 0;
203
+ };
204
+ 71239DBD1912BFF80058657F /* Resources */ = {
205
+ isa = PBXResourcesBuildPhase;
206
+ buildActionMask = 2147483647;
207
+ files = (
208
+ );
209
+ runOnlyForDeploymentPostprocessing = 0;
210
+ };
211
+ /* End PBXResourcesBuildPhase section */
212
+
213
+ /* Begin PBXSourcesBuildPhase section */
214
+ 71239DA01912BFF70058657F /* Sources */ = {
215
+ isa = PBXSourcesBuildPhase;
216
+ buildActionMask = 2147483647;
217
+ files = (
218
+ 71239DB81912BFF80058657F /* AppDelegate.m in Sources */,
219
+ 71239DB41912BFF80058657F /* main.m in Sources */,
220
+ );
221
+ runOnlyForDeploymentPostprocessing = 0;
222
+ };
223
+ 71239DBB1912BFF80058657F /* Sources */ = {
224
+ isa = PBXSourcesBuildPhase;
225
+ buildActionMask = 2147483647;
226
+ files = (
227
+ );
228
+ runOnlyForDeploymentPostprocessing = 0;
229
+ };
230
+ /* End PBXSourcesBuildPhase section */
231
+
232
+ /* Begin PBXTargetDependency section */
233
+ 71239DC51912BFF80058657F /* PBXTargetDependency */ = {
234
+ isa = PBXTargetDependency;
235
+ target = 71239DA31912BFF70058657F /* Example */;
236
+ targetProxy = 71239DC41912BFF80058657F /* PBXContainerItemProxy */;
237
+ };
238
+ /* End PBXTargetDependency section */
239
+
240
+ /* Begin PBXVariantGroup section */
241
+ 71239DB01912BFF70058657F /* InfoPlist.strings */ = {
242
+ isa = PBXVariantGroup;
243
+ children = (
244
+ 71239DB11912BFF80058657F /* en */,
245
+ );
246
+ name = InfoPlist.strings;
247
+ sourceTree = "<group>";
248
+ };
249
+ /* End PBXVariantGroup section */
250
+
251
+ /* Begin XCBuildConfiguration section */
252
+ 71239DCE1912BFF80058657F /* Debug */ = {
253
+ isa = XCBuildConfiguration;
254
+ buildSettings = {
255
+ ALWAYS_SEARCH_USER_PATHS = NO;
256
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
257
+ CLANG_CXX_LIBRARY = "libc++";
258
+ CLANG_ENABLE_MODULES = YES;
259
+ CLANG_ENABLE_OBJC_ARC = YES;
260
+ CLANG_WARN_BOOL_CONVERSION = YES;
261
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
262
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
263
+ CLANG_WARN_EMPTY_BODY = YES;
264
+ CLANG_WARN_ENUM_CONVERSION = YES;
265
+ CLANG_WARN_INT_CONVERSION = YES;
266
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
267
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
268
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
269
+ COPY_PHASE_STRIP = NO;
270
+ GCC_C_LANGUAGE_STANDARD = gnu99;
271
+ GCC_DYNAMIC_NO_PIC = NO;
272
+ GCC_OPTIMIZATION_LEVEL = 0;
273
+ GCC_PREPROCESSOR_DEFINITIONS = (
274
+ "DEBUG=1",
275
+ "$(inherited)",
276
+ );
277
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
278
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
279
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
280
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
281
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
282
+ GCC_WARN_UNUSED_FUNCTION = YES;
283
+ GCC_WARN_UNUSED_VARIABLE = YES;
284
+ IPHONEOS_DEPLOYMENT_TARGET = 7.1;
285
+ ONLY_ACTIVE_ARCH = YES;
286
+ SDKROOT = iphoneos;
287
+ };
288
+ name = Debug;
289
+ };
290
+ 71239DCF1912BFF80058657F /* Release */ = {
291
+ isa = XCBuildConfiguration;
292
+ buildSettings = {
293
+ ALWAYS_SEARCH_USER_PATHS = NO;
294
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
295
+ CLANG_CXX_LIBRARY = "libc++";
296
+ CLANG_ENABLE_MODULES = YES;
297
+ CLANG_ENABLE_OBJC_ARC = YES;
298
+ CLANG_WARN_BOOL_CONVERSION = YES;
299
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
300
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
301
+ CLANG_WARN_EMPTY_BODY = YES;
302
+ CLANG_WARN_ENUM_CONVERSION = YES;
303
+ CLANG_WARN_INT_CONVERSION = YES;
304
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
305
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
306
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
307
+ COPY_PHASE_STRIP = YES;
308
+ ENABLE_NS_ASSERTIONS = NO;
309
+ GCC_C_LANGUAGE_STANDARD = gnu99;
310
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
311
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
312
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
313
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
314
+ GCC_WARN_UNUSED_FUNCTION = YES;
315
+ GCC_WARN_UNUSED_VARIABLE = YES;
316
+ IPHONEOS_DEPLOYMENT_TARGET = 7.1;
317
+ SDKROOT = iphoneos;
318
+ VALIDATE_PRODUCT = YES;
319
+ };
320
+ name = Release;
321
+ };
322
+ 71239DD11912BFF80058657F /* Debug */ = {
323
+ isa = XCBuildConfiguration;
324
+ buildSettings = {
325
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
326
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
327
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
328
+ GCC_PREFIX_HEADER = "Example/Example-Prefix.pch";
329
+ INFOPLIST_FILE = "Example/Example-Info.plist";
330
+ PRODUCT_NAME = "$(TARGET_NAME)";
331
+ WRAPPER_EXTENSION = app;
332
+ };
333
+ name = Debug;
334
+ };
335
+ 71239DD21912BFF80058657F /* Release */ = {
336
+ isa = XCBuildConfiguration;
337
+ buildSettings = {
338
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
339
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
340
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
341
+ GCC_PREFIX_HEADER = "Example/Example-Prefix.pch";
342
+ INFOPLIST_FILE = "Example/Example-Info.plist";
343
+ PRODUCT_NAME = "$(TARGET_NAME)";
344
+ WRAPPER_EXTENSION = app;
345
+ };
346
+ name = Release;
347
+ };
348
+ 71239DD41912BFF80058657F /* Debug */ = {
349
+ isa = XCBuildConfiguration;
350
+ buildSettings = {
351
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Example.app/Example";
352
+ FRAMEWORK_SEARCH_PATHS = (
353
+ "$(SDKROOT)/Developer/Library/Frameworks",
354
+ "$(inherited)",
355
+ "$(DEVELOPER_FRAMEWORKS_DIR)",
356
+ );
357
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
358
+ GCC_PREFIX_HEADER = "Example/Example-Prefix.pch";
359
+ GCC_PREPROCESSOR_DEFINITIONS = (
360
+ "DEBUG=1",
361
+ "$(inherited)",
362
+ );
363
+ INFOPLIST_FILE = "ExampleTests/ExampleTests-Info.plist";
364
+ PRODUCT_NAME = "$(TARGET_NAME)";
365
+ TEST_HOST = "$(BUNDLE_LOADER)";
366
+ WRAPPER_EXTENSION = xctest;
367
+ };
368
+ name = Debug;
369
+ };
370
+ 71239DD51912BFF80058657F /* Release */ = {
371
+ isa = XCBuildConfiguration;
372
+ buildSettings = {
373
+ BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/Example.app/Example";
374
+ FRAMEWORK_SEARCH_PATHS = (
375
+ "$(SDKROOT)/Developer/Library/Frameworks",
376
+ "$(inherited)",
377
+ "$(DEVELOPER_FRAMEWORKS_DIR)",
378
+ );
379
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
380
+ GCC_PREFIX_HEADER = "Example/Example-Prefix.pch";
381
+ INFOPLIST_FILE = "ExampleTests/ExampleTests-Info.plist";
382
+ PRODUCT_NAME = "$(TARGET_NAME)";
383
+ TEST_HOST = "$(BUNDLE_LOADER)";
384
+ WRAPPER_EXTENSION = xctest;
385
+ };
386
+ name = Release;
387
+ };
388
+ /* End XCBuildConfiguration section */
389
+
390
+ /* Begin XCConfigurationList section */
391
+ 71239D9F1912BFF70058657F /* Build configuration list for PBXProject "Example" */ = {
392
+ isa = XCConfigurationList;
393
+ buildConfigurations = (
394
+ 71239DCE1912BFF80058657F /* Debug */,
395
+ 71239DCF1912BFF80058657F /* Release */,
396
+ );
397
+ defaultConfigurationIsVisible = 0;
398
+ defaultConfigurationName = Release;
399
+ };
400
+ 71239DD01912BFF80058657F /* Build configuration list for PBXNativeTarget "Example" */ = {
401
+ isa = XCConfigurationList;
402
+ buildConfigurations = (
403
+ 71239DD11912BFF80058657F /* Debug */,
404
+ 71239DD21912BFF80058657F /* Release */,
405
+ );
406
+ defaultConfigurationIsVisible = 0;
407
+ defaultConfigurationName = Release;
408
+ };
409
+ 71239DD31912BFF80058657F /* Build configuration list for PBXNativeTarget "ExampleTests" */ = {
410
+ isa = XCConfigurationList;
411
+ buildConfigurations = (
412
+ 71239DD41912BFF80058657F /* Debug */,
413
+ 71239DD51912BFF80058657F /* Release */,
414
+ );
415
+ defaultConfigurationIsVisible = 0;
416
+ defaultConfigurationName = Release;
417
+ };
418
+ /* End XCConfigurationList section */
419
+ };
420
+ rootObject = 71239D9C1912BFF70058657F /* Project object */;
421
+ }