Skip to content

Commit bd8b3e8

Browse files
committed
exclude readme and example code from target
1 parent a6e58c0 commit bd8b3e8

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

Example/testDev/testDev.xcodeproj/project.pbxproj

+28-1
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 52;
77
objects = {
88

99
/* Begin PBXBuildFile section */
1010
79BDC7A425AA8B8C00368BE7 /* testDevApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79BDC7A325AA8B8C00368BE7 /* testDevApp.swift */; };
1111
79BDC7A625AA8B8C00368BE7 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79BDC7A525AA8B8C00368BE7 /* ContentView.swift */; };
1212
79BDC7A825AA8B8C00368BE7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 79BDC7A725AA8B8C00368BE7 /* Assets.xcassets */; };
1313
79BDC7AB25AA8B8C00368BE7 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 79BDC7AA25AA8B8C00368BE7 /* Preview Assets.xcassets */; };
14+
79BDC7F525AB638B00368BE7 /* FileBrowserSUI in Frameworks */ = {isa = PBXBuildFile; productRef = 79BDC7F425AB638B00368BE7 /* FileBrowserSUI */; };
1415
/* End PBXBuildFile section */
1516

1617
/* Begin PBXFileReference section */
@@ -27,6 +28,7 @@
2728
isa = PBXFrameworksBuildPhase;
2829
buildActionMask = 2147483647;
2930
files = (
31+
79BDC7F525AB638B00368BE7 /* FileBrowserSUI in Frameworks */,
3032
);
3133
runOnlyForDeploymentPostprocessing = 0;
3234
};
@@ -85,6 +87,9 @@
8587
dependencies = (
8688
);
8789
name = testDev;
90+
packageProductDependencies = (
91+
79BDC7F425AB638B00368BE7 /* FileBrowserSUI */,
92+
);
8893
productName = testDev;
8994
productReference = 79BDC7A025AA8B8C00368BE7 /* testDev.app */;
9095
productType = "com.apple.product-type.application";
@@ -112,6 +117,9 @@
112117
Base,
113118
);
114119
mainGroup = 79BDC79725AA8B8C00368BE7;
120+
packageReferences = (
121+
79BDC7F325AB638B00368BE7 /* XCRemoteSwiftPackageReference "FileBrowserSUI" */,
122+
);
115123
productRefGroup = 79BDC7A125AA8B8C00368BE7 /* Products */;
116124
projectDirPath = "";
117125
projectRoot = "";
@@ -328,6 +336,25 @@
328336
defaultConfigurationName = Release;
329337
};
330338
/* End XCConfigurationList section */
339+
340+
/* Begin XCRemoteSwiftPackageReference section */
341+
79BDC7F325AB638B00368BE7 /* XCRemoteSwiftPackageReference "FileBrowserSUI" */ = {
342+
isa = XCRemoteSwiftPackageReference;
343+
repositoryURL = "https://github.com/rlegault33/FileBrowserSUI.git";
344+
requirement = {
345+
branch = main;
346+
kind = branch;
347+
};
348+
};
349+
/* End XCRemoteSwiftPackageReference section */
350+
351+
/* Begin XCSwiftPackageProductDependency section */
352+
79BDC7F425AB638B00368BE7 /* FileBrowserSUI */ = {
353+
isa = XCSwiftPackageProductDependency;
354+
package = 79BDC7F325AB638B00368BE7 /* XCRemoteSwiftPackageReference "FileBrowserSUI" */;
355+
productName = FileBrowserSUI;
356+
};
357+
/* End XCSwiftPackageProductDependency section */
331358
};
332359
rootObject = 79BDC79825AA8B8C00368BE7 /* Project object */;
333360
}

Package.swift

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ let package = Package(
2323
.target(
2424
name: "FileBrowserSUI",
2525
dependencies: [],
26+
exclude: ["README.md", "Example", "README.assets"],
2627
resources: [
2728
.copy("Resources/Media.xcassets"), ]
2829
),

0 commit comments

Comments
 (0)