Skip to content

Commit e04e13e

Browse files
committed
使用 Workspace
1 parent dd3b5d2 commit e04e13e

6 files changed

Lines changed: 52 additions & 9 deletions

File tree

CocoaPodsDemo/BSStaticLibraryOne/BSStaticLibraryOne.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@
452452
9B53E8671E226EA4005F74C6 /* Debug */ = {
453453
isa = XCBuildConfiguration;
454454
buildSettings = {
455+
ONLY_ACTIVE_ARCH = NO;
455456
OTHER_LDFLAGS = "-ObjC";
456457
PRODUCT_NAME = "$(TARGET_NAME)";
457458
SKIP_INSTALL = YES;
@@ -495,6 +496,7 @@
495496
9B53E8591E223564005F74C6 /* Release */,
496497
);
497498
defaultConfigurationIsVisible = 0;
499+
defaultConfigurationName = Release;
498500
};
499501
9B53E8661E226EA4005F74C6 /* Build configuration list for PBXNativeTarget "Pod" */ = {
500502
isa = XCConfigurationList;
@@ -503,6 +505,7 @@
503505
9B53E8681E226EA4005F74C6 /* Release */,
504506
);
505507
defaultConfigurationIsVisible = 0;
508+
defaultConfigurationName = Release;
506509
};
507510
/* End XCConfigurationList section */
508511
};

CocoaPodsDemo/ShellProject.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "054FA612D81390BCA914FF3E911AFB6ED941DB7C",
3+
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
4+
5+
},
6+
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
7+
"054FA612D81390BCA914FF3E911AFB6ED941DB7C" : 9223372036854775807,
8+
"C71A612E55CCF042C9D0404A97F793518FAC0059" : 9223372036854775807
9+
},
10+
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "374E162E-2A30-4B89-BEBA-6B8FDE39D0C7",
11+
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
12+
"054FA612D81390BCA914FF3E911AFB6ED941DB7C" : "SampleCode\/",
13+
"C71A612E55CCF042C9D0404A97F793518FAC0059" : ""
14+
},
15+
"DVTSourceControlWorkspaceBlueprintNameKey" : "ShellProject",
16+
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
17+
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "CocoaPodsDemo\/ShellProject.xcworkspace",
18+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
19+
{
20+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/649395594\/MySampleCode.git",
21+
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
22+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "054FA612D81390BCA914FF3E911AFB6ED941DB7C"
23+
},
24+
{
25+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/649395594\/panDoctor-iOS.git",
26+
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
27+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "C71A612E55CCF042C9D0404A97F793518FAC0059"
28+
}
29+
]
30+
}
Binary file not shown.

CocoaPodsDemo/ShellProject/ShellProject.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -285,14 +285,14 @@
285285
buildSettings = {
286286
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
287287
HEADER_SEARCH_PATHS = (
288-
"$PROJECT_DIR/../BSStaticLibraryOne/Build/Products/Debug-iphonesimulator/LibOne",
288+
"$PROJECT_DIR/../Build/Products/Debug-iphonesimulator/LibOne",
289289
"$(inherited)",
290-
"$PROJECT_DIR/../BSStaticLibraryOne/Build/Products/Debug-iphonesimulator/LibTwo",
290+
"$PROJECT_DIR/../Build/Products/Debug-iphonesimulator/LibTwo",
291291
);
292292
INFOPLIST_FILE = ShellProject/Info.plist;
293293
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
294294
LIBRARY_SEARCH_PATHS = (
295-
"$PROJECT_DIR/../BSStaticLibraryOne/Build/Products/Debug-iphonesimulator",
295+
"$PROJECT_DIR/../Build/Products/Debug-iphonesimulator",
296296
"$(inherited)",
297297
);
298298
ONLY_ACTIVE_ARCH = NO;
@@ -312,14 +312,14 @@
312312
buildSettings = {
313313
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
314314
HEADER_SEARCH_PATHS = (
315-
"$PROJECT_DIR/../BSStaticLibraryOne/Build/Products/Debug-iphonesimulator/LibOne",
315+
"$PROJECT_DIR/../Build/Products/Debug-iphonesimulator/LibOne",
316316
"$(inherited)",
317-
"$PROJECT_DIR/../BSStaticLibraryOne/Build/Products/Debug-iphonesimulator/LibTwo",
317+
"$PROJECT_DIR/../Build/Products/Debug-iphonesimulator/LibTwo",
318318
);
319319
INFOPLIST_FILE = ShellProject/Info.plist;
320320
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
321321
LIBRARY_SEARCH_PATHS = (
322-
"$PROJECT_DIR/../BSStaticLibraryOne/Build/Products/Debug-iphonesimulator",
322+
"$PROJECT_DIR/../Build/Products/Debug-iphonesimulator",
323323
"$(inherited)",
324324
);
325325
ORDER_FILE = "";

CocoaPodsDemo/ShellProject/ShellProject/ViewController.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
//
88

99
#import "ViewController.h"
10-
#import "BSStaticLibraryOne.h"
11-
#import "BSStaticLibraryOne+Extension.h"
12-
#import "BSStaticLibraryTwo.h"
10+
#import <BSStaticLibraryOne.h>
11+
#import <BSStaticLibraryOne+Extension.h>
12+
#import <BSStaticLibraryTwo.h>
1313

1414
@interface ViewController ()
1515

0 commit comments

Comments
 (0)