Skip to content

Commit 2951fa9

Browse files
authored
chore(deps): remove unused SwiftUI Introspect dependency (#40)
- Remove SwiftUI Introspect package from Xcode project dependencies - Update Package.resolved to exclude SwiftUI Introspect - Regenerate license files to remove SwiftUI Introspect entries - Verify all targets build successfully without the dependency The SwiftUI Introspect package was not being used anywhere in the codebase. Modern SwiftUI patterns like @focusstate are used instead for TextField management.
1 parent 86b5da6 commit 2951fa9

File tree

5 files changed

+1
-62
lines changed

5 files changed

+1
-62
lines changed

Flinky.xcodeproj/project.pbxproj

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
D40BECB32E2EFDAD00391C5A /* SwiftUIIntrospect in Frameworks */ = {isa = PBXBuildFile; productRef = D40BECB22E2EFDAD00391C5A /* SwiftUIIntrospect */; };
1110
D430F9A12E38BC6500C0CDA3 /* SentrySwiftUI in Frameworks */ = {isa = PBXBuildFile; productRef = D430F9A02E38BC6500C0CDA3 /* SentrySwiftUI */; };
1211
D44A62A62E33B2800018D789 /* OnLaunch in Frameworks */ = {isa = PBXBuildFile; productRef = D44A62A52E33B2800018D789 /* OnLaunch */; };
1312
D462B7812E659CC8006EB4FB /* ShareExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = D4D509DF2E4621120067A402 /* ShareExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
@@ -366,7 +365,6 @@
366365
D44A62A62E33B2800018D789 /* OnLaunch in Frameworks */,
367366
D430F9A12E38BC6500C0CDA3 /* SentrySwiftUI in Frameworks */,
368367
D4A5DC592E46133A00027944 /* FlinkyCore.framework in Frameworks */,
369-
D40BECB32E2EFDAD00391C5A /* SwiftUIIntrospect in Frameworks */,
370368
D4CFD1792E1E38F2001447E9 /* SFSafeSymbols in Frameworks */,
371369
D4B471882E1F12FA005099F3 /* Sentry in Frameworks */,
372370
);
@@ -678,7 +676,6 @@
678676
packageProductDependencies = (
679677
D4CFD1782E1E38F2001447E9 /* SFSafeSymbols */,
680678
D4B471872E1F12FA005099F3 /* Sentry */,
681-
D40BECB22E2EFDAD00391C5A /* SwiftUIIntrospect */,
682679
D44A62A52E33B2800018D789 /* OnLaunch */,
683680
D430F9A02E38BC6500C0CDA3 /* SentrySwiftUI */,
684681
);
@@ -839,7 +836,6 @@
839836
packageReferences = (
840837
D4CFD1772E1E38F2001447E9 /* XCRemoteSwiftPackageReference "SFSafeSymbols" */,
841838
D4BB80702E1F12190013AEEB /* XCRemoteSwiftPackageReference "sentry-cocoa" */,
842-
D470EA6B2E2E51D400F4FD16 /* XCRemoteSwiftPackageReference "swiftui-introspect" */,
843839
D44A62A42E33B2800018D789 /* XCRemoteSwiftPackageReference "OnLaunch-iOS-Client" */,
844840
);
845841
preferredProjectObjectVersion = 77;
@@ -1855,14 +1851,6 @@
18551851
version = 0.0.6;
18561852
};
18571853
};
1858-
D470EA6B2E2E51D400F4FD16 /* XCRemoteSwiftPackageReference "swiftui-introspect" */ = {
1859-
isa = XCRemoteSwiftPackageReference;
1860-
repositoryURL = "https://github.com/siteline/swiftui-introspect";
1861-
requirement = {
1862-
kind = exactVersion;
1863-
version = 1.3.0;
1864-
};
1865-
};
18661854
D4BB80702E1F12190013AEEB /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {
18671855
isa = XCRemoteSwiftPackageReference;
18681856
repositoryURL = "https://github.com/getsentry/sentry-cocoa.git";
@@ -1882,11 +1870,6 @@
18821870
/* End XCRemoteSwiftPackageReference section */
18831871

18841872
/* Begin XCSwiftPackageProductDependency section */
1885-
D40BECB22E2EFDAD00391C5A /* SwiftUIIntrospect */ = {
1886-
isa = XCSwiftPackageProductDependency;
1887-
package = D470EA6B2E2E51D400F4FD16 /* XCRemoteSwiftPackageReference "swiftui-introspect" */;
1888-
productName = SwiftUIIntrospect;
1889-
};
18901873
D430F9A02E38BC6500C0CDA3 /* SentrySwiftUI */ = {
18911874
isa = XCSwiftPackageProductDependency;
18921875
package = D4BB80702E1F12190013AEEB /* XCRemoteSwiftPackageReference "sentry-cocoa" */;

Flinky.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Targets/App/Sources/Resources/Settings.bundle/Licenses.latest_result.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@ name: sentry-cocoa, nameSpecified: Sentry, owner: getsentry, version: 8.56.2, so
44

55
name: SFSafeSymbols, nameSpecified: SFSafeSymbols, owner: SFSafeSymbols, version: 6.2.0, source: https://github.com/SFSafeSymbols/SFSafeSymbols
66

7-
name: swiftui-introspect, nameSpecified: swiftui-introspect, owner: siteline, version: 1.3.0, source: https://github.com/siteline/swiftui-introspect
8-
97
name: OnLaunch-iOS-Client, nameSpecified: OnLaunch-iOS-Client, owner: kula-app, version: 0.0.6, source: https://github.com/kula-app/OnLaunch-iOS-Client
108

119
name: sentry-cocoa, nameSpecified: Sentry, owner: getsentry, version: 8.56.2, source: https://github.com/getsentry/sentry-cocoa
1210

1311
name: SFSafeSymbols, nameSpecified: SFSafeSymbols, owner: SFSafeSymbols, version: 6.2.0, source: https://github.com/SFSafeSymbols/SFSafeSymbols
1412

15-
name: swiftui-introspect, nameSpecified: swiftui-introspect, owner: siteline, version: 1.3.0, source: https://github.com/siteline/swiftui-introspect
16-
1713
add-version-numbers: true
1814

1915
LicensePlist Version: 3.27.1

Targets/App/Sources/Resources/Settings.bundle/Licenses.plist

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@
3434
<key>Type</key>
3535
<string>PSChildPaneSpecifier</string>
3636
</dict>
37-
<dict>
38-
<key>File</key>
39-
<string>Licenses/swiftui-introspect</string>
40-
<key>Title</key>
41-
<string>swiftui-introspect (1.3.0)</string>
42-
<key>Type</key>
43-
<string>PSChildPaneSpecifier</string>
44-
</dict>
4537
</array>
4638
</dict>
4739
</plist>

Targets/App/Sources/Resources/Settings.bundle/Licenses/swiftui-introspect.plist

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)