├── scripts
├── dist.cer
├── dist.p12
├── apple.cer
├── remove-key.sh
├── profile
│ └── 30fc0261-b07e-421a-8b11-ae29168827d2.mobileprovision
├── add-key.sh
└── testflight.sh
├── Podfile
├── CircleCI-Sample.xcodeproj
├── project.xcworkspace
│ └── contents.xcworkspacedata
├── xcshareddata
│ └── xcschemes
│ │ └── CircleCI-Sample.xcscheme
└── project.pbxproj
├── CircleCI-Sample.xcworkspace
└── contents.xcworkspacedata
├── circle.yml
├── .gitignore
├── CircleCI-Sample
├── ViewController.swift
├── Images.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.xib
├── Info.plist
└── AppDelegate.swift
├── CircleCI-SampleTests
├── Info.plist
└── CircleCI_SampleTests.swift
├── Podfile.lock
└── README.md
/scripts/dist.cer:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thorikawa/CircleCI-iOS-TestFlight-Sample/HEAD/scripts/dist.cer
--------------------------------------------------------------------------------
/scripts/dist.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thorikawa/CircleCI-iOS-TestFlight-Sample/HEAD/scripts/dist.p12
--------------------------------------------------------------------------------
/scripts/apple.cer:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thorikawa/CircleCI-iOS-TestFlight-Sample/HEAD/scripts/apple.cer
--------------------------------------------------------------------------------
/Podfile:
--------------------------------------------------------------------------------
1 | source 'https://github.com/CocoaPods/Specs.git'
2 |
3 | platform :ios, '7.0'
4 | pod "AFNetworking", "~> 2.5.0"
5 |
--------------------------------------------------------------------------------
/scripts/remove-key.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | security delete-keychain ios-build.keychain
4 | rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*
5 |
--------------------------------------------------------------------------------
/scripts/profile/30fc0261-b07e-421a-8b11-ae29168827d2.mobileprovision:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/thorikawa/CircleCI-iOS-TestFlight-Sample/HEAD/scripts/profile/30fc0261-b07e-421a-8b11-ae29168827d2.mobileprovision
--------------------------------------------------------------------------------
/CircleCI-Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/CircleCI-Sample.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/circle.yml:
--------------------------------------------------------------------------------
1 | machine:
2 | environment:
3 | XCODE_SCHEME: CircleCI-Sample
4 | XCODE_WORKSPACE: CircleCI-Sample.xcworkspace
5 | DEVELOPER_NAME: 'iPhone Distribution: Takahiro Horikawa (HSM2AYDCY3)'
6 | APPNAME: CircleCI-Sample
7 | PROFILE_UUID: 30fc0261-b07e-421a-8b11-ae29168827d2
8 | TESTFLIGHT_DIST_LIST: your-dist-list-name
9 | dependencies:
10 | override:
11 | - pod install:
12 | timeout: 300
13 | deployment:
14 | testflight:
15 | branch: master
16 | commands:
17 | - ./scripts/add-key.sh
18 | - ./scripts/testflight.sh
19 | - ./scripts/remove-key.sh
20 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | .DS_Store
3 |
4 | # Xcode
5 | #
6 | build/
7 | *.pbxuser
8 | !default.pbxuser
9 | *.mode1v3
10 | !default.mode1v3
11 | *.mode2v3
12 | !default.mode2v3
13 | *.perspectivev3
14 | !default.perspectivev3
15 | xcuserdata
16 | *.xccheckout
17 | *.moved-aside
18 | DerivedData
19 | *.hmap
20 | *.ipa
21 | *.xcuserstate
22 |
23 | # CocoaPods
24 | #
25 | # We recommend against adding the Pods directory to your .gitignore. However
26 | # you should judge for yourself, the pros and cons are mentioned at:
27 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
28 | #
29 | Pods/
30 |
--------------------------------------------------------------------------------
/CircleCI-Sample/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // CircleCI-Sample
4 | //
5 | // Created by Takahiro Horikawa on 1/7/15.
6 | // Copyright (c) 2015 Poly's Factory. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 | // Do any additional setup after loading the view, typically from a nib.
16 | }
17 |
18 | override func didReceiveMemoryWarning() {
19 | super.didReceiveMemoryWarning()
20 | // Dispose of any resources that can be recreated.
21 | }
22 |
23 |
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/scripts/add-key.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | KEYCHAIN_PASSWORD=circleci
4 |
5 | security create-keychain -p $KEYCHAIN_PASSWORD ios-build.keychain
6 | security import ./scripts/apple.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesign
7 | security import ./scripts/dist.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesign
8 | security import ./scripts/dist.p12 -k ~/Library/Keychains/ios-build.keychain -P $KEY_PASSWORD -T /usr/bin/codesign
9 | security list-keychain -s ~/Library/Keychains/ios-build.keychain
10 | security unlock-keychain -p $KEYCHAIN_PASSWORD ~/Library/Keychains/ios-build.keychain
11 |
12 | mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
13 | cp ./scripts/profile/* ~/Library/MobileDevice/Provisioning\ Profiles/
14 |
--------------------------------------------------------------------------------
/CircleCI-SampleTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.polysfactory.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - AFNetworking (2.5.0):
3 | - AFNetworking/NSURLConnection (= 2.5.0)
4 | - AFNetworking/NSURLSession (= 2.5.0)
5 | - AFNetworking/Reachability (= 2.5.0)
6 | - AFNetworking/Security (= 2.5.0)
7 | - AFNetworking/Serialization (= 2.5.0)
8 | - AFNetworking/UIKit (= 2.5.0)
9 | - AFNetworking/NSURLConnection (2.5.0):
10 | - AFNetworking/Reachability
11 | - AFNetworking/Security
12 | - AFNetworking/Serialization
13 | - AFNetworking/NSURLSession (2.5.0):
14 | - AFNetworking/Reachability
15 | - AFNetworking/Security
16 | - AFNetworking/Serialization
17 | - AFNetworking/Reachability (2.5.0)
18 | - AFNetworking/Security (2.5.0)
19 | - AFNetworking/Serialization (2.5.0)
20 | - AFNetworking/UIKit (2.5.0):
21 | - AFNetworking/NSURLConnection
22 | - AFNetworking/NSURLSession
23 |
24 | DEPENDENCIES:
25 | - AFNetworking (~> 2.5.0)
26 |
27 | SPEC CHECKSUMS:
28 | AFNetworking: 0f54cb5d16ce38c1b76948faffb8d5fb705021c7
29 |
30 | COCOAPODS: 0.35.0
31 |
--------------------------------------------------------------------------------
/CircleCI-SampleTests/CircleCI_SampleTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // CircleCI_SampleTests.swift
3 | // CircleCI-SampleTests
4 | //
5 | // Created by Takahiro Horikawa on 1/7/15.
6 | // Copyright (c) 2015 Poly's Factory. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import XCTest
11 |
12 | class CircleCI_SampleTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | XCTAssert(true, "Pass")
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measureBlock() {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/scripts/testflight.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | PROVISIONING_PROFILE="$HOME/Library/MobileDevice/Provisioning Profiles/$PROFILE_UUID.mobileprovision"
4 | RELEASE_DATE=`date '+%Y-%m-%d %H:%M:%S'`
5 | ARCHIVE_PATH="$PWD/build.xcarchive"
6 | APP_DIR="$ARCHIVE_PATH/Products/Applications"
7 | DSYM_DIR="$ARCHIVE_PATH/dSYMs"
8 |
9 | echo "********************"
10 | echo "* Archive *"
11 | echo "********************"
12 | xcodebuild -scheme "$XCODE_SCHEME" -workspace "$XCODE_WORKSPACE" -archivePath "$ARCHIVE_PATH" clean archive CODE_SIGN_IDENTITY="$DEVELOPER_NAME"
13 |
14 | echo "********************"
15 | echo "* Signing *"
16 | echo "********************"
17 | xcrun -log -sdk iphoneos PackageApplication "$APP_DIR/$APPNAME.app" -o "$APP_DIR/$APPNAME.ipa" -sign "$DEVELOPER_NAME" -embed "$PROVISIONING_PROFILE"
18 |
19 | RELEASE_NOTES="Build: $CIRCLE_BUILD_NUM\nUploaded: $RELEASE_DATE"
20 |
21 | zip -r -9 "$DSYM_DIR/$APPNAME.app.dSYM.zip" "$DSYM_DIR/$APPNAME.app.dSYM"
22 |
23 | echo "********************"
24 | echo "* Uploading *"
25 | echo "********************"
26 | curl http://testflightapp.com/api/builds.json \
27 | -F file="@$APP_DIR/$APPNAME.ipa" \
28 | -F dsym="@$DSYM_DIR/$APPNAME.app.dSYM.zip" \
29 | -F api_token="$API_TOKEN" \
30 | -F team_token="$TEAM_TOKEN" \
31 | -F distribution_lists="$TESTFLIGHT_DIST_LIST" \
32 | -F notes="$RELEASE_NOTES" -v
33 |
--------------------------------------------------------------------------------
/CircleCI-Sample/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # CircleCI-iOS-TestFlight-Sample
2 | Demonstrate how to deploy an iOS app automatically to testflight using CircleCI (as of Jan 7, 2015).
3 |
4 | ## Working Demo
5 | https://circleci.com/gh/infolens/CircleCI-iOS-TestFlight-Sample/11
6 |
7 | ## How to set up your project
8 | 0. Since CircleCI iOS build is still beta, you need to contact CircleCI guys to enable iOS build. Please see https://circleci.com/docs/ios for detail.
9 | 1. Copy the circle.yml into your repo (replace xcode scheme, xcode workspace, app name, developer name, provisionin profile uuid and testflight distribution list)
10 | 2. Create the folder "scripts/"
11 | 3. Export the following things from the Keychain app
12 | 1. "Apple Worldwide Developer Relations Certification Authority" into scripts/apple.cer
13 | 2. Your iPhone Distribution certificate into scripts/dist.cer
14 | 3. Your iPhone Distribution private key into scripts/dist.p12 (choose a password)
15 | 4. Copy your provisioning profiles into scripts/profile/
16 | 5. Add the following settings in "Environment Variable" menu on CircleCI
17 | 1. KEY_PASSWORD=YOUR_KEY_PASSWORD
18 | 2. TEAM_TOKEN=TESTFLIGHT_TEAM_TOKEN
19 | 3. API_TOKEN=TESTFLIGHT_API_TOKEN
20 |
21 | 6. Copy add-key.sh, remove-key.sh and testflight.sh into scripts/
22 |
23 | ## Acknowledgement
24 | I created this sample in reference to [Johannes's work for Travis CI](https://gist.github.com/johanneswuerbach/5559514). Great work Johannes!
25 |
26 | ## License
27 | MIT License except for scripts/dist.cer, scripts/dist.cer, scripts/apple.cer and scripts/profile folder.
28 |
--------------------------------------------------------------------------------
/CircleCI-Sample/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/CircleCI-Sample/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.polysfactory.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/CircleCI-Sample/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // CircleCI-Sample
4 | //
5 | // Created by Takahiro Horikawa on 1/7/15.
6 | // Copyright (c) 2015 Poly's Factory. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(application: UIApplication) {
23 | // 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.
24 | // 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.
25 | }
26 |
27 | func applicationDidEnterBackground(application: UIApplication) {
28 | // 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.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(application: UIApplication) {
33 | // 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.
34 | }
35 |
36 | func applicationDidBecomeActive(application: UIApplication) {
37 | // 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.
38 | }
39 |
40 | func applicationWillTerminate(application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/CircleCI-Sample/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/CircleCI-Sample.xcodeproj/xcshareddata/xcschemes/CircleCI-Sample.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
47 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
65 |
66 |
75 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
94 |
100 |
101 |
102 |
103 |
105 |
106 |
109 |
110 |
111 |
--------------------------------------------------------------------------------
/CircleCI-Sample.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | E01EC79923550B27C114D91C /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C31ED0A0A411412DCF58E20A /* libPods.a */; };
11 | EE8458631A5CF04400DB5D00 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE8458621A5CF04400DB5D00 /* AppDelegate.swift */; };
12 | EE8458651A5CF04400DB5D00 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE8458641A5CF04400DB5D00 /* ViewController.swift */; };
13 | EE8458681A5CF04400DB5D00 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EE8458661A5CF04400DB5D00 /* Main.storyboard */; };
14 | EE84586A1A5CF04400DB5D00 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EE8458691A5CF04400DB5D00 /* Images.xcassets */; };
15 | EE84586D1A5CF04400DB5D00 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = EE84586B1A5CF04400DB5D00 /* LaunchScreen.xib */; };
16 | EE8458791A5CF04400DB5D00 /* CircleCI_SampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE8458781A5CF04400DB5D00 /* CircleCI_SampleTests.swift */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXContainerItemProxy section */
20 | EE8458731A5CF04400DB5D00 /* PBXContainerItemProxy */ = {
21 | isa = PBXContainerItemProxy;
22 | containerPortal = EE8458551A5CF04400DB5D00 /* Project object */;
23 | proxyType = 1;
24 | remoteGlobalIDString = EE84585C1A5CF04400DB5D00;
25 | remoteInfo = "CircleCI-Sample";
26 | };
27 | /* End PBXContainerItemProxy section */
28 |
29 | /* Begin PBXFileReference section */
30 | 2B463E74699044F717DB64AC /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; };
31 | AA4CEB3CA2FF953ADD67B556 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; };
32 | C31ED0A0A411412DCF58E20A /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
33 | EE84585D1A5CF04400DB5D00 /* CircleCI-Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CircleCI-Sample.app"; sourceTree = BUILT_PRODUCTS_DIR; };
34 | EE8458611A5CF04400DB5D00 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
35 | EE8458621A5CF04400DB5D00 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
36 | EE8458641A5CF04400DB5D00 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
37 | EE8458671A5CF04400DB5D00 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
38 | EE8458691A5CF04400DB5D00 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
39 | EE84586C1A5CF04400DB5D00 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
40 | EE8458721A5CF04400DB5D00 /* CircleCI-SampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "CircleCI-SampleTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
41 | EE8458771A5CF04400DB5D00 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
42 | EE8458781A5CF04400DB5D00 /* CircleCI_SampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CircleCI_SampleTests.swift; sourceTree = ""; };
43 | /* End PBXFileReference section */
44 |
45 | /* Begin PBXFrameworksBuildPhase section */
46 | EE84585A1A5CF04400DB5D00 /* Frameworks */ = {
47 | isa = PBXFrameworksBuildPhase;
48 | buildActionMask = 2147483647;
49 | files = (
50 | E01EC79923550B27C114D91C /* libPods.a in Frameworks */,
51 | );
52 | runOnlyForDeploymentPostprocessing = 0;
53 | };
54 | EE84586F1A5CF04400DB5D00 /* Frameworks */ = {
55 | isa = PBXFrameworksBuildPhase;
56 | buildActionMask = 2147483647;
57 | files = (
58 | );
59 | runOnlyForDeploymentPostprocessing = 0;
60 | };
61 | /* End PBXFrameworksBuildPhase section */
62 |
63 | /* Begin PBXGroup section */
64 | 04694D34806DCEC769E35A98 /* Pods */ = {
65 | isa = PBXGroup;
66 | children = (
67 | 2B463E74699044F717DB64AC /* Pods.debug.xcconfig */,
68 | AA4CEB3CA2FF953ADD67B556 /* Pods.release.xcconfig */,
69 | );
70 | name = Pods;
71 | sourceTree = "";
72 | };
73 | A3634BD29D4EF5498F4F645E /* Frameworks */ = {
74 | isa = PBXGroup;
75 | children = (
76 | C31ED0A0A411412DCF58E20A /* libPods.a */,
77 | );
78 | name = Frameworks;
79 | sourceTree = "";
80 | };
81 | EE8458541A5CF04400DB5D00 = {
82 | isa = PBXGroup;
83 | children = (
84 | EE84585F1A5CF04400DB5D00 /* CircleCI-Sample */,
85 | EE8458751A5CF04400DB5D00 /* CircleCI-SampleTests */,
86 | EE84585E1A5CF04400DB5D00 /* Products */,
87 | 04694D34806DCEC769E35A98 /* Pods */,
88 | A3634BD29D4EF5498F4F645E /* Frameworks */,
89 | );
90 | sourceTree = "";
91 | };
92 | EE84585E1A5CF04400DB5D00 /* Products */ = {
93 | isa = PBXGroup;
94 | children = (
95 | EE84585D1A5CF04400DB5D00 /* CircleCI-Sample.app */,
96 | EE8458721A5CF04400DB5D00 /* CircleCI-SampleTests.xctest */,
97 | );
98 | name = Products;
99 | sourceTree = "";
100 | };
101 | EE84585F1A5CF04400DB5D00 /* CircleCI-Sample */ = {
102 | isa = PBXGroup;
103 | children = (
104 | EE8458621A5CF04400DB5D00 /* AppDelegate.swift */,
105 | EE8458641A5CF04400DB5D00 /* ViewController.swift */,
106 | EE8458661A5CF04400DB5D00 /* Main.storyboard */,
107 | EE8458691A5CF04400DB5D00 /* Images.xcassets */,
108 | EE84586B1A5CF04400DB5D00 /* LaunchScreen.xib */,
109 | EE8458601A5CF04400DB5D00 /* Supporting Files */,
110 | );
111 | path = "CircleCI-Sample";
112 | sourceTree = "";
113 | };
114 | EE8458601A5CF04400DB5D00 /* Supporting Files */ = {
115 | isa = PBXGroup;
116 | children = (
117 | EE8458611A5CF04400DB5D00 /* Info.plist */,
118 | );
119 | name = "Supporting Files";
120 | sourceTree = "";
121 | };
122 | EE8458751A5CF04400DB5D00 /* CircleCI-SampleTests */ = {
123 | isa = PBXGroup;
124 | children = (
125 | EE8458781A5CF04400DB5D00 /* CircleCI_SampleTests.swift */,
126 | EE8458761A5CF04400DB5D00 /* Supporting Files */,
127 | );
128 | path = "CircleCI-SampleTests";
129 | sourceTree = "";
130 | };
131 | EE8458761A5CF04400DB5D00 /* Supporting Files */ = {
132 | isa = PBXGroup;
133 | children = (
134 | EE8458771A5CF04400DB5D00 /* Info.plist */,
135 | );
136 | name = "Supporting Files";
137 | sourceTree = "";
138 | };
139 | /* End PBXGroup section */
140 |
141 | /* Begin PBXNativeTarget section */
142 | EE84585C1A5CF04400DB5D00 /* CircleCI-Sample */ = {
143 | isa = PBXNativeTarget;
144 | buildConfigurationList = EE84587C1A5CF04400DB5D00 /* Build configuration list for PBXNativeTarget "CircleCI-Sample" */;
145 | buildPhases = (
146 | B6570EAE14F955E04565B922 /* Check Pods Manifest.lock */,
147 | EE8458591A5CF04400DB5D00 /* Sources */,
148 | EE84585A1A5CF04400DB5D00 /* Frameworks */,
149 | EE84585B1A5CF04400DB5D00 /* Resources */,
150 | 7C1EA4D705ECF502D6B3C267 /* Copy Pods Resources */,
151 | );
152 | buildRules = (
153 | );
154 | dependencies = (
155 | );
156 | name = "CircleCI-Sample";
157 | productName = "CircleCI-Sample";
158 | productReference = EE84585D1A5CF04400DB5D00 /* CircleCI-Sample.app */;
159 | productType = "com.apple.product-type.application";
160 | };
161 | EE8458711A5CF04400DB5D00 /* CircleCI-SampleTests */ = {
162 | isa = PBXNativeTarget;
163 | buildConfigurationList = EE84587F1A5CF04400DB5D00 /* Build configuration list for PBXNativeTarget "CircleCI-SampleTests" */;
164 | buildPhases = (
165 | EE84586E1A5CF04400DB5D00 /* Sources */,
166 | EE84586F1A5CF04400DB5D00 /* Frameworks */,
167 | EE8458701A5CF04400DB5D00 /* Resources */,
168 | );
169 | buildRules = (
170 | );
171 | dependencies = (
172 | EE8458741A5CF04400DB5D00 /* PBXTargetDependency */,
173 | );
174 | name = "CircleCI-SampleTests";
175 | productName = "CircleCI-SampleTests";
176 | productReference = EE8458721A5CF04400DB5D00 /* CircleCI-SampleTests.xctest */;
177 | productType = "com.apple.product-type.bundle.unit-test";
178 | };
179 | /* End PBXNativeTarget section */
180 |
181 | /* Begin PBXProject section */
182 | EE8458551A5CF04400DB5D00 /* Project object */ = {
183 | isa = PBXProject;
184 | attributes = {
185 | LastUpgradeCheck = 0610;
186 | ORGANIZATIONNAME = "Poly's Factory";
187 | TargetAttributes = {
188 | EE84585C1A5CF04400DB5D00 = {
189 | CreatedOnToolsVersion = 6.1.1;
190 | };
191 | EE8458711A5CF04400DB5D00 = {
192 | CreatedOnToolsVersion = 6.1.1;
193 | TestTargetID = EE84585C1A5CF04400DB5D00;
194 | };
195 | };
196 | };
197 | buildConfigurationList = EE8458581A5CF04400DB5D00 /* Build configuration list for PBXProject "CircleCI-Sample" */;
198 | compatibilityVersion = "Xcode 3.2";
199 | developmentRegion = English;
200 | hasScannedForEncodings = 0;
201 | knownRegions = (
202 | en,
203 | Base,
204 | );
205 | mainGroup = EE8458541A5CF04400DB5D00;
206 | productRefGroup = EE84585E1A5CF04400DB5D00 /* Products */;
207 | projectDirPath = "";
208 | projectRoot = "";
209 | targets = (
210 | EE84585C1A5CF04400DB5D00 /* CircleCI-Sample */,
211 | EE8458711A5CF04400DB5D00 /* CircleCI-SampleTests */,
212 | );
213 | };
214 | /* End PBXProject section */
215 |
216 | /* Begin PBXResourcesBuildPhase section */
217 | EE84585B1A5CF04400DB5D00 /* Resources */ = {
218 | isa = PBXResourcesBuildPhase;
219 | buildActionMask = 2147483647;
220 | files = (
221 | EE8458681A5CF04400DB5D00 /* Main.storyboard in Resources */,
222 | EE84586D1A5CF04400DB5D00 /* LaunchScreen.xib in Resources */,
223 | EE84586A1A5CF04400DB5D00 /* Images.xcassets in Resources */,
224 | );
225 | runOnlyForDeploymentPostprocessing = 0;
226 | };
227 | EE8458701A5CF04400DB5D00 /* Resources */ = {
228 | isa = PBXResourcesBuildPhase;
229 | buildActionMask = 2147483647;
230 | files = (
231 | );
232 | runOnlyForDeploymentPostprocessing = 0;
233 | };
234 | /* End PBXResourcesBuildPhase section */
235 |
236 | /* Begin PBXShellScriptBuildPhase section */
237 | 7C1EA4D705ECF502D6B3C267 /* Copy Pods Resources */ = {
238 | isa = PBXShellScriptBuildPhase;
239 | buildActionMask = 2147483647;
240 | files = (
241 | );
242 | inputPaths = (
243 | );
244 | name = "Copy Pods Resources";
245 | outputPaths = (
246 | );
247 | runOnlyForDeploymentPostprocessing = 0;
248 | shellPath = /bin/sh;
249 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
250 | showEnvVarsInLog = 0;
251 | };
252 | B6570EAE14F955E04565B922 /* Check Pods Manifest.lock */ = {
253 | isa = PBXShellScriptBuildPhase;
254 | buildActionMask = 2147483647;
255 | files = (
256 | );
257 | inputPaths = (
258 | );
259 | name = "Check Pods Manifest.lock";
260 | outputPaths = (
261 | );
262 | runOnlyForDeploymentPostprocessing = 0;
263 | shellPath = /bin/sh;
264 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
265 | showEnvVarsInLog = 0;
266 | };
267 | /* End PBXShellScriptBuildPhase section */
268 |
269 | /* Begin PBXSourcesBuildPhase section */
270 | EE8458591A5CF04400DB5D00 /* Sources */ = {
271 | isa = PBXSourcesBuildPhase;
272 | buildActionMask = 2147483647;
273 | files = (
274 | EE8458651A5CF04400DB5D00 /* ViewController.swift in Sources */,
275 | EE8458631A5CF04400DB5D00 /* AppDelegate.swift in Sources */,
276 | );
277 | runOnlyForDeploymentPostprocessing = 0;
278 | };
279 | EE84586E1A5CF04400DB5D00 /* Sources */ = {
280 | isa = PBXSourcesBuildPhase;
281 | buildActionMask = 2147483647;
282 | files = (
283 | EE8458791A5CF04400DB5D00 /* CircleCI_SampleTests.swift in Sources */,
284 | );
285 | runOnlyForDeploymentPostprocessing = 0;
286 | };
287 | /* End PBXSourcesBuildPhase section */
288 |
289 | /* Begin PBXTargetDependency section */
290 | EE8458741A5CF04400DB5D00 /* PBXTargetDependency */ = {
291 | isa = PBXTargetDependency;
292 | target = EE84585C1A5CF04400DB5D00 /* CircleCI-Sample */;
293 | targetProxy = EE8458731A5CF04400DB5D00 /* PBXContainerItemProxy */;
294 | };
295 | /* End PBXTargetDependency section */
296 |
297 | /* Begin PBXVariantGroup section */
298 | EE8458661A5CF04400DB5D00 /* Main.storyboard */ = {
299 | isa = PBXVariantGroup;
300 | children = (
301 | EE8458671A5CF04400DB5D00 /* Base */,
302 | );
303 | name = Main.storyboard;
304 | sourceTree = "";
305 | };
306 | EE84586B1A5CF04400DB5D00 /* LaunchScreen.xib */ = {
307 | isa = PBXVariantGroup;
308 | children = (
309 | EE84586C1A5CF04400DB5D00 /* Base */,
310 | );
311 | name = LaunchScreen.xib;
312 | sourceTree = "";
313 | };
314 | /* End PBXVariantGroup section */
315 |
316 | /* Begin XCBuildConfiguration section */
317 | EE84587A1A5CF04400DB5D00 /* Debug */ = {
318 | isa = XCBuildConfiguration;
319 | buildSettings = {
320 | ALWAYS_SEARCH_USER_PATHS = NO;
321 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
322 | CLANG_CXX_LIBRARY = "libc++";
323 | CLANG_ENABLE_MODULES = YES;
324 | CLANG_ENABLE_OBJC_ARC = YES;
325 | CLANG_WARN_BOOL_CONVERSION = YES;
326 | CLANG_WARN_CONSTANT_CONVERSION = YES;
327 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
328 | CLANG_WARN_EMPTY_BODY = YES;
329 | CLANG_WARN_ENUM_CONVERSION = YES;
330 | CLANG_WARN_INT_CONVERSION = YES;
331 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
332 | CLANG_WARN_UNREACHABLE_CODE = YES;
333 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
334 | CODE_SIGN_IDENTITY = "iPhone Developer";
335 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
336 | CODE_SIGN_RESOURCE_RULES_PATH = "$(SDKROOT)/ResourceRules.plist";
337 | COPY_PHASE_STRIP = NO;
338 | ENABLE_STRICT_OBJC_MSGSEND = YES;
339 | GCC_C_LANGUAGE_STANDARD = gnu99;
340 | GCC_DYNAMIC_NO_PIC = NO;
341 | GCC_OPTIMIZATION_LEVEL = 0;
342 | GCC_PREPROCESSOR_DEFINITIONS = (
343 | "DEBUG=1",
344 | "$(inherited)",
345 | );
346 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
347 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
348 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
349 | GCC_WARN_UNDECLARED_SELECTOR = YES;
350 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
351 | GCC_WARN_UNUSED_FUNCTION = YES;
352 | GCC_WARN_UNUSED_VARIABLE = YES;
353 | IPHONEOS_DEPLOYMENT_TARGET = 8.1;
354 | MTL_ENABLE_DEBUG_INFO = YES;
355 | ONLY_ACTIVE_ARCH = YES;
356 | SDKROOT = iphoneos;
357 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
358 | TARGETED_DEVICE_FAMILY = "1,2";
359 | };
360 | name = Debug;
361 | };
362 | EE84587B1A5CF04400DB5D00 /* Release */ = {
363 | isa = XCBuildConfiguration;
364 | buildSettings = {
365 | ALWAYS_SEARCH_USER_PATHS = NO;
366 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
367 | CLANG_CXX_LIBRARY = "libc++";
368 | CLANG_ENABLE_MODULES = YES;
369 | CLANG_ENABLE_OBJC_ARC = YES;
370 | CLANG_WARN_BOOL_CONVERSION = YES;
371 | CLANG_WARN_CONSTANT_CONVERSION = YES;
372 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
373 | CLANG_WARN_EMPTY_BODY = YES;
374 | CLANG_WARN_ENUM_CONVERSION = YES;
375 | CLANG_WARN_INT_CONVERSION = YES;
376 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
377 | CLANG_WARN_UNREACHABLE_CODE = YES;
378 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
379 | CODE_SIGN_IDENTITY = "iPhone Distribution";
380 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
381 | CODE_SIGN_RESOURCE_RULES_PATH = "$(SDKROOT)/ResourceRules.plist";
382 | COPY_PHASE_STRIP = YES;
383 | ENABLE_NS_ASSERTIONS = NO;
384 | ENABLE_STRICT_OBJC_MSGSEND = YES;
385 | GCC_C_LANGUAGE_STANDARD = gnu99;
386 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
387 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
388 | GCC_WARN_UNDECLARED_SELECTOR = YES;
389 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
390 | GCC_WARN_UNUSED_FUNCTION = YES;
391 | GCC_WARN_UNUSED_VARIABLE = YES;
392 | IPHONEOS_DEPLOYMENT_TARGET = 8.1;
393 | MTL_ENABLE_DEBUG_INFO = NO;
394 | SDKROOT = iphoneos;
395 | TARGETED_DEVICE_FAMILY = "1,2";
396 | VALIDATE_PRODUCT = YES;
397 | };
398 | name = Release;
399 | };
400 | EE84587D1A5CF04400DB5D00 /* Debug */ = {
401 | isa = XCBuildConfiguration;
402 | baseConfigurationReference = 2B463E74699044F717DB64AC /* Pods.debug.xcconfig */;
403 | buildSettings = {
404 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
405 | INFOPLIST_FILE = "CircleCI-Sample/Info.plist";
406 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
407 | PRODUCT_NAME = "$(TARGET_NAME)";
408 | };
409 | name = Debug;
410 | };
411 | EE84587E1A5CF04400DB5D00 /* Release */ = {
412 | isa = XCBuildConfiguration;
413 | baseConfigurationReference = AA4CEB3CA2FF953ADD67B556 /* Pods.release.xcconfig */;
414 | buildSettings = {
415 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
416 | INFOPLIST_FILE = "CircleCI-Sample/Info.plist";
417 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
418 | PRODUCT_NAME = "$(TARGET_NAME)";
419 | };
420 | name = Release;
421 | };
422 | EE8458801A5CF04400DB5D00 /* Debug */ = {
423 | isa = XCBuildConfiguration;
424 | buildSettings = {
425 | BUNDLE_LOADER = "$(TEST_HOST)";
426 | FRAMEWORK_SEARCH_PATHS = (
427 | "$(SDKROOT)/Developer/Library/Frameworks",
428 | "$(inherited)",
429 | );
430 | GCC_PREPROCESSOR_DEFINITIONS = (
431 | "DEBUG=1",
432 | "$(inherited)",
433 | );
434 | INFOPLIST_FILE = "CircleCI-SampleTests/Info.plist";
435 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
436 | PRODUCT_NAME = "$(TARGET_NAME)";
437 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CircleCI-Sample.app/CircleCI-Sample";
438 | };
439 | name = Debug;
440 | };
441 | EE8458811A5CF04400DB5D00 /* Release */ = {
442 | isa = XCBuildConfiguration;
443 | buildSettings = {
444 | BUNDLE_LOADER = "$(TEST_HOST)";
445 | FRAMEWORK_SEARCH_PATHS = (
446 | "$(SDKROOT)/Developer/Library/Frameworks",
447 | "$(inherited)",
448 | );
449 | INFOPLIST_FILE = "CircleCI-SampleTests/Info.plist";
450 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
451 | PRODUCT_NAME = "$(TARGET_NAME)";
452 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CircleCI-Sample.app/CircleCI-Sample";
453 | };
454 | name = Release;
455 | };
456 | /* End XCBuildConfiguration section */
457 |
458 | /* Begin XCConfigurationList section */
459 | EE8458581A5CF04400DB5D00 /* Build configuration list for PBXProject "CircleCI-Sample" */ = {
460 | isa = XCConfigurationList;
461 | buildConfigurations = (
462 | EE84587A1A5CF04400DB5D00 /* Debug */,
463 | EE84587B1A5CF04400DB5D00 /* Release */,
464 | );
465 | defaultConfigurationIsVisible = 0;
466 | defaultConfigurationName = Release;
467 | };
468 | EE84587C1A5CF04400DB5D00 /* Build configuration list for PBXNativeTarget "CircleCI-Sample" */ = {
469 | isa = XCConfigurationList;
470 | buildConfigurations = (
471 | EE84587D1A5CF04400DB5D00 /* Debug */,
472 | EE84587E1A5CF04400DB5D00 /* Release */,
473 | );
474 | defaultConfigurationIsVisible = 0;
475 | defaultConfigurationName = Release;
476 | };
477 | EE84587F1A5CF04400DB5D00 /* Build configuration list for PBXNativeTarget "CircleCI-SampleTests" */ = {
478 | isa = XCConfigurationList;
479 | buildConfigurations = (
480 | EE8458801A5CF04400DB5D00 /* Debug */,
481 | EE8458811A5CF04400DB5D00 /* Release */,
482 | );
483 | defaultConfigurationIsVisible = 0;
484 | defaultConfigurationName = Release;
485 | };
486 | /* End XCConfigurationList section */
487 | };
488 | rootObject = EE8458551A5CF04400DB5D00 /* Project object */;
489 | }
490 |
--------------------------------------------------------------------------------