X Tutup
Skip to content

Commit a18776c

Browse files
committed
创建一个壳工程,用来测试静态库
1 parent f5ddc21 commit a18776c

File tree

12 files changed

+660
-0
lines changed

12 files changed

+660
-0
lines changed
Lines changed: 332 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,332 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
9B0B71A41E20E289005D11BA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0B71A31E20E289005D11BA /* main.m */; };
11+
9B0B71A71E20E289005D11BA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0B71A61E20E289005D11BA /* AppDelegate.m */; };
12+
9B0B71AA1E20E289005D11BA /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0B71A91E20E289005D11BA /* ViewController.m */; };
13+
9B0B71AD1E20E289005D11BA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9B0B71AB1E20E289005D11BA /* Main.storyboard */; };
14+
9B0B71AF1E20E289005D11BA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9B0B71AE1E20E289005D11BA /* Assets.xcassets */; };
15+
9B0B71B21E20E289005D11BA /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9B0B71B01E20E289005D11BA /* LaunchScreen.storyboard */; };
16+
9B0B71BA1E20E298005D11BA /* libBSStaticLibraryOne.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9B0B71B91E20E298005D11BA /* libBSStaticLibraryOne.a */; };
17+
/* End PBXBuildFile section */
18+
19+
/* Begin PBXFileReference section */
20+
9B0B719F1E20E289005D11BA /* OtherLinkerFlag.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OtherLinkerFlag.app; sourceTree = BUILT_PRODUCTS_DIR; };
21+
9B0B71A31E20E289005D11BA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
22+
9B0B71A51E20E289005D11BA /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
23+
9B0B71A61E20E289005D11BA /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
24+
9B0B71A81E20E289005D11BA /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
25+
9B0B71A91E20E289005D11BA /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
26+
9B0B71AC1E20E289005D11BA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
27+
9B0B71AE1E20E289005D11BA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
28+
9B0B71B11E20E289005D11BA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
29+
9B0B71B31E20E289005D11BA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
30+
9B0B71B91E20E298005D11BA /* libBSStaticLibraryOne.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libBSStaticLibraryOne.a; sourceTree = "<group>"; };
31+
9B0B71BE1E20E4C1005D11BA /* BSStaticLibraryOne.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BSStaticLibraryOne.h; sourceTree = "<group>"; };
32+
9B0B71BF1E20E4C1005D11BA /* BSStaticLibraryOne+Extension.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BSStaticLibraryOne+Extension.h"; sourceTree = "<group>"; };
33+
/* End PBXFileReference section */
34+
35+
/* Begin PBXFrameworksBuildPhase section */
36+
9B0B719C1E20E289005D11BA /* Frameworks */ = {
37+
isa = PBXFrameworksBuildPhase;
38+
buildActionMask = 2147483647;
39+
files = (
40+
9B0B71BA1E20E298005D11BA /* libBSStaticLibraryOne.a in Frameworks */,
41+
);
42+
runOnlyForDeploymentPostprocessing = 0;
43+
};
44+
/* End PBXFrameworksBuildPhase section */
45+
46+
/* Begin PBXGroup section */
47+
9B0B71961E20E289005D11BA = {
48+
isa = PBXGroup;
49+
children = (
50+
9B0B71A11E20E289005D11BA /* OtherLinkerFlag */,
51+
9B0B71A01E20E289005D11BA /* Products */,
52+
);
53+
sourceTree = "<group>";
54+
};
55+
9B0B71A01E20E289005D11BA /* Products */ = {
56+
isa = PBXGroup;
57+
children = (
58+
9B0B719F1E20E289005D11BA /* OtherLinkerFlag.app */,
59+
);
60+
name = Products;
61+
sourceTree = "<group>";
62+
};
63+
9B0B71A11E20E289005D11BA /* OtherLinkerFlag */ = {
64+
isa = PBXGroup;
65+
children = (
66+
9B0B71BE1E20E4C1005D11BA /* BSStaticLibraryOne.h */,
67+
9B0B71BF1E20E4C1005D11BA /* BSStaticLibraryOne+Extension.h */,
68+
9B0B71B91E20E298005D11BA /* libBSStaticLibraryOne.a */,
69+
9B0B71A51E20E289005D11BA /* AppDelegate.h */,
70+
9B0B71A61E20E289005D11BA /* AppDelegate.m */,
71+
9B0B71A81E20E289005D11BA /* ViewController.h */,
72+
9B0B71A91E20E289005D11BA /* ViewController.m */,
73+
9B0B71AB1E20E289005D11BA /* Main.storyboard */,
74+
9B0B71AE1E20E289005D11BA /* Assets.xcassets */,
75+
9B0B71B01E20E289005D11BA /* LaunchScreen.storyboard */,
76+
9B0B71B31E20E289005D11BA /* Info.plist */,
77+
9B0B71A21E20E289005D11BA /* Supporting Files */,
78+
);
79+
path = OtherLinkerFlag;
80+
sourceTree = "<group>";
81+
};
82+
9B0B71A21E20E289005D11BA /* Supporting Files */ = {
83+
isa = PBXGroup;
84+
children = (
85+
9B0B71A31E20E289005D11BA /* main.m */,
86+
);
87+
name = "Supporting Files";
88+
sourceTree = "<group>";
89+
};
90+
/* End PBXGroup section */
91+
92+
/* Begin PBXNativeTarget section */
93+
9B0B719E1E20E289005D11BA /* OtherLinkerFlag */ = {
94+
isa = PBXNativeTarget;
95+
buildConfigurationList = 9B0B71B61E20E289005D11BA /* Build configuration list for PBXNativeTarget "OtherLinkerFlag" */;
96+
buildPhases = (
97+
9B0B719B1E20E289005D11BA /* Sources */,
98+
9B0B719C1E20E289005D11BA /* Frameworks */,
99+
9B0B719D1E20E289005D11BA /* Resources */,
100+
);
101+
buildRules = (
102+
);
103+
dependencies = (
104+
);
105+
name = OtherLinkerFlag;
106+
productName = OtherLinkerFlag;
107+
productReference = 9B0B719F1E20E289005D11BA /* OtherLinkerFlag.app */;
108+
productType = "com.apple.product-type.application";
109+
};
110+
/* End PBXNativeTarget section */
111+
112+
/* Begin PBXProject section */
113+
9B0B71971E20E289005D11BA /* Project object */ = {
114+
isa = PBXProject;
115+
attributes = {
116+
LastUpgradeCheck = 0820;
117+
ORGANIZATIONNAME = bestswifter;
118+
TargetAttributes = {
119+
9B0B719E1E20E289005D11BA = {
120+
CreatedOnToolsVersion = 8.2;
121+
ProvisioningStyle = Automatic;
122+
};
123+
};
124+
};
125+
buildConfigurationList = 9B0B719A1E20E289005D11BA /* Build configuration list for PBXProject "OtherLinkerFlag" */;
126+
compatibilityVersion = "Xcode 3.2";
127+
developmentRegion = English;
128+
hasScannedForEncodings = 0;
129+
knownRegions = (
130+
en,
131+
Base,
132+
);
133+
mainGroup = 9B0B71961E20E289005D11BA;
134+
productRefGroup = 9B0B71A01E20E289005D11BA /* Products */;
135+
projectDirPath = "";
136+
projectRoot = "";
137+
targets = (
138+
9B0B719E1E20E289005D11BA /* OtherLinkerFlag */,
139+
);
140+
};
141+
/* End PBXProject section */
142+
143+
/* Begin PBXResourcesBuildPhase section */
144+
9B0B719D1E20E289005D11BA /* Resources */ = {
145+
isa = PBXResourcesBuildPhase;
146+
buildActionMask = 2147483647;
147+
files = (
148+
9B0B71B21E20E289005D11BA /* LaunchScreen.storyboard in Resources */,
149+
9B0B71AF1E20E289005D11BA /* Assets.xcassets in Resources */,
150+
9B0B71AD1E20E289005D11BA /* Main.storyboard in Resources */,
151+
);
152+
runOnlyForDeploymentPostprocessing = 0;
153+
};
154+
/* End PBXResourcesBuildPhase section */
155+
156+
/* Begin PBXSourcesBuildPhase section */
157+
9B0B719B1E20E289005D11BA /* Sources */ = {
158+
isa = PBXSourcesBuildPhase;
159+
buildActionMask = 2147483647;
160+
files = (
161+
9B0B71AA1E20E289005D11BA /* ViewController.m in Sources */,
162+
9B0B71A71E20E289005D11BA /* AppDelegate.m in Sources */,
163+
9B0B71A41E20E289005D11BA /* main.m in Sources */,
164+
);
165+
runOnlyForDeploymentPostprocessing = 0;
166+
};
167+
/* End PBXSourcesBuildPhase section */
168+
169+
/* Begin PBXVariantGroup section */
170+
9B0B71AB1E20E289005D11BA /* Main.storyboard */ = {
171+
isa = PBXVariantGroup;
172+
children = (
173+
9B0B71AC1E20E289005D11BA /* Base */,
174+
);
175+
name = Main.storyboard;
176+
sourceTree = "<group>";
177+
};
178+
9B0B71B01E20E289005D11BA /* LaunchScreen.storyboard */ = {
179+
isa = PBXVariantGroup;
180+
children = (
181+
9B0B71B11E20E289005D11BA /* Base */,
182+
);
183+
name = LaunchScreen.storyboard;
184+
sourceTree = "<group>";
185+
};
186+
/* End PBXVariantGroup section */
187+
188+
/* Begin XCBuildConfiguration section */
189+
9B0B71B41E20E289005D11BA /* Debug */ = {
190+
isa = XCBuildConfiguration;
191+
buildSettings = {
192+
ALWAYS_SEARCH_USER_PATHS = NO;
193+
CLANG_ANALYZER_NONNULL = YES;
194+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
195+
CLANG_CXX_LIBRARY = "libc++";
196+
CLANG_ENABLE_MODULES = YES;
197+
CLANG_ENABLE_OBJC_ARC = YES;
198+
CLANG_WARN_BOOL_CONVERSION = YES;
199+
CLANG_WARN_CONSTANT_CONVERSION = YES;
200+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
201+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
202+
CLANG_WARN_EMPTY_BODY = YES;
203+
CLANG_WARN_ENUM_CONVERSION = YES;
204+
CLANG_WARN_INFINITE_RECURSION = YES;
205+
CLANG_WARN_INT_CONVERSION = YES;
206+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
207+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
208+
CLANG_WARN_UNREACHABLE_CODE = YES;
209+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
210+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
211+
COPY_PHASE_STRIP = NO;
212+
DEBUG_INFORMATION_FORMAT = dwarf;
213+
ENABLE_STRICT_OBJC_MSGSEND = YES;
214+
ENABLE_TESTABILITY = YES;
215+
GCC_C_LANGUAGE_STANDARD = gnu99;
216+
GCC_DYNAMIC_NO_PIC = NO;
217+
GCC_NO_COMMON_BLOCKS = YES;
218+
GCC_OPTIMIZATION_LEVEL = 0;
219+
GCC_PREPROCESSOR_DEFINITIONS = (
220+
"DEBUG=1",
221+
"$(inherited)",
222+
);
223+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
224+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
225+
GCC_WARN_UNDECLARED_SELECTOR = YES;
226+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
227+
GCC_WARN_UNUSED_FUNCTION = YES;
228+
GCC_WARN_UNUSED_VARIABLE = YES;
229+
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
230+
MTL_ENABLE_DEBUG_INFO = YES;
231+
ONLY_ACTIVE_ARCH = YES;
232+
SDKROOT = iphoneos;
233+
TARGETED_DEVICE_FAMILY = "1,2";
234+
};
235+
name = Debug;
236+
};
237+
9B0B71B51E20E289005D11BA /* Release */ = {
238+
isa = XCBuildConfiguration;
239+
buildSettings = {
240+
ALWAYS_SEARCH_USER_PATHS = NO;
241+
CLANG_ANALYZER_NONNULL = YES;
242+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
243+
CLANG_CXX_LIBRARY = "libc++";
244+
CLANG_ENABLE_MODULES = YES;
245+
CLANG_ENABLE_OBJC_ARC = YES;
246+
CLANG_WARN_BOOL_CONVERSION = YES;
247+
CLANG_WARN_CONSTANT_CONVERSION = YES;
248+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
249+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
250+
CLANG_WARN_EMPTY_BODY = YES;
251+
CLANG_WARN_ENUM_CONVERSION = YES;
252+
CLANG_WARN_INFINITE_RECURSION = YES;
253+
CLANG_WARN_INT_CONVERSION = YES;
254+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
255+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
256+
CLANG_WARN_UNREACHABLE_CODE = YES;
257+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
258+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
259+
COPY_PHASE_STRIP = NO;
260+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
261+
ENABLE_NS_ASSERTIONS = NO;
262+
ENABLE_STRICT_OBJC_MSGSEND = YES;
263+
GCC_C_LANGUAGE_STANDARD = gnu99;
264+
GCC_NO_COMMON_BLOCKS = YES;
265+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
266+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
267+
GCC_WARN_UNDECLARED_SELECTOR = YES;
268+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
269+
GCC_WARN_UNUSED_FUNCTION = YES;
270+
GCC_WARN_UNUSED_VARIABLE = YES;
271+
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
272+
MTL_ENABLE_DEBUG_INFO = NO;
273+
SDKROOT = iphoneos;
274+
TARGETED_DEVICE_FAMILY = "1,2";
275+
VALIDATE_PRODUCT = YES;
276+
};
277+
name = Release;
278+
};
279+
9B0B71B71E20E289005D11BA /* Debug */ = {
280+
isa = XCBuildConfiguration;
281+
buildSettings = {
282+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
283+
INFOPLIST_FILE = OtherLinkerFlag/Info.plist;
284+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
285+
LIBRARY_SEARCH_PATHS = (
286+
"$(inherited)",
287+
"$(PROJECT_DIR)/OtherLinkerFlag",
288+
);
289+
PRODUCT_BUNDLE_IDENTIFIER = baidu.OtherLinkerFlag;
290+
PRODUCT_NAME = "$(TARGET_NAME)";
291+
};
292+
name = Debug;
293+
};
294+
9B0B71B81E20E289005D11BA /* Release */ = {
295+
isa = XCBuildConfiguration;
296+
buildSettings = {
297+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
298+
INFOPLIST_FILE = OtherLinkerFlag/Info.plist;
299+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
300+
LIBRARY_SEARCH_PATHS = (
301+
"$(inherited)",
302+
"$(PROJECT_DIR)/OtherLinkerFlag",
303+
);
304+
PRODUCT_BUNDLE_IDENTIFIER = baidu.OtherLinkerFlag;
305+
PRODUCT_NAME = "$(TARGET_NAME)";
306+
};
307+
name = Release;
308+
};
309+
/* End XCBuildConfiguration section */
310+
311+
/* Begin XCConfigurationList section */
312+
9B0B719A1E20E289005D11BA /* Build configuration list for PBXProject "OtherLinkerFlag" */ = {
313+
isa = XCConfigurationList;
314+
buildConfigurations = (
315+
9B0B71B41E20E289005D11BA /* Debug */,
316+
9B0B71B51E20E289005D11BA /* Release */,
317+
);
318+
defaultConfigurationIsVisible = 0;
319+
defaultConfigurationName = Release;
320+
};
321+
9B0B71B61E20E289005D11BA /* Build configuration list for PBXNativeTarget "OtherLinkerFlag" */ = {
322+
isa = XCConfigurationList;
323+
buildConfigurations = (
324+
9B0B71B71E20E289005D11BA /* Debug */,
325+
9B0B71B81E20E289005D11BA /* Release */,
326+
);
327+
defaultConfigurationIsVisible = 0;
328+
};
329+
/* End XCConfigurationList section */
330+
};
331+
rootObject = 9B0B71971E20E289005D11BA /* Project object */;
332+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// AppDelegate.h
3+
// OtherLinkerFlag
4+
//
5+
// Created by 张星宇 on 2017/1/7.
6+
// Copyright © 2017年 bestswifter. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
12+
13+
@property (strong, nonatomic) UIWindow *window;
14+
15+
16+
@end
17+

0 commit comments

Comments
 (0)
X Tutup