xcodeproject 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. data/.gitignore +32 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +22 -0
  4. data/README.md +14 -0
  5. data/lib/xcodeproject/build_phase_node.rb +87 -0
  6. data/lib/xcodeproject/data.rb +87 -0
  7. data/lib/xcodeproject/exceptions.rb +5 -0
  8. data/lib/xcodeproject/extend/array.rb +8 -0
  9. data/lib/xcodeproject/extend/hash.rb +11 -0
  10. data/lib/xcodeproject/extend/string.rb +7 -0
  11. data/lib/xcodeproject/file_node.rb +63 -0
  12. data/lib/xcodeproject/formatter.rb +23 -0
  13. data/lib/xcodeproject/node.rb +15 -0
  14. data/lib/xcodeproject/pbx_build_file.rb +37 -0
  15. data/lib/xcodeproject/pbx_file_reference.rb +53 -0
  16. data/lib/xcodeproject/pbx_group.rb +169 -0
  17. data/lib/xcodeproject/pbx_native_target.rb +70 -0
  18. data/lib/xcodeproject/pbx_project.rb +33 -0
  19. data/lib/xcodeproject/project.rb +70 -0
  20. data/lib/xcodeproject/resources/example/dir1a/dir2a/dir3a/dir4a/file5a-a.h +1 -0
  21. data/lib/xcodeproject/resources/example/dir1a/dir2a/dir3a/dir4a/file5a-a.m +1 -0
  22. data/lib/xcodeproject/resources/example/dir1a/dir2a/dir3a/dir4a/file5a-r.h +1 -0
  23. data/lib/xcodeproject/resources/example/dir1a/dir2a/dir3a/dir4a/file5a-r.m +1 -0
  24. data/lib/xcodeproject/resources/example/dir1b/dir2b/file3b.m +0 -0
  25. data/lib/xcodeproject/resources/example/dir1b/file2b.m +0 -0
  26. data/lib/xcodeproject/resources/example/dir1c/file2c.h +0 -0
  27. data/lib/xcodeproject/resources/example/dir1c/file2c.m +0 -0
  28. data/lib/xcodeproject/resources/example/example/AppDelegate.h +15 -0
  29. data/lib/xcodeproject/resources/example/example/AppDelegate.m +57 -0
  30. data/lib/xcodeproject/resources/example/example/en.lproj/InfoPlist.strings +2 -0
  31. data/lib/xcodeproject/resources/example/example/example-Info.plist +45 -0
  32. data/lib/xcodeproject/resources/example/example/example-Prefix.pch +14 -0
  33. data/lib/xcodeproject/resources/example/example/main.m +18 -0
  34. data/lib/xcodeproject/resources/example/example.xcodeproj/project.pbxproj +324 -0
  35. data/lib/xcodeproject/root_node.rb +117 -0
  36. data/lib/xcodeproject/spec/build_phase_node_spec.rb +95 -0
  37. data/lib/xcodeproject/spec/file_node_spec.rb +83 -0
  38. data/lib/xcodeproject/spec/pbx_build_file_spec.rb +25 -0
  39. data/lib/xcodeproject/spec/pbx_file_reference_spec.rb +34 -0
  40. data/lib/xcodeproject/spec/pbx_group_spec.rb +274 -0
  41. data/lib/xcodeproject/spec/pbx_native_target_spec.rb +58 -0
  42. data/lib/xcodeproject/spec/pbx_project_spec.rb +34 -0
  43. data/lib/xcodeproject/spec/project_spec.rb +79 -0
  44. data/lib/xcodeproject/spec/spec_helper.rb +45 -0
  45. data/lib/xcodeproject/spec/xc_configuration_list_spec.rb +20 -0
  46. data/lib/xcodeproject/uuid_generator.rb +13 -0
  47. data/lib/xcodeproject/version.rb +3 -0
  48. data/lib/xcodeproject/xc_build_configuration.rb +15 -0
  49. data/lib/xcodeproject/xc_configuration_list.rb +23 -0
  50. data/lib/xcodeproject.rb +3 -0
  51. data/rakefile +3 -0
  52. data/xcodeproject.gemspec +26 -0
  53. metadata +166 -0
@@ -0,0 +1,70 @@
1
+ require 'xcodeproject/xc_configuration_list'
2
+ require 'xcodeproject/build_phase_node'
3
+
4
+ module XCodeProject
5
+ class PBXNativeTarget < Node
6
+ attr_reader :name
7
+ attr_reader :product_name
8
+ attr_reader :product_reference
9
+ attr_reader :product_type
10
+ attr_reader :dependencies
11
+
12
+ def initialize (root, uuid, data)
13
+ super(root, uuid, data)
14
+
15
+ @name = data['name']
16
+ @product_name = data['productName']
17
+ @product_reference = data['productReference']
18
+ @product_type = data['productType']
19
+ @dependencies = data['dependencies']
20
+ end
21
+
22
+ def sources
23
+ sources_build_phase.files
24
+ end
25
+
26
+ def add_source (file)
27
+ sources_build_phase.add_file(file)
28
+ end
29
+
30
+ def remove_source (file)
31
+ sources_build_phase.remove_file(file)
32
+ end
33
+
34
+ def configs
35
+ build_configurations_list.build_configurations
36
+ end
37
+
38
+ def config (name)
39
+ build_configurations_list.build_configuration(name)
40
+ end
41
+
42
+ def build_configurations_list
43
+ root.object!(data['buildConfigurationList'])
44
+ end
45
+
46
+ def build_phases
47
+ data['buildPhases'].map {|uuid| root.object!(uuid) }
48
+ end
49
+
50
+ def sources_build_phase
51
+ build_phases.select {|obj| obj.is_a?(PBXSourcesBuildPhase) }.first
52
+ end
53
+
54
+ def headers_build_phase
55
+ build_phases.select {|obj| obj.is_a?(PBXHeadersBuildPhase) }.first
56
+ end
57
+
58
+ def resources_build_phase
59
+ build_phases.select {|obj| obj.is_a?(PBXResourcesBuildPhase) }.first
60
+ end
61
+
62
+ def frameworks_build_phase
63
+ build_phases.select {|obj| obj.is_a?(PBXFrameworksBuildPhase) }.first
64
+ end
65
+
66
+ def doctor
67
+ build_phases.each {|phase| phase.doctor }
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,33 @@
1
+ require 'xcodeproject/node'
2
+
3
+ module XCodeProject
4
+ class PBXProject < Node
5
+ attr_reader :main_group
6
+ attr_reader :product_ref_group
7
+ attr_reader :project_dir_path
8
+ attr_reader :compatibility_version
9
+ attr_reader :development_region
10
+ attr_reader :know_regions
11
+ attr_reader :attributes
12
+
13
+ def initialize (root, uuid, data)
14
+ super(root, uuid, data)
15
+
16
+ @main_group = root.object!(data['mainGroup'])
17
+ @product_ref_group = root.object!(data['productRefGroup'])
18
+ @project_dir_path = data['projectDirPath']
19
+ @compatibility_version = data['compatibilityVersion']
20
+ @development_region = data['developmentRegion']
21
+ @know_regions = data['knownRegions']
22
+ @attributes = data['attributes']
23
+ end
24
+
25
+ def targets
26
+ data['targets'].map {|uuid| root.object!(uuid)}
27
+ end
28
+
29
+ def target (name)
30
+ root.find_object('PBXNativeTarget', {'name' => name})
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,70 @@
1
+ #--
2
+ # Copyright 2012 by Andrey Nesterov (ae.nesterov@gmail.com)
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to
6
+ # deal in the Software without restriction, including without limitation the
7
+ # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8
+ # sell copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in
12
+ # all copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
+ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20
+ # IN THE SOFTWARE.
21
+ #++
22
+
23
+ require 'xcodeproject/data'
24
+ require 'pathname'
25
+ require 'find'
26
+
27
+ module XCodeProject
28
+ class Project
29
+ attr_reader :bundle_path
30
+ attr_reader :file_path
31
+ attr_reader :name
32
+
33
+ def self.find_projs (path)
34
+ projs = []
35
+ Find.find path do |path|
36
+ projs.push(Project.new(path)) if path =~ /\A.*\.xcodeproj\z/
37
+ end
38
+ projs
39
+ end
40
+
41
+ def initialize (path)
42
+ path = Pathname.new(path)
43
+ raise FilePathError.new("No such project file '#{path}'.") unless path.exist?
44
+
45
+ @bundle_path = path
46
+ @file_path = bundle_path.join('project.pbxproj')
47
+ @name = bundle_path.basename('.*').to_s
48
+ end
49
+
50
+ def change
51
+ data = read
52
+ yield data
53
+ write data
54
+ end
55
+
56
+ def read
57
+ Data.new(JSON.parse(`plutil -convert json -o - "#{file_path}"`), bundle_path.dirname)
58
+ end
59
+
60
+ def write (data)
61
+ File.open(file_path, "w") do |file|
62
+ file.write(data.to_plist)
63
+ end
64
+ end
65
+
66
+ def doctor
67
+ change {|data| data.doctor }
68
+ end
69
+ end
70
+ end
File without changes
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+ //
2
+ // AppDelegate.h
3
+ // example
4
+ //
5
+ // Created by Andrey Nesterov on 02.06.12.
6
+ // Copyright (c) 2012 __MyCompanyName__. 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,57 @@
1
+ //
2
+ // AppDelegate.m
3
+ // example
4
+ //
5
+ // Created by Andrey Nesterov on 02.06.12.
6
+ // Copyright (c) 2012 __MyCompanyName__. All rights reserved.
7
+ //
8
+
9
+ #import "AppDelegate.h"
10
+
11
+ @implementation AppDelegate
12
+
13
+ @synthesize window = _window;
14
+
15
+ - (void)dealloc
16
+ {
17
+ [_window release];
18
+ [super dealloc];
19
+ }
20
+
21
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
22
+ {
23
+ self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
24
+ // Override point for customization after application launch.
25
+ self.window.backgroundColor = [UIColor whiteColor];
26
+ [self.window makeKeyAndVisible];
27
+ return YES;
28
+ }
29
+
30
+ - (void)applicationWillResignActive:(UIApplication *)application
31
+ {
32
+ // 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.
33
+ // 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.
34
+ }
35
+
36
+ - (void)applicationDidEnterBackground:(UIApplication *)application
37
+ {
38
+ // 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.
39
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
40
+ }
41
+
42
+ - (void)applicationWillEnterForeground:(UIApplication *)application
43
+ {
44
+ // 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.
45
+ }
46
+
47
+ - (void)applicationDidBecomeActive:(UIApplication *)application
48
+ {
49
+ // 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.
50
+ }
51
+
52
+ - (void)applicationWillTerminate:(UIApplication *)application
53
+ {
54
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
55
+ }
56
+
57
+ @end
@@ -0,0 +1,2 @@
1
+ /* Localized versions of Info.plist keys */
2
+
@@ -0,0 +1,45 @@
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>org.yanot.${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
+ <key>UISupportedInterfaceOrientations~ipad</key>
38
+ <array>
39
+ <string>UIInterfaceOrientationPortrait</string>
40
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
41
+ <string>UIInterfaceOrientationLandscapeLeft</string>
42
+ <string>UIInterfaceOrientationLandscapeRight</string>
43
+ </array>
44
+ </dict>
45
+ </plist>
@@ -0,0 +1,14 @@
1
+ //
2
+ // Prefix header for all source files of the 'example' target in the 'example' project
3
+ //
4
+
5
+ #import <Availability.h>
6
+
7
+ #ifndef __IPHONE_3_0
8
+ #warning "This project uses features only available in iOS SDK 3.0 and later."
9
+ #endif
10
+
11
+ #ifdef __OBJC__
12
+ #import <UIKit/UIKit.h>
13
+ #import <Foundation/Foundation.h>
14
+ #endif
@@ -0,0 +1,18 @@
1
+ //
2
+ // main.m
3
+ // example
4
+ //
5
+ // Created by Andrey Nesterov on 02.06.12.
6
+ // Copyright (c) 2012 __MyCompanyName__. 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,324 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 78BBAAF4157A984700D8AC61 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 78BBAAF3157A984700D8AC61 /* UIKit.framework */; };
11
+ 78BBAAF6157A984700D8AC61 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 78BBAAF5157A984700D8AC61 /* Foundation.framework */; };
12
+ 78BBAAF8157A984700D8AC61 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 78BBAAF7157A984700D8AC61 /* CoreGraphics.framework */; };
13
+ 78BBAAFE157A984700D8AC61 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 78BBAAFC157A984700D8AC61 /* InfoPlist.strings */; };
14
+ 78BBAB00157A984700D8AC61 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 78BBAAFF157A984700D8AC61 /* main.m */; };
15
+ 78BBAB04157A984700D8AC61 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 78BBAB03157A984700D8AC61 /* AppDelegate.m */; };
16
+ 78BBAB16157A997800D8AC61 /* file2c.m in Sources */ = {isa = PBXBuildFile; fileRef = 78BBAB14157A997800D8AC61 /* file2c.m */; };
17
+ 78C3658C1584A4ED004077AB /* file5a-a.m in Sources */ = {isa = PBXBuildFile; fileRef = 78C3658B1584A4ED004077AB /* file5a-a.m */; };
18
+ 78C3658F1584A50A004077AB /* file5a-r.m in Sources */ = {isa = PBXBuildFile; fileRef = 78C3658E1584A50A004077AB /* file5a-r.m */; };
19
+ /* End PBXBuildFile section */
20
+
21
+ /* Begin PBXFileReference section */
22
+ 7891BAE01580EF8B0043E606 /* file2c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = file2c.h; path = dir1c/file2c.h; sourceTree = "<group>"; };
23
+ 78BBAAEF157A984700D8AC61 /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
24
+ 78BBAAF3157A984700D8AC61 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
25
+ 78BBAAF5157A984700D8AC61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
26
+ 78BBAAF7157A984700D8AC61 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
27
+ 78BBAAFB157A984700D8AC61 /* example-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "example-Info.plist"; sourceTree = "<group>"; };
28
+ 78BBAAFD157A984700D8AC61 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
29
+ 78BBAAFF157A984700D8AC61 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
30
+ 78BBAB01157A984700D8AC61 /* example-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "example-Prefix.pch"; sourceTree = "<group>"; };
31
+ 78BBAB02157A984700D8AC61 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
32
+ 78BBAB03157A984700D8AC61 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
33
+ 78BBAB14157A997800D8AC61 /* file2c.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = file2c.m; path = dir1c/file2c.m; sourceTree = "<group>"; };
34
+ 78C365891584A4E6004077AB /* file5a-a.h */ = {isa = PBXFileReference; fileEncoding = 4; name = "file5a-a.h"; path = "dir1a/dir2a/dir3a/dir4a/file5a-a.h"; sourceTree = SOURCE_ROOT; };
35
+ 78C3658B1584A4ED004077AB /* file5a-a.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "file5a-a.m"; path = "dir1a/dir2a/dir3a/dir4a/file5a-a.m"; sourceTree = SOURCE_ROOT; };
36
+ 78C3658D1584A4FC004077AB /* file5a-r.h */ = {isa = PBXFileReference; fileEncoding = 4; path = "file5a-r.h"; sourceTree = "<group>"; };
37
+ 78C3658E1584A50A004077AB /* file5a-r.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "file5a-r.m"; sourceTree = "<group>"; };
38
+ /* End PBXFileReference section */
39
+
40
+ /* Begin PBXFrameworksBuildPhase section */
41
+ 78BBAAEC157A984700D8AC61 /* Frameworks */ = {
42
+ isa = PBXFrameworksBuildPhase;
43
+ buildActionMask = 2147483647;
44
+ files = (
45
+ 78BBAAF4157A984700D8AC61 /* UIKit.framework in Frameworks */,
46
+ 78BBAAF6157A984700D8AC61 /* Foundation.framework in Frameworks */,
47
+ 78BBAAF8157A984700D8AC61 /* CoreGraphics.framework in Frameworks */,
48
+ );
49
+ runOnlyForDeploymentPostprocessing = 0;
50
+ };
51
+ /* End PBXFrameworksBuildPhase section */
52
+
53
+ /* Begin PBXGroup section */
54
+ 78BBAAE4157A984700D8AC61 = {
55
+ isa = PBXGroup;
56
+ children = (
57
+ 78BBAB0A157A984B00D8AC61 /* group1a */,
58
+ 78BBAAF9157A984700D8AC61 /* example */,
59
+ 78BBAAF2157A984700D8AC61 /* Frameworks */,
60
+ 78BBAAF0157A984700D8AC61 /* Products */,
61
+ );
62
+ sourceTree = "<group>";
63
+ };
64
+ 78BBAAF0157A984700D8AC61 /* Products */ = {
65
+ isa = PBXGroup;
66
+ children = (
67
+ 78BBAAEF157A984700D8AC61 /* example.app */,
68
+ );
69
+ name = Products;
70
+ sourceTree = "<group>";
71
+ };
72
+ 78BBAAF2157A984700D8AC61 /* Frameworks */ = {
73
+ isa = PBXGroup;
74
+ children = (
75
+ 78BBAAF3157A984700D8AC61 /* UIKit.framework */,
76
+ 78BBAAF5157A984700D8AC61 /* Foundation.framework */,
77
+ 78BBAAF7157A984700D8AC61 /* CoreGraphics.framework */,
78
+ );
79
+ name = Frameworks;
80
+ sourceTree = "<group>";
81
+ };
82
+ 78BBAAF9157A984700D8AC61 /* example */ = {
83
+ isa = PBXGroup;
84
+ children = (
85
+ 78BBAB02157A984700D8AC61 /* AppDelegate.h */,
86
+ 78BBAB03157A984700D8AC61 /* AppDelegate.m */,
87
+ 78BBAAFA157A984700D8AC61 /* Supporting Files */,
88
+ );
89
+ path = example;
90
+ sourceTree = "<group>";
91
+ };
92
+ 78BBAAFA157A984700D8AC61 /* Supporting Files */ = {
93
+ isa = PBXGroup;
94
+ children = (
95
+ 78BBAAFB157A984700D8AC61 /* example-Info.plist */,
96
+ 78BBAAFC157A984700D8AC61 /* InfoPlist.strings */,
97
+ 78BBAAFF157A984700D8AC61 /* main.m */,
98
+ 78BBAB01157A984700D8AC61 /* example-Prefix.pch */,
99
+ );
100
+ name = "Supporting Files";
101
+ sourceTree = "<group>";
102
+ };
103
+ 78BBAB0A157A984B00D8AC61 /* group1a */ = {
104
+ isa = PBXGroup;
105
+ children = (
106
+ 78BBAB0B157A985300D8AC61 /* group2a */,
107
+ 78BBAB12157A997800D8AC61 /* dir2c */,
108
+ 78BBAB14157A997800D8AC61 /* file2c.m */,
109
+ 7891BAE01580EF8B0043E606 /* file2c.h */,
110
+ );
111
+ name = group1a;
112
+ sourceTree = "<group>";
113
+ };
114
+ 78BBAB0B157A985300D8AC61 /* group2a */ = {
115
+ isa = PBXGroup;
116
+ children = (
117
+ );
118
+ name = group2a;
119
+ sourceTree = "<group>";
120
+ };
121
+ 78BBAB12157A997800D8AC61 /* dir2c */ = {
122
+ isa = PBXGroup;
123
+ children = (
124
+ 78C365821584A3B4004077AB /* dir3a */,
125
+ );
126
+ name = dir2c;
127
+ path = dir1c/dir2c;
128
+ sourceTree = "<group>";
129
+ };
130
+ 78C365821584A3B4004077AB /* dir3a */ = {
131
+ isa = PBXGroup;
132
+ children = (
133
+ 78C365831584A3B4004077AB /* dir4a */,
134
+ );
135
+ name = dir3a;
136
+ path = dir1a/dir2a/dir3a;
137
+ sourceTree = SOURCE_ROOT;
138
+ };
139
+ 78C365831584A3B4004077AB /* dir4a */ = {
140
+ isa = PBXGroup;
141
+ children = (
142
+ 78C3658B1584A4ED004077AB /* file5a-a.m */,
143
+ 78C365891584A4E6004077AB /* file5a-a.h */,
144
+ 78C3658D1584A4FC004077AB /* file5a-r.h */,
145
+ 78C3658E1584A50A004077AB /* file5a-r.m */,
146
+ );
147
+ path = dir4a;
148
+ sourceTree = "<group>";
149
+ };
150
+ /* End PBXGroup section */
151
+
152
+ /* Begin PBXNativeTarget section */
153
+ 78BBAAEE157A984700D8AC61 /* example */ = {
154
+ isa = PBXNativeTarget;
155
+ buildConfigurationList = 78BBAB07157A984700D8AC61 /* Build configuration list for PBXNativeTarget "example" */;
156
+ buildPhases = (
157
+ 78BBAAEB157A984700D8AC61 /* Sources */,
158
+ 78BBAAEC157A984700D8AC61 /* Frameworks */,
159
+ 78BBAAED157A984700D8AC61 /* Resources */,
160
+ );
161
+ buildRules = (
162
+ );
163
+ dependencies = (
164
+ );
165
+ name = example;
166
+ productName = example;
167
+ productReference = 78BBAAEF157A984700D8AC61 /* example.app */;
168
+ productType = "com.apple.product-type.application";
169
+ };
170
+ /* End PBXNativeTarget section */
171
+
172
+ /* Begin PBXProject section */
173
+ 78BBAAE6157A984700D8AC61 /* Project object */ = {
174
+ isa = PBXProject;
175
+ attributes = {
176
+ LastUpgradeCheck = 0430;
177
+ };
178
+ buildConfigurationList = 78BBAAE9157A984700D8AC61 /* Build configuration list for PBXProject "example" */;
179
+ compatibilityVersion = "Xcode 3.2";
180
+ developmentRegion = English;
181
+ hasScannedForEncodings = 0;
182
+ knownRegions = (
183
+ en,
184
+ );
185
+ mainGroup = 78BBAAE4157A984700D8AC61;
186
+ productRefGroup = 78BBAAF0157A984700D8AC61 /* Products */;
187
+ projectDirPath = "";
188
+ projectRoot = "";
189
+ targets = (
190
+ 78BBAAEE157A984700D8AC61 /* example */,
191
+ );
192
+ };
193
+ /* End PBXProject section */
194
+
195
+ /* Begin PBXResourcesBuildPhase section */
196
+ 78BBAAED157A984700D8AC61 /* Resources */ = {
197
+ isa = PBXResourcesBuildPhase;
198
+ buildActionMask = 2147483647;
199
+ files = (
200
+ 78BBAAFE157A984700D8AC61 /* InfoPlist.strings in Resources */,
201
+ );
202
+ runOnlyForDeploymentPostprocessing = 0;
203
+ };
204
+ /* End PBXResourcesBuildPhase section */
205
+
206
+ /* Begin PBXSourcesBuildPhase section */
207
+ 78BBAAEB157A984700D8AC61 /* Sources */ = {
208
+ isa = PBXSourcesBuildPhase;
209
+ buildActionMask = 2147483647;
210
+ files = (
211
+ 78BBAB00157A984700D8AC61 /* main.m in Sources */,
212
+ 78BBAB04157A984700D8AC61 /* AppDelegate.m in Sources */,
213
+ 78BBAB16157A997800D8AC61 /* file2c.m in Sources */,
214
+ 78C3658C1584A4ED004077AB /* file5a-a.m in Sources */,
215
+ 78C3658F1584A50A004077AB /* file5a-r.m in Sources */,
216
+ );
217
+ runOnlyForDeploymentPostprocessing = 0;
218
+ };
219
+ /* End PBXSourcesBuildPhase section */
220
+
221
+ /* Begin PBXVariantGroup section */
222
+ 78BBAAFC157A984700D8AC61 /* InfoPlist.strings */ = {
223
+ isa = PBXVariantGroup;
224
+ children = (
225
+ 78BBAAFD157A984700D8AC61 /* en */,
226
+ );
227
+ name = InfoPlist.strings;
228
+ sourceTree = "<group>";
229
+ };
230
+ /* End PBXVariantGroup section */
231
+
232
+ /* Begin XCBuildConfiguration section */
233
+ 78BBAB05157A984700D8AC61 /* Debug */ = {
234
+ isa = XCBuildConfiguration;
235
+ buildSettings = {
236
+ ALWAYS_SEARCH_USER_PATHS = NO;
237
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
238
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
239
+ COPY_PHASE_STRIP = NO;
240
+ GCC_C_LANGUAGE_STANDARD = gnu99;
241
+ GCC_DYNAMIC_NO_PIC = NO;
242
+ GCC_OPTIMIZATION_LEVEL = 0;
243
+ GCC_PREPROCESSOR_DEFINITIONS = (
244
+ "DEBUG=1",
245
+ "$(inherited)",
246
+ );
247
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
248
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
249
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
250
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
251
+ GCC_WARN_UNUSED_VARIABLE = YES;
252
+ IPHONEOS_DEPLOYMENT_TARGET = 5.1;
253
+ SDKROOT = iphoneos;
254
+ TARGETED_DEVICE_FAMILY = "1,2";
255
+ };
256
+ name = Debug;
257
+ };
258
+ 78BBAB06157A984700D8AC61 /* Release */ = {
259
+ isa = XCBuildConfiguration;
260
+ buildSettings = {
261
+ ALWAYS_SEARCH_USER_PATHS = NO;
262
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
263
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
264
+ COPY_PHASE_STRIP = YES;
265
+ GCC_C_LANGUAGE_STANDARD = gnu99;
266
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
267
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
268
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
269
+ GCC_WARN_UNUSED_VARIABLE = YES;
270
+ IPHONEOS_DEPLOYMENT_TARGET = 5.1;
271
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
272
+ SDKROOT = iphoneos;
273
+ TARGETED_DEVICE_FAMILY = "1,2";
274
+ VALIDATE_PRODUCT = YES;
275
+ };
276
+ name = Release;
277
+ };
278
+ 78BBAB08157A984700D8AC61 /* Debug */ = {
279
+ isa = XCBuildConfiguration;
280
+ buildSettings = {
281
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
282
+ GCC_PREFIX_HEADER = "example/example-Prefix.pch";
283
+ INFOPLIST_FILE = "example/example-Info.plist";
284
+ PRODUCT_NAME = "$(TARGET_NAME)";
285
+ WRAPPER_EXTENSION = app;
286
+ };
287
+ name = Debug;
288
+ };
289
+ 78BBAB09157A984700D8AC61 /* Release */ = {
290
+ isa = XCBuildConfiguration;
291
+ buildSettings = {
292
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
293
+ GCC_PREFIX_HEADER = "example/example-Prefix.pch";
294
+ INFOPLIST_FILE = "example/example-Info.plist";
295
+ PRODUCT_NAME = "$(TARGET_NAME)";
296
+ WRAPPER_EXTENSION = app;
297
+ };
298
+ name = Release;
299
+ };
300
+ /* End XCBuildConfiguration section */
301
+
302
+ /* Begin XCConfigurationList section */
303
+ 78BBAAE9157A984700D8AC61 /* Build configuration list for PBXProject "example" */ = {
304
+ isa = XCConfigurationList;
305
+ buildConfigurations = (
306
+ 78BBAB05157A984700D8AC61 /* Debug */,
307
+ 78BBAB06157A984700D8AC61 /* Release */,
308
+ );
309
+ defaultConfigurationIsVisible = 0;
310
+ defaultConfigurationName = Release;
311
+ };
312
+ 78BBAB07157A984700D8AC61 /* Build configuration list for PBXNativeTarget "example" */ = {
313
+ isa = XCConfigurationList;
314
+ buildConfigurations = (
315
+ 78BBAB08157A984700D8AC61 /* Debug */,
316
+ 78BBAB09157A984700D8AC61 /* Release */,
317
+ );
318
+ defaultConfigurationIsVisible = 0;
319
+ defaultConfigurationName = Release;
320
+ };
321
+ /* End XCConfigurationList section */
322
+ };
323
+ rootObject = 78BBAAE6157A984700D8AC61 /* Project object */;
324
+ }