You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,21 +31,21 @@ Just like Xcode's original plugin system, this loader checks plugin bundles for
31
31
32
32
For Xcode 14.0 - 15.2, plugins can add [`DVTPlugInCompatibilityUUIDs`](https://gist.github.com/minsko/9124ee24b9422fb8ea6b8d00815783ba) to their `Info.plist` files to specify which versions of Xcode they're compatible with.
33
33
34
-
For Xcode 15.3+, plugins should instead specify `DTXcodeBuildCompatibleVersions` in their `Info.plist` file, based on Xcode's build number (like `15E5194e`). The lowercase letter suffix is optional and should generally be dropped, unless compatibility with specific builds is needed.
34
+
For Xcode 15.3+, plugins should instead specify `CompatibleProductBuildVersions` in their `Info.plist` file, based on Xcode's build version (like `15E204a`).
35
35
36
36
These two compatibility values can exist side-by-side:
if (rangeOfNonLowercaseLetters.location == NSNotFound) {
102
-
hasCompatibleBuildVersion = YES;
103
-
NSLog(@"[XcodePluginLoader] %@ is compatible because Xcode has a more-specific DTXcodeBuild version (Xcode version %@, compatible version: %@)", potentialBundleName, xcodeBuildVersion, buildVersion);
104
-
break;
105
-
}
106
-
}
107
104
}
108
105
}
109
106
110
107
// Fall back to doing a compatibility check using `DVTPlugInCompatibilityUUIDs`
111
108
// (matches Xcode's original plugin loader behavior, but is only available on Xcode 15.2 or older)
112
109
if (!hasCompatibleBuildVersion) {
113
-
NSLog(@"[XcodePluginLoader] No DTXcodeBuildCompatibleVersions in %@ matching version %@. Falling back to DVTPlugInCompatibilityUUIDs", potentialBundleName, xcodeBuildVersion);
110
+
NSLog(@"[XcodePluginLoader] No CompatibleProductBuildVersions in %@ matching version %@. Falling back to DVTPlugInCompatibilityUUIDs", potentialBundleName, xcodeBuildVersion);
114
111
115
112
// Read the list of compatibility UUIDs specified by the plugin that we're loading
0 commit comments