Skip to content

Commit daff94d

Browse files
committed
新增一个 target
1 parent 069195b commit daff94d

3 files changed

Lines changed: 125 additions & 0 deletions

File tree

CocoaPodsDemo/BSStaticLibraryOne/BSStaticLibraryOne.xcodeproj/project.pbxproj

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
9B0B71951E20DE7B005D11BA /* BSStaticLibraryOne+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0B71941E20DE7B005D11BA /* BSStaticLibraryOne+Extension.m */; };
1313
9B0B71BC1E20E3A0005D11BA /* BSStaticLibraryOne.h in Headers */ = {isa = PBXBuildFile; fileRef = 9B0B718A1E20DD5A005D11BA /* BSStaticLibraryOne.h */; settings = {ATTRIBUTES = (Public, ); }; };
1414
9B0B71BD1E20E3A0005D11BA /* BSStaticLibraryOne+Extension.h in Headers */ = {isa = PBXBuildFile; fileRef = 9B0B71931E20DE7B005D11BA /* BSStaticLibraryOne+Extension.h */; settings = {ATTRIBUTES = (Public, ); }; };
15+
9B53E8551E223564005F74C6 /* BSStaticLibraryTwo.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B53E8541E223564005F74C6 /* BSStaticLibraryTwo.m */; };
16+
9B53E8561E223564005F74C6 /* BSStaticLibraryTwo.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 9B53E8531E223564005F74C6 /* BSStaticLibraryTwo.h */; };
17+
9B53E85B1E224C62005F74C6 /* BSStaticLibraryTwo.h in Headers */ = {isa = PBXBuildFile; fileRef = 9B53E8531E223564005F74C6 /* BSStaticLibraryTwo.h */; settings = {ATTRIBUTES = (Public, ); }; };
1518
/* End PBXBuildFile section */
1619

1720
/* Begin PBXCopyFilesBuildPhase section */
@@ -25,6 +28,16 @@
2528
);
2629
runOnlyForDeploymentPostprocessing = 0;
2730
};
31+
9B53E84F1E223564005F74C6 /* CopyFiles */ = {
32+
isa = PBXCopyFilesBuildPhase;
33+
buildActionMask = 2147483647;
34+
dstPath = "include/$(PRODUCT_NAME)";
35+
dstSubfolderSpec = 16;
36+
files = (
37+
9B53E8561E223564005F74C6 /* BSStaticLibraryTwo.h in CopyFiles */,
38+
);
39+
runOnlyForDeploymentPostprocessing = 0;
40+
};
2841
/* End PBXCopyFilesBuildPhase section */
2942

3043
/* Begin PBXFileReference section */
@@ -33,6 +46,9 @@
3346
9B0B718B1E20DD5A005D11BA /* BSStaticLibraryOne.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BSStaticLibraryOne.m; sourceTree = "<group>"; };
3447
9B0B71931E20DE7B005D11BA /* BSStaticLibraryOne+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "BSStaticLibraryOne+Extension.h"; sourceTree = "<group>"; };
3548
9B0B71941E20DE7B005D11BA /* BSStaticLibraryOne+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "BSStaticLibraryOne+Extension.m"; sourceTree = "<group>"; };
49+
9B53E8511E223564005F74C6 /* libBSStaticLibraryTwo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libBSStaticLibraryTwo.a; sourceTree = BUILT_PRODUCTS_DIR; };
50+
9B53E8531E223564005F74C6 /* BSStaticLibraryTwo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BSStaticLibraryTwo.h; sourceTree = "<group>"; };
51+
9B53E8541E223564005F74C6 /* BSStaticLibraryTwo.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BSStaticLibraryTwo.m; sourceTree = "<group>"; };
3652
/* End PBXFileReference section */
3753

3854
/* Begin PBXFrameworksBuildPhase section */
@@ -43,13 +59,21 @@
4359
);
4460
runOnlyForDeploymentPostprocessing = 0;
4561
};
62+
9B53E84E1E223564005F74C6 /* Frameworks */ = {
63+
isa = PBXFrameworksBuildPhase;
64+
buildActionMask = 2147483647;
65+
files = (
66+
);
67+
runOnlyForDeploymentPostprocessing = 0;
68+
};
4669
/* End PBXFrameworksBuildPhase section */
4770

4871
/* Begin PBXGroup section */
4972
9B0B717E1E20DD5A005D11BA = {
5073
isa = PBXGroup;
5174
children = (
5275
9B0B71891E20DD5A005D11BA /* BSStaticLibraryOne */,
76+
9B53E8521E223564005F74C6 /* BSStaticLibraryTwo */,
5377
9B0B71881E20DD5A005D11BA /* Products */,
5478
);
5579
sourceTree = "<group>";
@@ -58,6 +82,7 @@
5882
isa = PBXGroup;
5983
children = (
6084
9B0B71871E20DD5A005D11BA /* libBSStaticLibraryOne.a */,
85+
9B53E8511E223564005F74C6 /* libBSStaticLibraryTwo.a */,
6186
);
6287
name = Products;
6388
sourceTree = "<group>";
@@ -73,6 +98,15 @@
7398
path = BSStaticLibraryOne;
7499
sourceTree = "<group>";
75100
};
101+
9B53E8521E223564005F74C6 /* BSStaticLibraryTwo */ = {
102+
isa = PBXGroup;
103+
children = (
104+
9B53E8531E223564005F74C6 /* BSStaticLibraryTwo.h */,
105+
9B53E8541E223564005F74C6 /* BSStaticLibraryTwo.m */,
106+
);
107+
path = BSStaticLibraryTwo;
108+
sourceTree = "<group>";
109+
};
76110
/* End PBXGroup section */
77111

78112
/* Begin PBXHeadersBuildPhase section */
@@ -85,6 +119,14 @@
85119
);
86120
runOnlyForDeploymentPostprocessing = 0;
87121
};
122+
9B53E85A1E224C5B005F74C6 /* Headers */ = {
123+
isa = PBXHeadersBuildPhase;
124+
buildActionMask = 2147483647;
125+
files = (
126+
9B53E85B1E224C62005F74C6 /* BSStaticLibraryTwo.h in Headers */,
127+
);
128+
runOnlyForDeploymentPostprocessing = 0;
129+
};
88130
/* End PBXHeadersBuildPhase section */
89131

90132
/* Begin PBXNativeTarget section */
@@ -106,6 +148,24 @@
106148
productReference = 9B0B71871E20DD5A005D11BA /* libBSStaticLibraryOne.a */;
107149
productType = "com.apple.product-type.library.static";
108150
};
151+
9B53E8501E223564005F74C6 /* BSStaticLibraryTwo */ = {
152+
isa = PBXNativeTarget;
153+
buildConfigurationList = 9B53E8571E223564005F74C6 /* Build configuration list for PBXNativeTarget "BSStaticLibraryTwo" */;
154+
buildPhases = (
155+
9B53E84D1E223564005F74C6 /* Sources */,
156+
9B53E84E1E223564005F74C6 /* Frameworks */,
157+
9B53E84F1E223564005F74C6 /* CopyFiles */,
158+
9B53E85A1E224C5B005F74C6 /* Headers */,
159+
);
160+
buildRules = (
161+
);
162+
dependencies = (
163+
);
164+
name = BSStaticLibraryTwo;
165+
productName = BSStaticLibraryTwo;
166+
productReference = 9B53E8511E223564005F74C6 /* libBSStaticLibraryTwo.a */;
167+
productType = "com.apple.product-type.library.static";
168+
};
109169
/* End PBXNativeTarget section */
110170

111171
/* Begin PBXProject section */
@@ -119,6 +179,10 @@
119179
CreatedOnToolsVersion = 8.2;
120180
ProvisioningStyle = Automatic;
121181
};
182+
9B53E8501E223564005F74C6 = {
183+
CreatedOnToolsVersion = 8.2;
184+
ProvisioningStyle = Automatic;
185+
};
122186
};
123187
};
124188
buildConfigurationList = 9B0B71821E20DD5A005D11BA /* Build configuration list for PBXProject "BSStaticLibraryOne" */;
@@ -134,6 +198,7 @@
134198
projectRoot = "";
135199
targets = (
136200
9B0B71861E20DD5A005D11BA /* BSStaticLibraryOne */,
201+
9B53E8501E223564005F74C6 /* BSStaticLibraryTwo */,
137202
);
138203
};
139204
/* End PBXProject section */
@@ -148,6 +213,14 @@
148213
);
149214
runOnlyForDeploymentPostprocessing = 0;
150215
};
216+
9B53E84D1E223564005F74C6 /* Sources */ = {
217+
isa = PBXSourcesBuildPhase;
218+
buildActionMask = 2147483647;
219+
files = (
220+
9B53E8551E223564005F74C6 /* BSStaticLibraryTwo.m in Sources */,
221+
);
222+
runOnlyForDeploymentPostprocessing = 0;
223+
};
151224
/* End PBXSourcesBuildPhase section */
152225

153226
/* Begin XCBuildConfiguration section */
@@ -259,6 +332,24 @@
259332
};
260333
name = Release;
261334
};
335+
9B53E8581E223564005F74C6 /* Debug */ = {
336+
isa = XCBuildConfiguration;
337+
buildSettings = {
338+
OTHER_LDFLAGS = "-ObjC";
339+
PRODUCT_NAME = "$(TARGET_NAME)";
340+
SKIP_INSTALL = YES;
341+
};
342+
name = Debug;
343+
};
344+
9B53E8591E223564005F74C6 /* Release */ = {
345+
isa = XCBuildConfiguration;
346+
buildSettings = {
347+
OTHER_LDFLAGS = "-ObjC";
348+
PRODUCT_NAME = "$(TARGET_NAME)";
349+
SKIP_INSTALL = YES;
350+
};
351+
name = Release;
352+
};
262353
/* End XCBuildConfiguration section */
263354

264355
/* Begin XCConfigurationList section */
@@ -280,6 +371,14 @@
280371
defaultConfigurationIsVisible = 0;
281372
defaultConfigurationName = Release;
282373
};
374+
9B53E8571E223564005F74C6 /* Build configuration list for PBXNativeTarget "BSStaticLibraryTwo" */ = {
375+
isa = XCConfigurationList;
376+
buildConfigurations = (
377+
9B53E8581E223564005F74C6 /* Debug */,
378+
9B53E8591E223564005F74C6 /* Release */,
379+
);
380+
defaultConfigurationIsVisible = 0;
381+
};
283382
/* End XCConfigurationList section */
284383
};
285384
rootObject = 9B0B717F1E20DD5A005D11BA /* Project object */;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// BSStaticLibraryTwo.h
3+
// BSStaticLibraryTwo
4+
//
5+
// Created by 张星宇 on 2017/1/8.
6+
// Copyright © 2017年 bestswifter. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface BSStaticLibraryTwo : NSObject
12+
13+
@end
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// BSStaticLibraryTwo.m
3+
// BSStaticLibraryTwo
4+
//
5+
// Created by 张星宇 on 2017/1/8.
6+
// Copyright © 2017年 bestswifter. All rights reserved.
7+
//
8+
9+
#import "BSStaticLibraryTwo.h"
10+
11+
@implementation BSStaticLibraryTwo
12+
13+
@end

0 commit comments

Comments
 (0)