Skip to content

Replace the submodule dependency with SwiftPM #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
HeaderViewer.xcodeproj/xcuserdata
HeaderViewer.xcodeproj/project.xcworkspace
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "ClassDumpRuntime"]
path = ClassDumpRuntime
url = [email protected]:leptos-null/ClassDumpRuntime.git
1 change: 0 additions & 1 deletion ClassDumpRuntime
Submodule ClassDumpRuntime deleted from 6d7711
110 changes: 29 additions & 81 deletions HeaderViewer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
E968E33A2BE68CD100B0A1B9 /* ClassDumpRuntime in Frameworks */ = {isa = PBXBuildFile; productRef = E968E3392BE68CD100B0A1B9 /* ClassDumpRuntime */; };
FA53C69F2B8BF82000FC1A15 /* GatherScreenshots.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA53C69E2B8BF82000FC1A15 /* GatherScreenshots.swift */; };
FA6BEDCB2BD5941500D20C6F /* RuntimeObjectsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA6BEDCA2BD5941500D20C6F /* RuntimeObjectsView.swift */; };
FA9687E92B8338E100123476 /* NamedNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA9687E82B8338E100123476 /* NamedNode.swift */; };
Expand All @@ -21,8 +22,6 @@
FAD661F82B81D1210000D2A6 /* HeaderViewerApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAD661F72B81D1210000D2A6 /* HeaderViewerApp.swift */; };
FAD661FA2B81D1210000D2A6 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAD661F92B81D1210000D2A6 /* ContentView.swift */; };
FAD661FC2B81D1220000D2A6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FAD661FB2B81D1220000D2A6 /* Assets.xcassets */; };
FAE3C1712B81F7B700242A99 /* ClassDump.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FAD6620C2B81D2990000D2A6 /* ClassDump.framework */; };
FAE3C1722B81F7B700242A99 /* ClassDump.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = FAD6620C2B81D2990000D2A6 /* ClassDump.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -33,43 +32,8 @@
remoteGlobalIDString = FAD661F32B81D1210000D2A6;
remoteInfo = HeaderViewer;
};
FAD6620B2B81D2990000D2A6 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = FAD662062B81D2990000D2A6 /* ClassDump.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = FA2A00DC23ADD19D00B52F1D;
remoteInfo = ClassDump;
};
FAD6620D2B81D2990000D2A6 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = FAD662062B81D2990000D2A6 /* ClassDump.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = FA2A011923AEB15700B52F1D;
remoteInfo = ClassDumpTests;
};
FAE3C16F2B81F7AC00242A99 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = FAD662062B81D2990000D2A6 /* ClassDump.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = FA2A00DB23ADD19D00B52F1D;
remoteInfo = ClassDump;
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
FAE3C1732B81F7B700242A99 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
FAE3C1722B81F7B700242A99 /* ClassDump.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
FA53C6932B8BF70200FC1A15 /* HeaderViewerUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HeaderViewerUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
FA53C69E2B8BF82000FC1A15 /* GatherScreenshots.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GatherScreenshots.swift; sourceTree = "<group>"; };
Expand All @@ -90,7 +54,6 @@
FAD661F92B81D1210000D2A6 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
FAD661FB2B81D1220000D2A6 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
FAD661FD2B81D1220000D2A6 /* HeaderViewer.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = HeaderViewer.entitlements; sourceTree = "<group>"; };
FAD662062B81D2990000D2A6 /* ClassDump.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ClassDump.xcodeproj; path = ClassDumpRuntime/ClassDump.xcodeproj; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -105,7 +68,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
FAE3C1712B81F7B700242A99 /* ClassDump.framework in Frameworks */,
E968E33A2BE68CD100B0A1B9 /* ClassDumpRuntime in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -124,7 +87,6 @@
FAD661EB2B81D1210000D2A6 = {
isa = PBXGroup;
children = (
FAD662062B81D2990000D2A6 /* ClassDump.xcodeproj */,
FAD661F62B81D1210000D2A6 /* HeaderViewer */,
FA53C6942B8BF70200FC1A15 /* HeaderViewerUITests */,
FAD661F52B81D1210000D2A6 /* Products */,
Expand Down Expand Up @@ -163,15 +125,6 @@
path = HeaderViewer;
sourceTree = "<group>";
};
FAD662072B81D2990000D2A6 /* Products */ = {
isa = PBXGroup;
children = (
FAD6620C2B81D2990000D2A6 /* ClassDump.framework */,
FAD6620E2B81D2990000D2A6 /* ClassDumpTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
FAD6620F2B81D2C90000D2A6 /* Frameworks */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -207,14 +160,15 @@
FAD661F02B81D1210000D2A6 /* Sources */,
FAD661F12B81D1210000D2A6 /* Frameworks */,
FAD661F22B81D1210000D2A6 /* Resources */,
FAE3C1732B81F7B700242A99 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
FAE3C1702B81F7AC00242A99 /* PBXTargetDependency */,
);
name = HeaderViewer;
packageProductDependencies = (
E968E3392BE68CD100B0A1B9 /* ClassDumpRuntime */,
);
productName = HeaderViewer;
productReference = FAD661F42B81D1210000D2A6 /* HeaderViewer.app */;
productType = "com.apple.product-type.application";
Expand Down Expand Up @@ -247,14 +201,11 @@
Base,
);
mainGroup = FAD661EB2B81D1210000D2A6;
packageReferences = (
E968E3382BE68CD100B0A1B9 /* XCRemoteSwiftPackageReference "ClassDumpRuntime" */,
);
productRefGroup = FAD661F52B81D1210000D2A6 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = FAD662072B81D2990000D2A6 /* Products */;
ProjectRef = FAD662062B81D2990000D2A6 /* ClassDump.xcodeproj */;
},
);
projectRoot = "";
targets = (
FAD661F32B81D1210000D2A6 /* HeaderViewer */,
Expand All @@ -263,23 +214,6 @@
};
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
FAD6620C2B81D2990000D2A6 /* ClassDump.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = ClassDump.framework;
remoteRef = FAD6620B2B81D2990000D2A6 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
FAD6620E2B81D2990000D2A6 /* ClassDumpTests.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = ClassDumpTests.xctest;
remoteRef = FAD6620D2B81D2990000D2A6 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */

/* Begin PBXResourcesBuildPhase section */
FA53C6912B8BF70200FC1A15 /* Resources */ = {
isa = PBXResourcesBuildPhase;
Expand Down Expand Up @@ -334,11 +268,6 @@
target = FAD661F32B81D1210000D2A6 /* HeaderViewer */;
targetProxy = FA53C6992B8BF70200FC1A15 /* PBXContainerItemProxy */;
};
FAE3C1702B81F7AC00242A99 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = ClassDump;
targetProxy = FAE3C16F2B81F7AC00242A99 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
Expand Down Expand Up @@ -512,7 +441,7 @@
CODE_SIGN_ENTITLEMENTS = HeaderViewer/HeaderViewer.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 7P56K8K4MY;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -552,7 +481,7 @@
CODE_SIGN_ENTITLEMENTS = HeaderViewer/HeaderViewer.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 7P56K8K4MY;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand Down Expand Up @@ -615,6 +544,25 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
E968E3382BE68CD100B0A1B9 /* XCRemoteSwiftPackageReference "ClassDumpRuntime" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/leptos-null/ClassDumpRuntime";
requirement = {
branch = master;
kind = branch;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
E968E3392BE68CD100B0A1B9 /* ClassDumpRuntime */ = {
isa = XCSwiftPackageProductDependency;
package = E968E3382BE68CD100B0A1B9 /* XCRemoteSwiftPackageReference "ClassDumpRuntime" */;
productName = ClassDumpRuntime;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = FAD661EC2B81D1210000D2A6 /* Project object */;
}
2 changes: 1 addition & 1 deletion HeaderViewer/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import SwiftUI
import ClassDump
import ClassDumpRuntime

struct ContentView: View {
@State private var selectedObject: RuntimeObjectType?
Expand Down
2 changes: 1 addition & 1 deletion HeaderViewer/ImageRuntimeObjectsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import SwiftUI
import ClassDump
import ClassDumpRuntime

private enum ImageLoadState {
case notLoaded
Expand Down
2 changes: 1 addition & 1 deletion HeaderViewer/NamedNodeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import SwiftUI
import ClassDump
import ClassDumpRuntime

struct NamedNodeView: View {
let node: NamedNode
Expand Down
2 changes: 1 addition & 1 deletion HeaderViewer/RuntimeListings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation
import Combine
import ClassDump
import ClassDumpRuntime
import MachO.dyld
import OSLog

Expand Down
2 changes: 1 addition & 1 deletion HeaderViewer/RuntimeObjectDetail.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import SwiftUI
import ClassDump
import ClassDumpRuntime

struct RuntimeObjectDetail: View {
// influenced by
Expand Down
2 changes: 1 addition & 1 deletion HeaderViewer/SemanticStringView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import SwiftUI
import ClassDump
import ClassDumpRuntime

struct SemanticStringView: View {
let semanticString: CDSemanticString
Expand Down