├── ConfigApp
├── ConfigApp
│ ├── en.lproj
│ │ └── InfoPlist.strings
│ ├── Images.xcassets
│ │ ├── AppIcon-AdHoc.appiconset
│ │ │ ├── Icon-40@2x.png
│ │ │ ├── Icon-60@2x.png
│ │ │ ├── Icon-Small@2x.png
│ │ │ └── Contents.json
│ │ ├── AppIcon-Debug.appiconset
│ │ │ ├── Icon-40@2x.png
│ │ │ ├── Icon-60@2x.png
│ │ │ ├── Icon-Small@2x.png
│ │ │ └── Contents.json
│ │ ├── AppIcon-Release.appiconset
│ │ │ ├── Icon-40@2x.png
│ │ │ ├── Icon-60@2x.png
│ │ │ ├── Icon-Small@2x.png
│ │ │ └── Contents.json
│ │ └── LaunchImage.launchimage
│ │ │ └── Contents.json
│ ├── config
│ │ ├── AdHoc
│ │ │ └── Configuration.plist
│ │ ├── Debug
│ │ │ └── Configuration.plist
│ │ └── Release
│ │ │ └── Configuration.plist
│ ├── Controllers
│ │ ├── DRYShowConfigurationViewController.h
│ │ └── DRYShowConfigurationViewController.m
│ ├── DRYAppDelegate.h
│ ├── ConfigApp-Prefix.pch
│ ├── main.m
│ ├── ConfigApp-Info.plist
│ └── DRYAppDelegate.m
├── ConfigAppTests
│ ├── en.lproj
│ │ └── InfoPlist.strings
│ ├── ConfigAppTests-Info.plist
│ └── ConfigAppTests.m
└── ConfigApp.xcodeproj
│ ├── project.xcworkspace
│ └── contents.xcworkspacedata
│ ├── xcshareddata
│ └── xcschemes
│ │ ├── ConfigApp AdHoc.xcscheme
│ │ └── ConfigApp.xcscheme
│ └── project.pbxproj
├── Screenshots
├── Build copy result.png
└── Build script phase.png
├── .gitignore
├── README.md
└── LICENSE
/ConfigApp/ConfigApp/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigAppTests/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/Screenshots/Build copy result.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/Screenshots/Build copy result.png
--------------------------------------------------------------------------------
/Screenshots/Build script phase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/Screenshots/Build script phase.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-AdHoc.appiconset/Icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-AdHoc.appiconset/Icon-40@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-AdHoc.appiconset/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-AdHoc.appiconset/Icon-60@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Debug.appiconset/Icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Debug.appiconset/Icon-40@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Debug.appiconset/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Debug.appiconset/Icon-60@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Release.appiconset/Icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Release.appiconset/Icon-40@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Release.appiconset/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Release.appiconset/Icon-60@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-AdHoc.appiconset/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-AdHoc.appiconset/Icon-Small@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Debug.appiconset/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Debug.appiconset/Icon-Small@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Release.appiconset/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appfoundry/ios-multi-env-configuration/HEAD/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Release.appiconset/Icon-Small@2x.png
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/config/AdHoc/Configuration.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | configParameter
6 | This is configured for AdHoc.
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/config/Debug/Configuration.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | configParameter
6 | This is configured for Debug.
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | .DS_Store
3 | */build/*
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | profile
14 | *.moved-aside
15 | DerivedData
16 | .idea/
17 | *.hmap
18 | *.xccheckout
19 |
20 | #CocoaPods
21 | Pods
22 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/config/Release/Configuration.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | configParameter
6 | This is configured for Release.
7 |
8 |
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ios-multi-env-configuration
2 |
3 | This small example shows how you can configure your XCode projects to configure your apps for multiple deployment environments.
4 |
5 | Read our [blog](http://www.appfoundry.be/blog/2014/07/04/Xcode-Env-Configuration/) for a walkthrough.
6 |
7 | This content is released under the [MIT License](http://en.wikipedia.org/wiki/MIT_License)
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Controllers/DRYShowConfigurationViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // DRYShowConfigurationViewController.h
3 | // ConfigApp
4 | //
5 | // Created by Michael Seghers on 24/02/14.
6 | // Copyright (c) 2014 Michael Seghers. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface DRYShowConfigurationViewController : UIViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/DRYAppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // DRYAppDelegate.h
3 | // ConfigApp
4 | //
5 | // Created by Michael Seghers on 24/02/14.
6 | // Copyright (c) 2014 Michael Seghers. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface DRYAppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/ConfigApp-Prefix.pch:
--------------------------------------------------------------------------------
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
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
15 | #import
16 | #endif
17 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // ConfigApp
4 | //
5 | // Created by Michael Seghers on 24/02/14.
6 | // Copyright (c) 2014 Michael Seghers. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | #import "DRYAppDelegate.h"
12 |
13 | int main(int argc, char * argv[])
14 | {
15 | @autoreleasepool {
16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([DRYAppDelegate class]));
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/LaunchImage.launchimage/Contents.json:
--------------------------------------------------------------------------------
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 | }
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-AdHoc.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "29x29",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-Small@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "40x40",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-40@2x.png",
13 | "scale" : "2x"
14 | },
15 | {
16 | "size" : "60x60",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-60@2x.png",
19 | "scale" : "2x"
20 | }
21 | ],
22 | "info" : {
23 | "version" : 1,
24 | "author" : "xcode"
25 | }
26 | }
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Debug.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "29x29",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-Small@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "40x40",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-40@2x.png",
13 | "scale" : "2x"
14 | },
15 | {
16 | "size" : "60x60",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-60@2x.png",
19 | "scale" : "2x"
20 | }
21 | ],
22 | "info" : {
23 | "version" : 1,
24 | "author" : "xcode"
25 | }
26 | }
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Images.xcassets/AppIcon-Release.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "29x29",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-Small@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "40x40",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-40@2x.png",
13 | "scale" : "2x"
14 | },
15 | {
16 | "size" : "60x60",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-60@2x.png",
19 | "scale" : "2x"
20 | }
21 | ],
22 | "info" : {
23 | "version" : 1,
24 | "author" : "xcode"
25 | }
26 | }
--------------------------------------------------------------------------------
/ConfigApp/ConfigAppTests/ConfigAppTests-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | be.appfoundry.example.${PRODUCT_NAME:rfc1034identifier}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundlePackageType
14 | BNDL
15 | CFBundleShortVersionString
16 | 1.0
17 | CFBundleSignature
18 | ????
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigAppTests/ConfigAppTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // ConfigAppTests.m
3 | // ConfigAppTests
4 | //
5 | // Created by Michael Seghers on 24/02/14.
6 | // Copyright (c) 2014 Michael Seghers. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ConfigAppTests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation ConfigAppTests
16 |
17 | - (void)setUp
18 | {
19 | [super setUp];
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 | }
22 |
23 | - (void)tearDown
24 | {
25 | // Put teardown code here. This method is called after the invocation of each test method in the class.
26 | [super tearDown];
27 | }
28 |
29 | - (void)testExample
30 | {
31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__);
32 | }
33 |
34 | @end
35 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 iDA MediaFoundry
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/ConfigApp-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | ${CustomProductName}
9 | CFBundleExecutable
10 | ${EXECUTABLE_NAME}
11 | CFBundleIdentifier
12 | ${CustomAppBundleId}
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | ${CustomProductName}
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1.0
25 | LSRequiresIPhoneOS
26 |
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/DRYAppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // DRYAppDelegate.m
3 | // ConfigApp
4 | //
5 | // Created by Michael Seghers on 24/02/14.
6 | // Copyright (c) 2014 Michael Seghers. All rights reserved.
7 | //
8 |
9 | #import "DRYAppDelegate.h"
10 | #import "DRYShowConfigurationViewController.h"
11 |
12 | @implementation DRYAppDelegate
13 |
14 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
15 | {
16 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
17 | // Override point for customization after application launch.
18 | DRYShowConfigurationViewController *controller = [[DRYShowConfigurationViewController alloc] init];
19 | self.window.rootViewController = controller;
20 | self.window.backgroundColor = [UIColor whiteColor];
21 | [self.window makeKeyAndVisible];
22 | return YES;
23 | }
24 |
25 | - (void)applicationWillResignActive:(UIApplication *)application
26 | {
27 | // 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.
28 | // 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.
29 | }
30 |
31 | - (void)applicationDidEnterBackground:(UIApplication *)application
32 | {
33 | // 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.
34 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
35 | }
36 |
37 | - (void)applicationWillEnterForeground:(UIApplication *)application
38 | {
39 | // 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.
40 | }
41 |
42 | - (void)applicationDidBecomeActive:(UIApplication *)application
43 | {
44 | // 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.
45 | }
46 |
47 | - (void)applicationWillTerminate:(UIApplication *)application
48 | {
49 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
50 | }
51 |
52 | @end
53 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp/Controllers/DRYShowConfigurationViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // DRYShowConfigurationViewController.m
3 | // ConfigApp
4 | //
5 | // Created by Michael Seghers on 24/02/14.
6 | // Copyright (c) 2014 Michael Seghers. All rights reserved.
7 | //
8 |
9 | #import "DRYShowConfigurationViewController.h"
10 |
11 | @interface DRYShowConfigurationViewController () {
12 | NSDictionary *_infoDictionary;
13 | }
14 |
15 | @end
16 |
17 | @implementation DRYShowConfigurationViewController
18 |
19 | - (id)init {
20 | self = [super init];
21 | if (self) {
22 | _infoDictionary = [[NSBundle mainBundle] infoDictionary];
23 | }
24 | return self;
25 | }
26 |
27 | - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
28 | self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
29 | if (self) {
30 | // Custom initialization
31 | }
32 | return self;
33 | }
34 |
35 | - (void)viewDidLoad {
36 | [super viewDidLoad];
37 | // Do any additional setup after loading the view.
38 | self.view.translatesAutoresizingMaskIntoConstraints = NO;
39 |
40 |
41 | UILabel *valueFromConfigurationFileLabel = [self createInfoLabel];
42 | valueFromConfigurationFileLabel.text = [self readValueFromConfigurationFile];
43 | UILabel *appVersionLabel = [self createInfoLabel];
44 | appVersionLabel.text = [NSString stringWithFormat:@"App bundle version: %@", _infoDictionary[@"CFBundleVersion"]];
45 | UILabel *bundleIdLabel = [self createInfoLabel];
46 | bundleIdLabel.text = [NSString stringWithFormat:@"App bundle identifier: %@", _infoDictionary[@"CFBundleIdentifier"]];
47 |
48 | NSDictionary *views = NSDictionaryOfVariableBindings(valueFromConfigurationFileLabel, appVersionLabel, bundleIdLabel);
49 | [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"|-[valueFromConfigurationFileLabel]-|" options:0 metrics:nil views:views]];
50 | [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"|-[appVersionLabel]-|" options:0 metrics:nil views:views]];
51 | [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"|-[bundleIdLabel]-|" options:0 metrics:nil views:views]];
52 | [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|-[valueFromConfigurationFileLabel]-[appVersionLabel]-[bundleIdLabel]-|" options:0 metrics:nil views:views]];
53 |
54 | #if defined (CONFIGURATION_AdHoc) || defined (CONFIGURATION_Debug)
55 | self.view.backgroundColor = [[UIColor orangeColor] colorWithAlphaComponent:0.5];
56 | #endif
57 |
58 | }
59 |
60 | - (UILabel *) createInfoLabel {
61 | UILabel *label = [[UILabel alloc] init];
62 | label.translatesAutoresizingMaskIntoConstraints = NO;
63 | label.textAlignment = NSTextAlignmentCenter;
64 | label.adjustsFontSizeToFitWidth = YES;
65 | [self.view addSubview:label];
66 | return label;
67 | }
68 |
69 | - (NSString *) readValueFromConfigurationFile {
70 | NSBundle *bundle = [NSBundle mainBundle];
71 | NSString *path = [bundle pathForResource:@"Configuration" ofType:@"plist"];
72 | NSDictionary *config = [NSDictionary dictionaryWithContentsOfFile:path];
73 | return config[@"configParameter"];
74 | }
75 |
76 | - (void)didReceiveMemoryWarning {
77 | [super didReceiveMemoryWarning];
78 | // Dispose of any resources that can be recreated.
79 | }
80 |
81 | @end
82 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp.xcodeproj/xcshareddata/xcschemes/ConfigApp AdHoc.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
51 |
52 |
58 |
59 |
60 |
61 |
62 |
63 |
69 |
70 |
76 |
77 |
78 |
79 |
81 |
82 |
85 |
86 |
87 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp.xcodeproj/xcshareddata/xcschemes/ConfigApp.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
42 |
43 |
49 |
50 |
51 |
52 |
61 |
62 |
68 |
69 |
70 |
71 |
72 |
73 |
79 |
80 |
86 |
87 |
88 |
89 |
91 |
92 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/ConfigApp/ConfigApp.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 2736B60A18BBE2B9005541AF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2736B60918BBE2B9005541AF /* Foundation.framework */; };
11 | 2736B60C18BBE2B9005541AF /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2736B60B18BBE2B9005541AF /* CoreGraphics.framework */; };
12 | 2736B60E18BBE2B9005541AF /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2736B60D18BBE2B9005541AF /* UIKit.framework */; };
13 | 2736B61418BBE2B9005541AF /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 2736B61218BBE2B9005541AF /* InfoPlist.strings */; };
14 | 2736B61618BBE2B9005541AF /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2736B61518BBE2B9005541AF /* main.m */; };
15 | 2736B61A18BBE2B9005541AF /* DRYAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 2736B61918BBE2B9005541AF /* DRYAppDelegate.m */; };
16 | 2736B61C18BBE2B9005541AF /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2736B61B18BBE2B9005541AF /* Images.xcassets */; };
17 | 2736B62318BBE2B9005541AF /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2736B62218BBE2B9005541AF /* XCTest.framework */; };
18 | 2736B62418BBE2B9005541AF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2736B60918BBE2B9005541AF /* Foundation.framework */; };
19 | 2736B62518BBE2B9005541AF /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2736B60D18BBE2B9005541AF /* UIKit.framework */; };
20 | 2736B62D18BBE2B9005541AF /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 2736B62B18BBE2B9005541AF /* InfoPlist.strings */; };
21 | 2736B62F18BBE2B9005541AF /* ConfigAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 2736B62E18BBE2B9005541AF /* ConfigAppTests.m */; };
22 | 2736B64A18BBE81E005541AF /* DRYShowConfigurationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2736B64918BBE81E005541AF /* DRYShowConfigurationViewController.m */; };
23 | /* End PBXBuildFile section */
24 |
25 | /* Begin PBXContainerItemProxy section */
26 | 2736B62618BBE2B9005541AF /* PBXContainerItemProxy */ = {
27 | isa = PBXContainerItemProxy;
28 | containerPortal = 2736B5FE18BBE2B9005541AF /* Project object */;
29 | proxyType = 1;
30 | remoteGlobalIDString = 2736B60518BBE2B9005541AF;
31 | remoteInfo = ConfigApp;
32 | };
33 | /* End PBXContainerItemProxy section */
34 |
35 | /* Begin PBXFileReference section */
36 | 2736B60618BBE2B9005541AF /* ConfigApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ConfigApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
37 | 2736B60918BBE2B9005541AF /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
38 | 2736B60B18BBE2B9005541AF /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
39 | 2736B60D18BBE2B9005541AF /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
40 | 2736B61118BBE2B9005541AF /* ConfigApp-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ConfigApp-Info.plist"; sourceTree = ""; };
41 | 2736B61318BBE2B9005541AF /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
42 | 2736B61518BBE2B9005541AF /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
43 | 2736B61718BBE2B9005541AF /* ConfigApp-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ConfigApp-Prefix.pch"; sourceTree = ""; };
44 | 2736B61818BBE2B9005541AF /* DRYAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DRYAppDelegate.h; sourceTree = ""; };
45 | 2736B61918BBE2B9005541AF /* DRYAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DRYAppDelegate.m; sourceTree = ""; };
46 | 2736B61B18BBE2B9005541AF /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
47 | 2736B62118BBE2B9005541AF /* ConfigAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ConfigAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
48 | 2736B62218BBE2B9005541AF /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
49 | 2736B62A18BBE2B9005541AF /* ConfigAppTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ConfigAppTests-Info.plist"; sourceTree = ""; };
50 | 2736B62C18BBE2B9005541AF /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
51 | 2736B62E18BBE2B9005541AF /* ConfigAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ConfigAppTests.m; sourceTree = ""; };
52 | 2736B63D18BBE572005541AF /* Configuration.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Configuration.plist; sourceTree = ""; };
53 | 2736B63F18BBE572005541AF /* Configuration.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Configuration.plist; sourceTree = ""; };
54 | 2736B64118BBE572005541AF /* Configuration.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Configuration.plist; sourceTree = ""; };
55 | 2736B64818BBE81E005541AF /* DRYShowConfigurationViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DRYShowConfigurationViewController.h; path = Controllers/DRYShowConfigurationViewController.h; sourceTree = ""; };
56 | 2736B64918BBE81E005541AF /* DRYShowConfigurationViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DRYShowConfigurationViewController.m; path = Controllers/DRYShowConfigurationViewController.m; sourceTree = ""; };
57 | /* End PBXFileReference section */
58 |
59 | /* Begin PBXFrameworksBuildPhase section */
60 | 2736B60318BBE2B9005541AF /* Frameworks */ = {
61 | isa = PBXFrameworksBuildPhase;
62 | buildActionMask = 2147483647;
63 | files = (
64 | 2736B60C18BBE2B9005541AF /* CoreGraphics.framework in Frameworks */,
65 | 2736B60E18BBE2B9005541AF /* UIKit.framework in Frameworks */,
66 | 2736B60A18BBE2B9005541AF /* Foundation.framework in Frameworks */,
67 | );
68 | runOnlyForDeploymentPostprocessing = 0;
69 | };
70 | 2736B61E18BBE2B9005541AF /* Frameworks */ = {
71 | isa = PBXFrameworksBuildPhase;
72 | buildActionMask = 2147483647;
73 | files = (
74 | 2736B62318BBE2B9005541AF /* XCTest.framework in Frameworks */,
75 | 2736B62518BBE2B9005541AF /* UIKit.framework in Frameworks */,
76 | 2736B62418BBE2B9005541AF /* Foundation.framework in Frameworks */,
77 | );
78 | runOnlyForDeploymentPostprocessing = 0;
79 | };
80 | /* End PBXFrameworksBuildPhase section */
81 |
82 | /* Begin PBXGroup section */
83 | 2736B5FD18BBE2B9005541AF = {
84 | isa = PBXGroup;
85 | children = (
86 | 2736B60F18BBE2B9005541AF /* ConfigApp */,
87 | 2736B62818BBE2B9005541AF /* ConfigAppTests */,
88 | 2736B60818BBE2B9005541AF /* Frameworks */,
89 | 2736B60718BBE2B9005541AF /* Products */,
90 | );
91 | sourceTree = "";
92 | };
93 | 2736B60718BBE2B9005541AF /* Products */ = {
94 | isa = PBXGroup;
95 | children = (
96 | 2736B60618BBE2B9005541AF /* ConfigApp.app */,
97 | 2736B62118BBE2B9005541AF /* ConfigAppTests.xctest */,
98 | );
99 | name = Products;
100 | sourceTree = "";
101 | };
102 | 2736B60818BBE2B9005541AF /* Frameworks */ = {
103 | isa = PBXGroup;
104 | children = (
105 | 2736B60918BBE2B9005541AF /* Foundation.framework */,
106 | 2736B60B18BBE2B9005541AF /* CoreGraphics.framework */,
107 | 2736B60D18BBE2B9005541AF /* UIKit.framework */,
108 | 2736B62218BBE2B9005541AF /* XCTest.framework */,
109 | );
110 | name = Frameworks;
111 | sourceTree = "";
112 | };
113 | 2736B60F18BBE2B9005541AF /* ConfigApp */ = {
114 | isa = PBXGroup;
115 | children = (
116 | 2736B64718BBE7D6005541AF /* Controllers */,
117 | 2736B61818BBE2B9005541AF /* DRYAppDelegate.h */,
118 | 2736B61918BBE2B9005541AF /* DRYAppDelegate.m */,
119 | 2736B61B18BBE2B9005541AF /* Images.xcassets */,
120 | 2736B61018BBE2B9005541AF /* Supporting Files */,
121 | );
122 | path = ConfigApp;
123 | sourceTree = "";
124 | };
125 | 2736B61018BBE2B9005541AF /* Supporting Files */ = {
126 | isa = PBXGroup;
127 | children = (
128 | 2736B63B18BBE572005541AF /* config */,
129 | 2736B61118BBE2B9005541AF /* ConfigApp-Info.plist */,
130 | 2736B61218BBE2B9005541AF /* InfoPlist.strings */,
131 | 2736B61518BBE2B9005541AF /* main.m */,
132 | 2736B61718BBE2B9005541AF /* ConfigApp-Prefix.pch */,
133 | );
134 | name = "Supporting Files";
135 | sourceTree = "";
136 | };
137 | 2736B62818BBE2B9005541AF /* ConfigAppTests */ = {
138 | isa = PBXGroup;
139 | children = (
140 | 2736B62E18BBE2B9005541AF /* ConfigAppTests.m */,
141 | 2736B62918BBE2B9005541AF /* Supporting Files */,
142 | );
143 | path = ConfigAppTests;
144 | sourceTree = "";
145 | };
146 | 2736B62918BBE2B9005541AF /* Supporting Files */ = {
147 | isa = PBXGroup;
148 | children = (
149 | 2736B62A18BBE2B9005541AF /* ConfigAppTests-Info.plist */,
150 | 2736B62B18BBE2B9005541AF /* InfoPlist.strings */,
151 | );
152 | name = "Supporting Files";
153 | sourceTree = "";
154 | };
155 | 2736B63B18BBE572005541AF /* config */ = {
156 | isa = PBXGroup;
157 | children = (
158 | 2736B63C18BBE572005541AF /* AdHoc */,
159 | 2736B63E18BBE572005541AF /* Debug */,
160 | 2736B64018BBE572005541AF /* Release */,
161 | );
162 | path = config;
163 | sourceTree = "";
164 | };
165 | 2736B63C18BBE572005541AF /* AdHoc */ = {
166 | isa = PBXGroup;
167 | children = (
168 | 2736B63D18BBE572005541AF /* Configuration.plist */,
169 | );
170 | path = AdHoc;
171 | sourceTree = "";
172 | };
173 | 2736B63E18BBE572005541AF /* Debug */ = {
174 | isa = PBXGroup;
175 | children = (
176 | 2736B63F18BBE572005541AF /* Configuration.plist */,
177 | );
178 | path = Debug;
179 | sourceTree = "";
180 | };
181 | 2736B64018BBE572005541AF /* Release */ = {
182 | isa = PBXGroup;
183 | children = (
184 | 2736B64118BBE572005541AF /* Configuration.plist */,
185 | );
186 | path = Release;
187 | sourceTree = "";
188 | };
189 | 2736B64718BBE7D6005541AF /* Controllers */ = {
190 | isa = PBXGroup;
191 | children = (
192 | 2736B64818BBE81E005541AF /* DRYShowConfigurationViewController.h */,
193 | 2736B64918BBE81E005541AF /* DRYShowConfigurationViewController.m */,
194 | );
195 | name = Controllers;
196 | sourceTree = "";
197 | };
198 | /* End PBXGroup section */
199 |
200 | /* Begin PBXNativeTarget section */
201 | 2736B60518BBE2B9005541AF /* ConfigApp */ = {
202 | isa = PBXNativeTarget;
203 | buildConfigurationList = 2736B63218BBE2B9005541AF /* Build configuration list for PBXNativeTarget "ConfigApp" */;
204 | buildPhases = (
205 | 2736B60218BBE2B9005541AF /* Sources */,
206 | 2736B60318BBE2B9005541AF /* Frameworks */,
207 | 2736B60418BBE2B9005541AF /* Resources */,
208 | 2736B64618BBE654005541AF /* Copy Configuration File(s) */,
209 | );
210 | buildRules = (
211 | );
212 | dependencies = (
213 | );
214 | name = ConfigApp;
215 | productName = ConfigApp;
216 | productReference = 2736B60618BBE2B9005541AF /* ConfigApp.app */;
217 | productType = "com.apple.product-type.application";
218 | };
219 | 2736B62018BBE2B9005541AF /* ConfigAppTests */ = {
220 | isa = PBXNativeTarget;
221 | buildConfigurationList = 2736B63518BBE2B9005541AF /* Build configuration list for PBXNativeTarget "ConfigAppTests" */;
222 | buildPhases = (
223 | 2736B61D18BBE2B9005541AF /* Sources */,
224 | 2736B61E18BBE2B9005541AF /* Frameworks */,
225 | 2736B61F18BBE2B9005541AF /* Resources */,
226 | );
227 | buildRules = (
228 | );
229 | dependencies = (
230 | 2736B62718BBE2B9005541AF /* PBXTargetDependency */,
231 | );
232 | name = ConfigAppTests;
233 | productName = ConfigAppTests;
234 | productReference = 2736B62118BBE2B9005541AF /* ConfigAppTests.xctest */;
235 | productType = "com.apple.product-type.bundle.unit-test";
236 | };
237 | /* End PBXNativeTarget section */
238 |
239 | /* Begin PBXProject section */
240 | 2736B5FE18BBE2B9005541AF /* Project object */ = {
241 | isa = PBXProject;
242 | attributes = {
243 | CLASSPREFIX = DRY;
244 | LastUpgradeCheck = 0510;
245 | ORGANIZATIONNAME = "Michael Seghers";
246 | TargetAttributes = {
247 | 2736B62018BBE2B9005541AF = {
248 | TestTargetID = 2736B60518BBE2B9005541AF;
249 | };
250 | };
251 | };
252 | buildConfigurationList = 2736B60118BBE2B9005541AF /* Build configuration list for PBXProject "ConfigApp" */;
253 | compatibilityVersion = "Xcode 3.2";
254 | developmentRegion = English;
255 | hasScannedForEncodings = 0;
256 | knownRegions = (
257 | en,
258 | );
259 | mainGroup = 2736B5FD18BBE2B9005541AF;
260 | productRefGroup = 2736B60718BBE2B9005541AF /* Products */;
261 | projectDirPath = "";
262 | projectRoot = "";
263 | targets = (
264 | 2736B60518BBE2B9005541AF /* ConfigApp */,
265 | 2736B62018BBE2B9005541AF /* ConfigAppTests */,
266 | );
267 | };
268 | /* End PBXProject section */
269 |
270 | /* Begin PBXResourcesBuildPhase section */
271 | 2736B60418BBE2B9005541AF /* Resources */ = {
272 | isa = PBXResourcesBuildPhase;
273 | buildActionMask = 2147483647;
274 | files = (
275 | 2736B61418BBE2B9005541AF /* InfoPlist.strings in Resources */,
276 | 2736B61C18BBE2B9005541AF /* Images.xcassets in Resources */,
277 | );
278 | runOnlyForDeploymentPostprocessing = 0;
279 | };
280 | 2736B61F18BBE2B9005541AF /* Resources */ = {
281 | isa = PBXResourcesBuildPhase;
282 | buildActionMask = 2147483647;
283 | files = (
284 | 2736B62D18BBE2B9005541AF /* InfoPlist.strings in Resources */,
285 | );
286 | runOnlyForDeploymentPostprocessing = 0;
287 | };
288 | /* End PBXResourcesBuildPhase section */
289 |
290 | /* Begin PBXShellScriptBuildPhase section */
291 | 2736B64618BBE654005541AF /* Copy Configuration File(s) */ = {
292 | isa = PBXShellScriptBuildPhase;
293 | buildActionMask = 2147483647;
294 | files = (
295 | );
296 | inputPaths = (
297 | );
298 | name = "Copy Configuration File(s)";
299 | outputPaths = (
300 | );
301 | runOnlyForDeploymentPostprocessing = 0;
302 | shellPath = /bin/sh;
303 | shellScript = "RESOURCE_PATH=${SRCROOT}/${PRODUCT_NAME}/config/${CONFIGURATION}\n\nBUILD_APP_DIR=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app\n\necho \"Copying all files under ${RESOURCE_PATH} to ${BUILD_APP_DIR}\"\ncp -v \"${RESOURCE_PATH}/\"* \"${BUILD_APP_DIR}/\"\n \n";
304 | showEnvVarsInLog = 0;
305 | };
306 | /* End PBXShellScriptBuildPhase section */
307 |
308 | /* Begin PBXSourcesBuildPhase section */
309 | 2736B60218BBE2B9005541AF /* Sources */ = {
310 | isa = PBXSourcesBuildPhase;
311 | buildActionMask = 2147483647;
312 | files = (
313 | 2736B64A18BBE81E005541AF /* DRYShowConfigurationViewController.m in Sources */,
314 | 2736B61A18BBE2B9005541AF /* DRYAppDelegate.m in Sources */,
315 | 2736B61618BBE2B9005541AF /* main.m in Sources */,
316 | );
317 | runOnlyForDeploymentPostprocessing = 0;
318 | };
319 | 2736B61D18BBE2B9005541AF /* Sources */ = {
320 | isa = PBXSourcesBuildPhase;
321 | buildActionMask = 2147483647;
322 | files = (
323 | 2736B62F18BBE2B9005541AF /* ConfigAppTests.m in Sources */,
324 | );
325 | runOnlyForDeploymentPostprocessing = 0;
326 | };
327 | /* End PBXSourcesBuildPhase section */
328 |
329 | /* Begin PBXTargetDependency section */
330 | 2736B62718BBE2B9005541AF /* PBXTargetDependency */ = {
331 | isa = PBXTargetDependency;
332 | target = 2736B60518BBE2B9005541AF /* ConfigApp */;
333 | targetProxy = 2736B62618BBE2B9005541AF /* PBXContainerItemProxy */;
334 | };
335 | /* End PBXTargetDependency section */
336 |
337 | /* Begin PBXVariantGroup section */
338 | 2736B61218BBE2B9005541AF /* InfoPlist.strings */ = {
339 | isa = PBXVariantGroup;
340 | children = (
341 | 2736B61318BBE2B9005541AF /* en */,
342 | );
343 | name = InfoPlist.strings;
344 | sourceTree = "";
345 | };
346 | 2736B62B18BBE2B9005541AF /* InfoPlist.strings */ = {
347 | isa = PBXVariantGroup;
348 | children = (
349 | 2736B62C18BBE2B9005541AF /* en */,
350 | );
351 | name = InfoPlist.strings;
352 | sourceTree = "";
353 | };
354 | /* End PBXVariantGroup section */
355 |
356 | /* Begin XCBuildConfiguration section */
357 | 2736B63018BBE2B9005541AF /* Debug */ = {
358 | isa = XCBuildConfiguration;
359 | buildSettings = {
360 | ALWAYS_SEARCH_USER_PATHS = NO;
361 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
362 | CLANG_CXX_LIBRARY = "libc++";
363 | CLANG_ENABLE_MODULES = YES;
364 | CLANG_ENABLE_OBJC_ARC = YES;
365 | CLANG_WARN_BOOL_CONVERSION = YES;
366 | CLANG_WARN_CONSTANT_CONVERSION = YES;
367 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
368 | CLANG_WARN_EMPTY_BODY = YES;
369 | CLANG_WARN_ENUM_CONVERSION = YES;
370 | CLANG_WARN_INT_CONVERSION = YES;
371 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
372 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
373 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
374 | COPY_PHASE_STRIP = NO;
375 | GCC_C_LANGUAGE_STANDARD = gnu99;
376 | GCC_DYNAMIC_NO_PIC = NO;
377 | GCC_OPTIMIZATION_LEVEL = 0;
378 | GCC_PREPROCESSOR_DEFINITIONS = (
379 | "DEBUG=1",
380 | "$(inherited)",
381 | );
382 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
383 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
384 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
385 | GCC_WARN_UNDECLARED_SELECTOR = YES;
386 | GCC_WARN_UNINITIALIZED_AUTOS = YES;
387 | GCC_WARN_UNUSED_FUNCTION = YES;
388 | GCC_WARN_UNUSED_VARIABLE = YES;
389 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
390 | ONLY_ACTIVE_ARCH = YES;
391 | SDKROOT = iphoneos;
392 | };
393 | name = Debug;
394 | };
395 | 2736B63118BBE2B9005541AF /* Release */ = {
396 | isa = XCBuildConfiguration;
397 | buildSettings = {
398 | ALWAYS_SEARCH_USER_PATHS = NO;
399 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
400 | CLANG_CXX_LIBRARY = "libc++";
401 | CLANG_ENABLE_MODULES = YES;
402 | CLANG_ENABLE_OBJC_ARC = YES;
403 | CLANG_WARN_BOOL_CONVERSION = YES;
404 | CLANG_WARN_CONSTANT_CONVERSION = YES;
405 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
406 | CLANG_WARN_EMPTY_BODY = YES;
407 | CLANG_WARN_ENUM_CONVERSION = YES;
408 | CLANG_WARN_INT_CONVERSION = YES;
409 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
410 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
411 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
412 | COPY_PHASE_STRIP = YES;
413 | ENABLE_NS_ASSERTIONS = NO;
414 | GCC_C_LANGUAGE_STANDARD = gnu99;
415 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
416 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
417 | GCC_WARN_UNDECLARED_SELECTOR = YES;
418 | GCC_WARN_UNINITIALIZED_AUTOS = YES;
419 | GCC_WARN_UNUSED_FUNCTION = YES;
420 | GCC_WARN_UNUSED_VARIABLE = YES;
421 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
422 | SDKROOT = iphoneos;
423 | VALIDATE_PRODUCT = YES;
424 | };
425 | name = Release;
426 | };
427 | 2736B63318BBE2B9005541AF /* Debug */ = {
428 | isa = XCBuildConfiguration;
429 | buildSettings = {
430 | ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-${CONFIGURATION}";
431 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
432 | CustomAppBundleId = "be.appfoundry.example.${PRODUCT_NAME:rfc1034identifier}.${CONFIGURATION}";
433 | CustomProductName = "ConApp DE";
434 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
435 | GCC_PREFIX_HEADER = "ConfigApp/ConfigApp-Prefix.pch";
436 | GCC_PREPROCESSOR_DEFINITIONS = (
437 | "DEBUG=1",
438 | "$(inherited)",
439 | "CONFIGURATION_${CONFIGURATION}",
440 | );
441 | INFOPLIST_FILE = "ConfigApp/ConfigApp-Info.plist";
442 | PRODUCT_NAME = "$(TARGET_NAME)";
443 | WRAPPER_EXTENSION = app;
444 | };
445 | name = Debug;
446 | };
447 | 2736B63418BBE2B9005541AF /* Release */ = {
448 | isa = XCBuildConfiguration;
449 | buildSettings = {
450 | ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-${CONFIGURATION}";
451 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
452 | CustomAppBundleId = "be.appfoundry.example.${PRODUCT_NAME:rfc1034identifier}";
453 | CustomProductName = "${PRODUCT_NAME}";
454 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
455 | GCC_PREFIX_HEADER = "ConfigApp/ConfigApp-Prefix.pch";
456 | GCC_PREPROCESSOR_DEFINITIONS = "CONFIGURATION_${CONFIGURATION}";
457 | INFOPLIST_FILE = "ConfigApp/ConfigApp-Info.plist";
458 | PRODUCT_NAME = "$(TARGET_NAME)";
459 | WRAPPER_EXTENSION = app;
460 | };
461 | name = Release;
462 | };
463 | 2736B63618BBE2B9005541AF /* Debug */ = {
464 | isa = XCBuildConfiguration;
465 | buildSettings = {
466 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/ConfigApp.app/ConfigApp";
467 | FRAMEWORK_SEARCH_PATHS = (
468 | "$(SDKROOT)/Developer/Library/Frameworks",
469 | "$(inherited)",
470 | "$(DEVELOPER_FRAMEWORKS_DIR)",
471 | );
472 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
473 | GCC_PREFIX_HEADER = "ConfigApp/ConfigApp-Prefix.pch";
474 | GCC_PREPROCESSOR_DEFINITIONS = (
475 | "DEBUG=1",
476 | "$(inherited)",
477 | );
478 | INFOPLIST_FILE = "ConfigAppTests/ConfigAppTests-Info.plist";
479 | PRODUCT_NAME = "$(TARGET_NAME)";
480 | TEST_HOST = "$(BUNDLE_LOADER)";
481 | WRAPPER_EXTENSION = xctest;
482 | };
483 | name = Debug;
484 | };
485 | 2736B63718BBE2B9005541AF /* Release */ = {
486 | isa = XCBuildConfiguration;
487 | buildSettings = {
488 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/ConfigApp.app/ConfigApp";
489 | FRAMEWORK_SEARCH_PATHS = (
490 | "$(SDKROOT)/Developer/Library/Frameworks",
491 | "$(inherited)",
492 | "$(DEVELOPER_FRAMEWORKS_DIR)",
493 | );
494 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
495 | GCC_PREFIX_HEADER = "ConfigApp/ConfigApp-Prefix.pch";
496 | INFOPLIST_FILE = "ConfigAppTests/ConfigAppTests-Info.plist";
497 | PRODUCT_NAME = "$(TARGET_NAME)";
498 | TEST_HOST = "$(BUNDLE_LOADER)";
499 | WRAPPER_EXTENSION = xctest;
500 | };
501 | name = Release;
502 | };
503 | 2736B63818BBE3F6005541AF /* AdHoc */ = {
504 | isa = XCBuildConfiguration;
505 | buildSettings = {
506 | ALWAYS_SEARCH_USER_PATHS = NO;
507 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
508 | CLANG_CXX_LIBRARY = "libc++";
509 | CLANG_ENABLE_MODULES = YES;
510 | CLANG_ENABLE_OBJC_ARC = YES;
511 | CLANG_WARN_BOOL_CONVERSION = YES;
512 | CLANG_WARN_CONSTANT_CONVERSION = YES;
513 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
514 | CLANG_WARN_EMPTY_BODY = YES;
515 | CLANG_WARN_ENUM_CONVERSION = YES;
516 | CLANG_WARN_INT_CONVERSION = YES;
517 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
518 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
519 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
520 | COPY_PHASE_STRIP = YES;
521 | ENABLE_NS_ASSERTIONS = NO;
522 | GCC_C_LANGUAGE_STANDARD = gnu99;
523 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
524 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
525 | GCC_WARN_UNDECLARED_SELECTOR = YES;
526 | GCC_WARN_UNINITIALIZED_AUTOS = YES;
527 | GCC_WARN_UNUSED_FUNCTION = YES;
528 | GCC_WARN_UNUSED_VARIABLE = YES;
529 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
530 | SDKROOT = iphoneos;
531 | VALIDATE_PRODUCT = YES;
532 | };
533 | name = AdHoc;
534 | };
535 | 2736B63918BBE3F6005541AF /* AdHoc */ = {
536 | isa = XCBuildConfiguration;
537 | buildSettings = {
538 | ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-${CONFIGURATION}";
539 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
540 | CustomAppBundleId = "be.appfoundry.example.${PRODUCT_NAME:rfc1034identifier}.${CONFIGURATION}";
541 | CustomProductName = "ConApp AH";
542 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
543 | GCC_PREFIX_HEADER = "ConfigApp/ConfigApp-Prefix.pch";
544 | GCC_PREPROCESSOR_DEFINITIONS = "CONFIGURATION_${CONFIGURATION}";
545 | INFOPLIST_FILE = "ConfigApp/ConfigApp-Info.plist";
546 | PRODUCT_NAME = "$(TARGET_NAME)";
547 | WRAPPER_EXTENSION = app;
548 | };
549 | name = AdHoc;
550 | };
551 | 2736B63A18BBE3F6005541AF /* AdHoc */ = {
552 | isa = XCBuildConfiguration;
553 | buildSettings = {
554 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/ConfigApp.app/ConfigApp";
555 | FRAMEWORK_SEARCH_PATHS = (
556 | "$(SDKROOT)/Developer/Library/Frameworks",
557 | "$(inherited)",
558 | "$(DEVELOPER_FRAMEWORKS_DIR)",
559 | );
560 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
561 | GCC_PREFIX_HEADER = "ConfigApp/ConfigApp-Prefix.pch";
562 | INFOPLIST_FILE = "ConfigAppTests/ConfigAppTests-Info.plist";
563 | PRODUCT_NAME = "$(TARGET_NAME)";
564 | TEST_HOST = "$(BUNDLE_LOADER)";
565 | WRAPPER_EXTENSION = xctest;
566 | };
567 | name = AdHoc;
568 | };
569 | /* End XCBuildConfiguration section */
570 |
571 | /* Begin XCConfigurationList section */
572 | 2736B60118BBE2B9005541AF /* Build configuration list for PBXProject "ConfigApp" */ = {
573 | isa = XCConfigurationList;
574 | buildConfigurations = (
575 | 2736B63018BBE2B9005541AF /* Debug */,
576 | 2736B63118BBE2B9005541AF /* Release */,
577 | 2736B63818BBE3F6005541AF /* AdHoc */,
578 | );
579 | defaultConfigurationIsVisible = 0;
580 | defaultConfigurationName = Release;
581 | };
582 | 2736B63218BBE2B9005541AF /* Build configuration list for PBXNativeTarget "ConfigApp" */ = {
583 | isa = XCConfigurationList;
584 | buildConfigurations = (
585 | 2736B63318BBE2B9005541AF /* Debug */,
586 | 2736B63418BBE2B9005541AF /* Release */,
587 | 2736B63918BBE3F6005541AF /* AdHoc */,
588 | );
589 | defaultConfigurationIsVisible = 0;
590 | defaultConfigurationName = Release;
591 | };
592 | 2736B63518BBE2B9005541AF /* Build configuration list for PBXNativeTarget "ConfigAppTests" */ = {
593 | isa = XCConfigurationList;
594 | buildConfigurations = (
595 | 2736B63618BBE2B9005541AF /* Debug */,
596 | 2736B63718BBE2B9005541AF /* Release */,
597 | 2736B63A18BBE3F6005541AF /* AdHoc */,
598 | );
599 | defaultConfigurationIsVisible = 0;
600 | defaultConfigurationName = Release;
601 | };
602 | /* End XCConfigurationList section */
603 | };
604 | rootObject = 2736B5FE18BBE2B9005541AF /* Project object */;
605 | }
606 |
--------------------------------------------------------------------------------