Skip to content

Commit 7cd2738

Browse files
committed
Add Xcodeproj-target for iOS-framework.
1 parent 1c9cff7 commit 7cd2738

File tree

3 files changed

+128
-17
lines changed

3 files changed

+128
-17
lines changed

SwiftTask.xcodeproj/project.pbxproj

Lines changed: 126 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
1F46DEDA199EDF1000F97868 /* SwiftTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F46DED9199EDF1000F97868 /* SwiftTask.h */; settings = {ATTRIBUTES = (Public, ); }; };
1313
1F46DEFB199EDF8100F97868 /* SwiftTask.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F46DEFA199EDF8100F97868 /* SwiftTask.swift */; };
1414
1F46DEFD199EE2C200F97868 /* _TestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F46DEFC199EE2C200F97868 /* _TestCase.swift */; };
15+
1F53421819B4998A00CB93D9 /* SwiftTask.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F46DED4199EDF1000F97868 /* SwiftTask.framework */; };
1516
1F6A8CA319A4E4F200369A5D /* SwiftTaskTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F46DEE3199EDF1000F97868 /* SwiftTaskTests.swift */; };
1617
1F6A8CA619A5090E00369A5D /* AlamofireTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F5FA35619A374E600975FB9 /* AlamofireTests.swift */; };
17-
1FA4634819A8D72500DD8729 /* SwiftState.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FA4634319A8D70A00DD8729 /* SwiftState.framework */; };
1818
1FA4634919A8D73300DD8729 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FA4631719A8D70A00DD8729 /* Alamofire.swift */; };
19+
48797D6619B42CEF0085D80F /* SwiftState.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FA4634319A8D70A00DD8729 /* SwiftState.framework */; };
20+
48797D6719B42CF30085D80F /* SwiftState.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FA4634319A8D70A00DD8729 /* SwiftState.framework */; };
21+
48CD5A3C19AEEBDF0042B9F1 /* SwiftTask.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F46DEFA199EDF8100F97868 /* SwiftTask.swift */; };
22+
48CD5A4619AEEC2E0042B9F1 /* SwiftTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F46DED9199EDF1000F97868 /* SwiftTask.h */; settings = {ATTRIBUTES = (Public, ); }; };
1923
/* End PBXBuildFile section */
2024

2125
/* Begin PBXContainerItemProxy section */
@@ -33,12 +37,12 @@
3337
remoteGlobalIDString = 1FA6200B1996601000460108;
3438
remoteInfo = SwiftStateTests;
3539
};
36-
1FA4634619A8D72100DD8729 /* PBXContainerItemProxy */ = {
40+
4872D5C719B423D600F326B5 /* PBXContainerItemProxy */ = {
3741
isa = PBXContainerItemProxy;
3842
containerPortal = 1FA4633019A8D70A00DD8729 /* SwiftState.xcodeproj */;
39-
proxyType = 1;
40-
remoteGlobalIDString = 1FA61FFF1996601000460108;
41-
remoteInfo = SwiftState;
43+
proxyType = 2;
44+
remoteGlobalIDString = 4872D5AC19B4211900F326B5;
45+
remoteInfo = "SwiftState-iOS";
4246
};
4347
/* End PBXContainerItemProxy section */
4448

@@ -56,21 +60,31 @@
5660
1F5FA35619A374E600975FB9 /* AlamofireTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AlamofireTests.swift; sourceTree = "<group>"; };
5761
1FA4631719A8D70A00DD8729 /* Alamofire.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Alamofire.swift; sourceTree = "<group>"; };
5862
1FA4633019A8D70A00DD8729 /* SwiftState.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = SwiftState.xcodeproj; sourceTree = "<group>"; };
63+
48CD5A0C19AEE3570042B9F1 /* SwiftTask.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftTask.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5964
/* End PBXFileReference section */
6065

6166
/* Begin PBXFrameworksBuildPhase section */
6267
1F46DED0199EDF1000F97868 /* Frameworks */ = {
6368
isa = PBXFrameworksBuildPhase;
6469
buildActionMask = 2147483647;
6570
files = (
66-
1FA4634819A8D72500DD8729 /* SwiftState.framework in Frameworks */,
71+
48797D6719B42CF30085D80F /* SwiftState.framework in Frameworks */,
6772
);
6873
runOnlyForDeploymentPostprocessing = 0;
6974
};
7075
1F46DEDC199EDF1000F97868 /* Frameworks */ = {
7176
isa = PBXFrameworksBuildPhase;
7277
buildActionMask = 2147483647;
7378
files = (
79+
1F53421819B4998A00CB93D9 /* SwiftTask.framework in Frameworks */,
80+
);
81+
runOnlyForDeploymentPostprocessing = 0;
82+
};
83+
48CD5A0819AEE3570042B9F1 /* Frameworks */ = {
84+
isa = PBXFrameworksBuildPhase;
85+
buildActionMask = 2147483647;
86+
files = (
87+
48797D6619B42CEF0085D80F /* SwiftState.framework in Frameworks */,
7488
);
7589
runOnlyForDeploymentPostprocessing = 0;
7690
};
@@ -92,6 +106,7 @@
92106
children = (
93107
1F46DED4199EDF1000F97868 /* SwiftTask.framework */,
94108
1F46DEDF199EDF1000F97868 /* SwiftTaskTests.xctest */,
109+
48CD5A0C19AEE3570042B9F1 /* SwiftTask.framework */,
95110
);
96111
name = Products;
97112
sourceTree = "<group>";
@@ -173,6 +188,7 @@
173188
children = (
174189
1FA4634319A8D70A00DD8729 /* SwiftState.framework */,
175190
1FA4634519A8D70A00DD8729 /* SwiftStateTests.xctest */,
191+
4872D5C819B423D600F326B5 /* SwiftState-iOS.framework */,
176192
);
177193
name = Products;
178194
sourceTree = "<group>";
@@ -188,6 +204,14 @@
188204
);
189205
runOnlyForDeploymentPostprocessing = 0;
190206
};
207+
48CD5A0919AEE3570042B9F1 /* Headers */ = {
208+
isa = PBXHeadersBuildPhase;
209+
buildActionMask = 2147483647;
210+
files = (
211+
48CD5A4619AEEC2E0042B9F1 /* SwiftTask.h in Headers */,
212+
);
213+
runOnlyForDeploymentPostprocessing = 0;
214+
};
191215
/* End PBXHeadersBuildPhase section */
192216

193217
/* Begin PBXNativeTarget section */
@@ -203,7 +227,6 @@
203227
buildRules = (
204228
);
205229
dependencies = (
206-
1FA4634719A8D72100DD8729 /* PBXTargetDependency */,
207230
);
208231
name = SwiftTask;
209232
productName = SwiftTask;
@@ -227,6 +250,24 @@
227250
productReference = 1F46DEDF199EDF1000F97868 /* SwiftTaskTests.xctest */;
228251
productType = "com.apple.product-type.bundle.unit-test";
229252
};
253+
48CD5A0B19AEE3570042B9F1 /* SwiftTask-iOS */ = {
254+
isa = PBXNativeTarget;
255+
buildConfigurationList = 48CD5A2019AEE3570042B9F1 /* Build configuration list for PBXNativeTarget "SwiftTask-iOS" */;
256+
buildPhases = (
257+
48CD5A0719AEE3570042B9F1 /* Sources */,
258+
48CD5A0819AEE3570042B9F1 /* Frameworks */,
259+
48CD5A0919AEE3570042B9F1 /* Headers */,
260+
48CD5A0A19AEE3570042B9F1 /* Resources */,
261+
);
262+
buildRules = (
263+
);
264+
dependencies = (
265+
);
266+
name = "SwiftTask-iOS";
267+
productName = "SwiftTask-iOS";
268+
productReference = 48CD5A0C19AEE3570042B9F1 /* SwiftTask.framework */;
269+
productType = "com.apple.product-type.framework";
270+
};
230271
/* End PBXNativeTarget section */
231272

232273
/* Begin PBXProject section */
@@ -242,6 +283,9 @@
242283
1F46DEDE199EDF1000F97868 = {
243284
CreatedOnToolsVersion = 6.0;
244285
};
286+
48CD5A0B19AEE3570042B9F1 = {
287+
CreatedOnToolsVersion = 6.0;
288+
};
245289
};
246290
};
247291
buildConfigurationList = 1F46DECE199EDF1000F97868 /* Build configuration list for PBXProject "SwiftTask" */;
@@ -264,6 +308,7 @@
264308
targets = (
265309
1F46DED3199EDF1000F97868 /* SwiftTask */,
266310
1F46DEDE199EDF1000F97868 /* SwiftTaskTests */,
311+
48CD5A0B19AEE3570042B9F1 /* SwiftTask-iOS */,
267312
);
268313
};
269314
/* End PBXProject section */
@@ -283,6 +328,13 @@
283328
remoteRef = 1FA4634419A8D70A00DD8729 /* PBXContainerItemProxy */;
284329
sourceTree = BUILT_PRODUCTS_DIR;
285330
};
331+
4872D5C819B423D600F326B5 /* SwiftState-iOS.framework */ = {
332+
isa = PBXReferenceProxy;
333+
fileType = wrapper.framework;
334+
path = SwiftState.framework;
335+
remoteRef = 4872D5C719B423D600F326B5 /* PBXContainerItemProxy */;
336+
sourceTree = BUILT_PRODUCTS_DIR;
337+
};
286338
/* End PBXReferenceProxy section */
287339

288340
/* Begin PBXResourcesBuildPhase section */
@@ -300,6 +352,13 @@
300352
);
301353
runOnlyForDeploymentPostprocessing = 0;
302354
};
355+
48CD5A0A19AEE3570042B9F1 /* Resources */ = {
356+
isa = PBXResourcesBuildPhase;
357+
buildActionMask = 2147483647;
358+
files = (
359+
);
360+
runOnlyForDeploymentPostprocessing = 0;
361+
};
303362
/* End PBXResourcesBuildPhase section */
304363

305364
/* Begin PBXSourcesBuildPhase section */
@@ -324,15 +383,15 @@
324383
);
325384
runOnlyForDeploymentPostprocessing = 0;
326385
};
327-
/* End PBXSourcesBuildPhase section */
328-
329-
/* Begin PBXTargetDependency section */
330-
1FA4634719A8D72100DD8729 /* PBXTargetDependency */ = {
331-
isa = PBXTargetDependency;
332-
name = SwiftState;
333-
targetProxy = 1FA4634619A8D72100DD8729 /* PBXContainerItemProxy */;
386+
48CD5A0719AEE3570042B9F1 /* Sources */ = {
387+
isa = PBXSourcesBuildPhase;
388+
buildActionMask = 2147483647;
389+
files = (
390+
48CD5A3C19AEEBDF0042B9F1 /* SwiftTask.swift in Sources */,
391+
);
392+
runOnlyForDeploymentPostprocessing = 0;
334393
};
335-
/* End PBXTargetDependency section */
394+
/* End PBXSourcesBuildPhase section */
336395

337396
/* Begin XCBuildConfiguration section */
338397
1F46DEE5199EDF1000F97868 /* Debug */ = {
@@ -369,6 +428,7 @@
369428
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
370429
GCC_WARN_UNUSED_FUNCTION = YES;
371430
GCC_WARN_UNUSED_VARIABLE = YES;
431+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
372432
MACOSX_DEPLOYMENT_TARGET = 10.9;
373433
MTL_ENABLE_DEBUG_INFO = YES;
374434
ONLY_ACTIVE_ARCH = YES;
@@ -409,6 +469,7 @@
409469
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
410470
GCC_WARN_UNUSED_FUNCTION = YES;
411471
GCC_WARN_UNUSED_VARIABLE = YES;
472+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
412473
MACOSX_DEPLOYMENT_TARGET = 10.9;
413474
MTL_ENABLE_DEBUG_INFO = NO;
414475
SDKROOT = macosx;
@@ -486,6 +547,47 @@
486547
};
487548
name = Release;
488549
};
550+
48CD5A1C19AEE3570042B9F1 /* Debug */ = {
551+
isa = XCBuildConfiguration;
552+
buildSettings = {
553+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
554+
DEFINES_MODULE = YES;
555+
DYLIB_COMPATIBILITY_VERSION = 1;
556+
DYLIB_CURRENT_VERSION = 1;
557+
DYLIB_INSTALL_NAME_BASE = "@rpath";
558+
GCC_PREPROCESSOR_DEFINITIONS = (
559+
"DEBUG=1",
560+
"$(inherited)",
561+
);
562+
INFOPLIST_FILE = SwiftTask/Info.plist;
563+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
564+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
565+
PRODUCT_NAME = SwiftTask;
566+
SDKROOT = iphoneos;
567+
SKIP_INSTALL = YES;
568+
TARGETED_DEVICE_FAMILY = "1,2";
569+
};
570+
name = Debug;
571+
};
572+
48CD5A1D19AEE3570042B9F1 /* Release */ = {
573+
isa = XCBuildConfiguration;
574+
buildSettings = {
575+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
576+
DEFINES_MODULE = YES;
577+
DYLIB_COMPATIBILITY_VERSION = 1;
578+
DYLIB_CURRENT_VERSION = 1;
579+
DYLIB_INSTALL_NAME_BASE = "@rpath";
580+
INFOPLIST_FILE = SwiftTask/Info.plist;
581+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
582+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
583+
PRODUCT_NAME = SwiftTask;
584+
SDKROOT = iphoneos;
585+
SKIP_INSTALL = YES;
586+
TARGETED_DEVICE_FAMILY = "1,2";
587+
VALIDATE_PRODUCT = YES;
588+
};
589+
name = Release;
590+
};
489591
/* End XCBuildConfiguration section */
490592

491593
/* Begin XCConfigurationList section */
@@ -516,6 +618,15 @@
516618
defaultConfigurationIsVisible = 0;
517619
defaultConfigurationName = Release;
518620
};
621+
48CD5A2019AEE3570042B9F1 /* Build configuration list for PBXNativeTarget "SwiftTask-iOS" */ = {
622+
isa = XCConfigurationList;
623+
buildConfigurations = (
624+
48CD5A1C19AEE3570042B9F1 /* Debug */,
625+
48CD5A1D19AEE3570042B9F1 /* Release */,
626+
);
627+
defaultConfigurationIsVisible = 0;
628+
defaultConfigurationName = Release;
629+
};
519630
/* End XCConfigurationList section */
520631
};
521632
rootObject = 1F46DECB199EDF1000F97868 /* Project object */;

SwiftTask/SwiftTask.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright (c) 2014年 Yasuhiro Inami. All rights reserved.
77
//
88

9-
#import <Cocoa/Cocoa.h>
9+
#import <Foundation/Foundation.h>
1010

1111
//! Project version number for SwiftTask.
1212
FOUNDATION_EXPORT double SwiftTaskVersionNumber;

Vendor/SwiftState

0 commit comments

Comments
 (0)