Skip to content

Commit 01a2de2

Browse files
committed
创建一个用于测试的静态库
1 parent 4adb348 commit 01a2de2

5 files changed

Lines changed: 332 additions & 0 deletions

File tree

Lines changed: 268 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,268 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
9B0B718C1E20DD5A005D11BA /* BSStaticLibraryOne.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0B718B1E20DD5A005D11BA /* BSStaticLibraryOne.m */; };
11+
9B0B718D1E20DD5A005D11BA /* BSStaticLibraryOne.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 9B0B718A1E20DD5A005D11BA /* BSStaticLibraryOne.h */; };
12+
9B0B71951E20DE7B005D11BA /* BSStaticLibraryOne+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0B71941E20DE7B005D11BA /* BSStaticLibraryOne+Extension.m */; };
13+
/* End PBXBuildFile section */
14+
15+
/* Begin PBXCopyFilesBuildPhase section */
16+
9B0B71851E20DD5A005D11BA /* CopyFiles */ = {
17+
isa = PBXCopyFilesBuildPhase;
18+
buildActionMask = 2147483647;
19+
dstPath = "include/$(PRODUCT_NAME)";
20+
dstSubfolderSpec = 16;
21+
files = (
22+
9B0B718D1E20DD5A005D11BA /* BSStaticLibraryOne.h in CopyFiles */,
23+
);
24+
runOnlyForDeploymentPostprocessing = 0;
25+
};
26+
/* End PBXCopyFilesBuildPhase section */
27+
28+
/* Begin PBXFileReference section */
29+
9B0B71871E20DD5A005D11BA /* libBSStaticLibraryOne.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libBSStaticLibraryOne.a; sourceTree = BUILT_PRODUCTS_DIR; };
30+
9B0B718A1E20DD5A005D11BA /* BSStaticLibraryOne.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BSStaticLibraryOne.h; sourceTree = "<group>"; };
31+
9B0B718B1E20DD5A005D11BA /* BSStaticLibraryOne.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BSStaticLibraryOne.m; sourceTree = "<group>"; };
32+
9B0B71931E20DE7B005D11BA /* BSStaticLibraryOne+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "BSStaticLibraryOne+Extension.h"; sourceTree = "<group>"; };
33+
9B0B71941E20DE7B005D11BA /* BSStaticLibraryOne+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "BSStaticLibraryOne+Extension.m"; sourceTree = "<group>"; };
34+
/* End PBXFileReference section */
35+
36+
/* Begin PBXFrameworksBuildPhase section */
37+
9B0B71841E20DD5A005D11BA /* Frameworks */ = {
38+
isa = PBXFrameworksBuildPhase;
39+
buildActionMask = 2147483647;
40+
files = (
41+
);
42+
runOnlyForDeploymentPostprocessing = 0;
43+
};
44+
/* End PBXFrameworksBuildPhase section */
45+
46+
/* Begin PBXGroup section */
47+
9B0B717E1E20DD5A005D11BA = {
48+
isa = PBXGroup;
49+
children = (
50+
9B0B71891E20DD5A005D11BA /* BSStaticLibraryOne */,
51+
9B0B71881E20DD5A005D11BA /* Products */,
52+
);
53+
sourceTree = "<group>";
54+
};
55+
9B0B71881E20DD5A005D11BA /* Products */ = {
56+
isa = PBXGroup;
57+
children = (
58+
9B0B71871E20DD5A005D11BA /* libBSStaticLibraryOne.a */,
59+
);
60+
name = Products;
61+
sourceTree = "<group>";
62+
};
63+
9B0B71891E20DD5A005D11BA /* BSStaticLibraryOne */ = {
64+
isa = PBXGroup;
65+
children = (
66+
9B0B718A1E20DD5A005D11BA /* BSStaticLibraryOne.h */,
67+
9B0B718B1E20DD5A005D11BA /* BSStaticLibraryOne.m */,
68+
9B0B71931E20DE7B005D11BA /* BSStaticLibraryOne+Extension.h */,
69+
9B0B71941E20DE7B005D11BA /* BSStaticLibraryOne+Extension.m */,
70+
);
71+
path = BSStaticLibraryOne;
72+
sourceTree = "<group>";
73+
};
74+
/* End PBXGroup section */
75+
76+
/* Begin PBXNativeTarget section */
77+
9B0B71861E20DD5A005D11BA /* BSStaticLibraryOne */ = {
78+
isa = PBXNativeTarget;
79+
buildConfigurationList = 9B0B71901E20DD5A005D11BA /* Build configuration list for PBXNativeTarget "BSStaticLibraryOne" */;
80+
buildPhases = (
81+
9B0B71831E20DD5A005D11BA /* Sources */,
82+
9B0B71841E20DD5A005D11BA /* Frameworks */,
83+
9B0B71851E20DD5A005D11BA /* CopyFiles */,
84+
);
85+
buildRules = (
86+
);
87+
dependencies = (
88+
);
89+
name = BSStaticLibraryOne;
90+
productName = BSStaticLibraryOne;
91+
productReference = 9B0B71871E20DD5A005D11BA /* libBSStaticLibraryOne.a */;
92+
productType = "com.apple.product-type.library.static";
93+
};
94+
/* End PBXNativeTarget section */
95+
96+
/* Begin PBXProject section */
97+
9B0B717F1E20DD5A005D11BA /* Project object */ = {
98+
isa = PBXProject;
99+
attributes = {
100+
LastUpgradeCheck = 0820;
101+
ORGANIZATIONNAME = bestswifter;
102+
TargetAttributes = {
103+
9B0B71861E20DD5A005D11BA = {
104+
CreatedOnToolsVersion = 8.2;
105+
ProvisioningStyle = Automatic;
106+
};
107+
};
108+
};
109+
buildConfigurationList = 9B0B71821E20DD5A005D11BA /* Build configuration list for PBXProject "BSStaticLibraryOne" */;
110+
compatibilityVersion = "Xcode 3.2";
111+
developmentRegion = English;
112+
hasScannedForEncodings = 0;
113+
knownRegions = (
114+
en,
115+
);
116+
mainGroup = 9B0B717E1E20DD5A005D11BA;
117+
productRefGroup = 9B0B71881E20DD5A005D11BA /* Products */;
118+
projectDirPath = "";
119+
projectRoot = "";
120+
targets = (
121+
9B0B71861E20DD5A005D11BA /* BSStaticLibraryOne */,
122+
);
123+
};
124+
/* End PBXProject section */
125+
126+
/* Begin PBXSourcesBuildPhase section */
127+
9B0B71831E20DD5A005D11BA /* Sources */ = {
128+
isa = PBXSourcesBuildPhase;
129+
buildActionMask = 2147483647;
130+
files = (
131+
9B0B718C1E20DD5A005D11BA /* BSStaticLibraryOne.m in Sources */,
132+
9B0B71951E20DE7B005D11BA /* BSStaticLibraryOne+Extension.m in Sources */,
133+
);
134+
runOnlyForDeploymentPostprocessing = 0;
135+
};
136+
/* End PBXSourcesBuildPhase section */
137+
138+
/* Begin XCBuildConfiguration section */
139+
9B0B718E1E20DD5A005D11BA /* Debug */ = {
140+
isa = XCBuildConfiguration;
141+
buildSettings = {
142+
ALWAYS_SEARCH_USER_PATHS = NO;
143+
CLANG_ANALYZER_NONNULL = YES;
144+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
145+
CLANG_CXX_LIBRARY = "libc++";
146+
CLANG_ENABLE_MODULES = YES;
147+
CLANG_ENABLE_OBJC_ARC = YES;
148+
CLANG_WARN_BOOL_CONVERSION = YES;
149+
CLANG_WARN_CONSTANT_CONVERSION = YES;
150+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
151+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
152+
CLANG_WARN_EMPTY_BODY = YES;
153+
CLANG_WARN_ENUM_CONVERSION = YES;
154+
CLANG_WARN_INFINITE_RECURSION = YES;
155+
CLANG_WARN_INT_CONVERSION = YES;
156+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
157+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
158+
CLANG_WARN_UNREACHABLE_CODE = YES;
159+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
160+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
161+
COPY_PHASE_STRIP = NO;
162+
DEBUG_INFORMATION_FORMAT = dwarf;
163+
ENABLE_STRICT_OBJC_MSGSEND = YES;
164+
ENABLE_TESTABILITY = YES;
165+
GCC_C_LANGUAGE_STANDARD = gnu99;
166+
GCC_DYNAMIC_NO_PIC = NO;
167+
GCC_NO_COMMON_BLOCKS = YES;
168+
GCC_OPTIMIZATION_LEVEL = 0;
169+
GCC_PREPROCESSOR_DEFINITIONS = (
170+
"DEBUG=1",
171+
"$(inherited)",
172+
);
173+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
174+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
175+
GCC_WARN_UNDECLARED_SELECTOR = YES;
176+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
177+
GCC_WARN_UNUSED_FUNCTION = YES;
178+
GCC_WARN_UNUSED_VARIABLE = YES;
179+
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
180+
MTL_ENABLE_DEBUG_INFO = YES;
181+
ONLY_ACTIVE_ARCH = YES;
182+
SDKROOT = iphoneos;
183+
};
184+
name = Debug;
185+
};
186+
9B0B718F1E20DD5A005D11BA /* Release */ = {
187+
isa = XCBuildConfiguration;
188+
buildSettings = {
189+
ALWAYS_SEARCH_USER_PATHS = NO;
190+
CLANG_ANALYZER_NONNULL = YES;
191+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
192+
CLANG_CXX_LIBRARY = "libc++";
193+
CLANG_ENABLE_MODULES = YES;
194+
CLANG_ENABLE_OBJC_ARC = YES;
195+
CLANG_WARN_BOOL_CONVERSION = YES;
196+
CLANG_WARN_CONSTANT_CONVERSION = YES;
197+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
198+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
199+
CLANG_WARN_EMPTY_BODY = YES;
200+
CLANG_WARN_ENUM_CONVERSION = YES;
201+
CLANG_WARN_INFINITE_RECURSION = YES;
202+
CLANG_WARN_INT_CONVERSION = YES;
203+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
204+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
205+
CLANG_WARN_UNREACHABLE_CODE = YES;
206+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
207+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
208+
COPY_PHASE_STRIP = NO;
209+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
210+
ENABLE_NS_ASSERTIONS = NO;
211+
ENABLE_STRICT_OBJC_MSGSEND = YES;
212+
GCC_C_LANGUAGE_STANDARD = gnu99;
213+
GCC_NO_COMMON_BLOCKS = YES;
214+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
215+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
216+
GCC_WARN_UNDECLARED_SELECTOR = YES;
217+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
218+
GCC_WARN_UNUSED_FUNCTION = YES;
219+
GCC_WARN_UNUSED_VARIABLE = YES;
220+
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
221+
MTL_ENABLE_DEBUG_INFO = NO;
222+
SDKROOT = iphoneos;
223+
VALIDATE_PRODUCT = YES;
224+
};
225+
name = Release;
226+
};
227+
9B0B71911E20DD5A005D11BA /* Debug */ = {
228+
isa = XCBuildConfiguration;
229+
buildSettings = {
230+
OTHER_LDFLAGS = "-ObjC";
231+
PRODUCT_NAME = "$(TARGET_NAME)";
232+
SKIP_INSTALL = YES;
233+
};
234+
name = Debug;
235+
};
236+
9B0B71921E20DD5A005D11BA /* Release */ = {
237+
isa = XCBuildConfiguration;
238+
buildSettings = {
239+
OTHER_LDFLAGS = "-ObjC";
240+
PRODUCT_NAME = "$(TARGET_NAME)";
241+
SKIP_INSTALL = YES;
242+
};
243+
name = Release;
244+
};
245+
/* End XCBuildConfiguration section */
246+
247+
/* Begin XCConfigurationList section */
248+
9B0B71821E20DD5A005D11BA /* Build configuration list for PBXProject "BSStaticLibraryOne" */ = {
249+
isa = XCConfigurationList;
250+
buildConfigurations = (
251+
9B0B718E1E20DD5A005D11BA /* Debug */,
252+
9B0B718F1E20DD5A005D11BA /* Release */,
253+
);
254+
defaultConfigurationIsVisible = 0;
255+
defaultConfigurationName = Release;
256+
};
257+
9B0B71901E20DD5A005D11BA /* Build configuration list for PBXNativeTarget "BSStaticLibraryOne" */ = {
258+
isa = XCConfigurationList;
259+
buildConfigurations = (
260+
9B0B71911E20DD5A005D11BA /* Debug */,
261+
9B0B71921E20DD5A005D11BA /* Release */,
262+
);
263+
defaultConfigurationIsVisible = 0;
264+
};
265+
/* End XCConfigurationList section */
266+
};
267+
rootObject = 9B0B717F1E20DD5A005D11BA /* Project object */;
268+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// BSStaticLibraryOne+Extension.h
3+
// BSStaticLibraryOne
4+
//
5+
// Created by 张星宇 on 2017/1/7.
6+
// Copyright © 2017年 bestswifter. All rights reserved.
7+
//
8+
9+
#import "BSStaticLibraryOne.h"
10+
11+
@interface BSStaticLibraryOne (Extension)
12+
13+
- (void)sayOtherThing;
14+
15+
@end
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// BSStaticLibraryOne+Extension.m
3+
// BSStaticLibraryOne
4+
//
5+
// Created by 张星宇 on 2017/1/7.
6+
// Copyright © 2017年 bestswifter. All rights reserved.
7+
//
8+
9+
#import "BSStaticLibraryOne+Extension.h"
10+
11+
@implementation BSStaticLibraryOne (Extension)
12+
13+
- (void)sayOtherThing {
14+
NSLog(@"In File: BSStaticLibraryOne + Extension");
15+
}
16+
17+
@end
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// BSStaticLibraryOne.h
3+
// BSStaticLibraryOne
4+
//
5+
// Created by 张星宇 on 2017/1/7.
6+
// Copyright © 2017年 bestswifter. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@interface BSStaticLibraryOne : NSObject
12+
13+
- (void)saySomething;
14+
15+
@end
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// BSStaticLibraryOne.m
3+
// BSStaticLibraryOne
4+
//
5+
// Created by 张星宇 on 2017/1/7.
6+
// Copyright © 2017年 bestswifter. All rights reserved.
7+
//
8+
9+
#import "BSStaticLibraryOne.h"
10+
11+
@implementation BSStaticLibraryOne
12+
13+
- (void)saySomething {
14+
NSLog(@"In Library: BSStaticLibraryOne");
15+
}
16+
17+
@end

0 commit comments

Comments
 (0)