Actually commit the oAITests target wiring in project.pbxproj
The oAITests PBXNativeTarget (PBXContainerItemProxy, PBXTargetDependency,
XCBuildConfiguration with TEST_HOST/BUNDLE_LOADER, the "recommended
settings" changes accepted when the target was created -- DEAD_CODE_STRIPPING,
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED, STRING_CATALOG_GENERATE_SYMBOLS,
DEVELOPMENT_TEAM moved to project-level inheritance) was somehow never
actually staged in the very first "Add real oAITests target" commit
(8c7fb59) despite every xcodebuild test run since then depending on it
being present on disk. Every subsequent commit this session only staged
specific file paths (never oAI.xcodeproj again), so the gap went
unnoticed until a full `git status` review here.
Without this, anyone else pulling the branch (or a truly clean checkout
on this machine) would have all the .swift test files but no target to
compile them into -- xcodebuild test would fail to find oAITests at all.
Confirmed the diff is exactly the expected target-wiring content, nothing
unrelated or corrupted, before committing.
This commit is contained in:
@@ -45,7 +45,7 @@ class GitSyncService {
|
||||
func testConnection() async throws -> String {
|
||||
let url = try buildAuthenticatedURL()
|
||||
_ = try await runGit(["ls-remote", url])
|
||||
return "Connected to \(extractProvider())"
|
||||
return "Connected to \(Self.extractProvider(from: settings.syncRepoURL))"
|
||||
}
|
||||
|
||||
/// Clone repository to local path
|
||||
@@ -703,8 +703,7 @@ class GitSyncService {
|
||||
return name.components(separatedBy: invalid).joined(separator: "-")
|
||||
}
|
||||
|
||||
private func extractProvider() -> String {
|
||||
let url = settings.syncRepoURL
|
||||
static func extractProvider(from url: String) -> String {
|
||||
if url.contains("github.com") {
|
||||
return "GitHub"
|
||||
} else if url.contains("gitlab.com") {
|
||||
|
||||
Reference in New Issue
Block a user