Skip to content

Commit 72a7192

Browse files
committed
Rename DebugLayout library to LayoutInspector
1 parent 8076bd0 commit 72a7192

File tree

7 files changed

+84
-9
lines changed

7 files changed

+84
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1410"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "LayoutInspector"
18+
BuildableName = "LayoutInspector"
19+
BlueprintName = "LayoutInspector"
20+
ReferencedContainer = "container:">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
</LaunchAction>
44+
<ProfileAction
45+
buildConfiguration = "Release"
46+
shouldUseLaunchSchemeArgsEnv = "YES"
47+
savedToolIdentifier = ""
48+
useCustomWorkingDirectory = "NO"
49+
debugDocumentVersioning = "YES">
50+
<MacroExpansion>
51+
<BuildableReference
52+
BuildableIdentifier = "primary"
53+
BlueprintIdentifier = "LayoutInspector"
54+
BuildableName = "LayoutInspector"
55+
BlueprintName = "LayoutInspector"
56+
ReferencedContainer = "container:">
57+
</BuildableReference>
58+
</MacroExpansion>
59+
</ProfileAction>
60+
<AnalyzeAction
61+
buildConfiguration = "Debug">
62+
</AnalyzeAction>
63+
<ArchiveAction
64+
buildConfiguration = "Release"
65+
revealArchiveInOrganizer = "YES">
66+
</ArchiveAction>
67+
</Scheme>

DemoApp/ContentView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import LayoutInspector
12
import SwiftUI
2-
import DebugLayout
33

44
struct ContentView: View {
55
var body: some View {

DemoApp/LayoutInspectorDemo.xcodeproj/project.pbxproj

+13-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
5D2245F028D8FDB400E84C7D /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D2245EF28D8FDB400E84C7D /* App.swift */; };
1111
5D2245F228D8FDB400E84C7D /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D2245F128D8FDB400E84C7D /* ContentView.swift */; };
1212
5D2245F428D8FDB500E84C7D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5D2245F328D8FDB500E84C7D /* Assets.xcassets */; };
13-
5D5B04922921290F00758B21 /* DebugLayout in Frameworks */ = {isa = PBXBuildFile; productRef = 5D5B04912921290F00758B21 /* DebugLayout */; };
13+
5D8410B529212EF600117429 /* LayoutInspector in Frameworks */ = {isa = PBXBuildFile; productRef = 5D8410B429212EF600117429 /* LayoutInspector */; };
1414
/* End PBXBuildFile section */
1515

1616
/* Begin PBXFileReference section */
@@ -28,7 +28,7 @@
2828
isa = PBXFrameworksBuildPhase;
2929
buildActionMask = 2147483647;
3030
files = (
31-
5D5B04922921290F00758B21 /* DebugLayout in Frameworks */,
31+
5D8410B529212EF600117429 /* LayoutInspector in Frameworks */,
3232
);
3333
runOnlyForDeploymentPostprocessing = 0;
3434
};
@@ -45,6 +45,7 @@
4545
5D2245F328D8FDB500E84C7D /* Assets.xcassets */,
4646
5D2245F528D8FDB500E84C7D /* Entitlements.entitlements */,
4747
5D2245ED28D8FDB400E84C7D /* Products */,
48+
5D8410B329212EF600117429 /* Frameworks */,
4849
);
4950
indentWidth = 4;
5051
sourceTree = "<group>";
@@ -58,6 +59,13 @@
5859
name = Products;
5960
sourceTree = "<group>";
6061
};
62+
5D8410B329212EF600117429 /* Frameworks */ = {
63+
isa = PBXGroup;
64+
children = (
65+
);
66+
name = Frameworks;
67+
sourceTree = "<group>";
68+
};
6169
/* End PBXGroup section */
6270

6371
/* Begin PBXNativeTarget section */
@@ -75,7 +83,7 @@
7583
);
7684
name = LayoutInspectorDemo;
7785
packageProductDependencies = (
78-
5D5B04912921290F00758B21 /* DebugLayout */,
86+
5D8410B429212EF600117429 /* LayoutInspector */,
7987
);
8088
productName = LayoutInspector;
8189
productReference = 5D2245EC28D8FDB400E84C7D /* LayoutInspectorDemo.app */;
@@ -349,9 +357,9 @@
349357
/* End XCConfigurationList section */
350358

351359
/* Begin XCSwiftPackageProductDependency section */
352-
5D5B04912921290F00758B21 /* DebugLayout */ = {
360+
5D8410B429212EF600117429 /* LayoutInspector */ = {
353361
isa = XCSwiftPackageProductDependency;
354-
productName = DebugLayout;
362+
productName = LayoutInspector;
355363
};
356364
/* End XCSwiftPackageProductDependency section */
357365
};

Package.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
import PackageDescription
44

55
let package = Package(
6-
name: "DebugLayout",
6+
name: "LayoutInspector",
77
platforms: [.macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9)],
88
products: [
9-
.library(name: "DebugLayout", targets: ["DebugLayout"]),
9+
.library(name: "LayoutInspector", targets: ["LayoutInspector"]),
1010
],
1111
dependencies: [],
1212
targets: [
13-
.target(name: "DebugLayout", dependencies: []),
13+
.target(name: "LayoutInspector", dependencies: []),
1414
]
1515
)

0 commit comments

Comments
 (0)