Skip to content

Commit 5489a31

Browse files
committed
Merge pull request #56 from ReactKit/universal-framework
Create universal framework to support watchOS & tvOS by using xcconfigs.
2 parents 68ae3e6 + 392e788 commit 5489a31

File tree

14 files changed

+147
-283
lines changed

14 files changed

+147
-283
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ DerivedData
1717
*.xcuserstate
1818

1919
Carthage/Build
20+
.build
21+
Packages/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "Carthage/Checkouts/Async"]
55
path = Carthage/Checkouts/Async
66
url = https://github.com/duemunk/Async.git
7+
[submodule "Carthage/Checkouts/xcconfigs"]
8+
path = Carthage/Checkouts/xcconfigs
9+
url = https://github.com/mrackwitz/xcconfigs.git

Cartfile.private

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
github "Alamofire/Alamofire" ~> 3.1.3
2-
github "duemunk/Async" ~> 1.6.4
2+
github "duemunk/Async" ~> 1.6.4
3+
github "mrackwitz/xcconfigs"

Cartfile.resolved

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
github "Alamofire/Alamofire" "3.1.3"
1+
github "Alamofire/Alamofire" "3.1.5"
22
github "duemunk/Async" "1.6.4"
3+
github "mrackwitz/xcconfigs" "3.0"

Carthage/Checkouts/Alamofire

Submodule Alamofire updated 59 files

Carthage/Checkouts/xcconfigs

Submodule xcconfigs added at 6b2682f

Configurations/Base.xcconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// Base.xcconfig
3+
// SwiftTask
4+
//
5+
// Created by Yasuhiro Inami on 2016-01-30.
6+
// Copyright © 2015 Yasuhiro Inami. All rights reserved.
7+
//
8+
9+
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer;
10+
MACOSX_DEPLOYMENT_TARGET = 10.9;
11+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
12+
WATCHOS_DEPLOYMENT_TARGET = 2.0;
13+
TVOS_DEPLOYMENT_TARGET = 9.0;

Configurations/Debug.xcconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
//
2+
// Debug.xcconfig
3+
// SwiftTask
4+
//
5+
// Created by Yasuhiro Inami on 2016-01-30.
6+
// Copyright © 2015 Yasuhiro Inami. All rights reserved.
7+
//
8+
9+
#include "Base.xcconfig"
10+
11+
SWIFT_OPTIMIZATION_LEVEL = -Onone;

Configurations/Release.xcconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
//
2+
// Release.xcconfig
3+
// SwiftTask
4+
//
5+
// Created by Yasuhiro Inami on 2016-01-30.
6+
// Copyright © 2015 Yasuhiro Inami. All rights reserved.
7+
//
8+
9+
#include "Base.xcconfig"
10+
11+
SWIFT_OPTIMIZATION_LEVEL = -Owholemodule;

SwiftTask.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ Pod::Spec.new do |s|
1111

1212
s.osx.deployment_target = '10.9'
1313
s.ios.deployment_target = '8.0'
14+
s.watchos.deployment_target = '2.0'
1415
s.tvos.deployment_target = '9.0'
1516
end

0 commit comments

Comments
 (0)