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
{{ message }}
Repository navigation
BuildSystemTests.testIOSARGameViewControllerSwiftGeneratedWithExpectedContent fails on develop #1432
BuildSystemTests.testIOSARGameViewControllerSwiftGeneratedWithExpectedContent fails on develop, independent of any other work in flight. Confirmed via git stash that it fails identically before and after the gizmo-system changes in #1431 — it is not a regression from that PR.
Failure
XCTAssertFalse failed - iOS AR GameViewController should NOT import UntoldEngine standalone (it's in GameScene)
in Tests/UntoldEngineTests/BuildSystemTests.swift, asserting against the generated content of BuildTemplates.getTemplateFilesForIOSAR()'s Sources/{{PROJECT_NAME}}/GameViewController.swift template.
Likely cause
Commit 34dd0e6e ("[Patch] Add missing import UntoldEngine to iOS AR GameViewController template") appears to have added an import UntoldEngine to the iOS AR GameViewController.swift template without updating this test's assertion, which still expects the import to be absent (on the premise that the import belongs in GameScene instead).
Reproduction
swift test --filter BuildSystemTests/testIOSARGameViewControllerSwiftGeneratedWithExpectedContent
or via make testcore, where it is currently the only failing test in the full UntoldEngineTests suite (1835 tests, 1 failure).
Fix
Either revert the import addition from 34dd0e6e if it was unintentional, or update this test's assertion to match the new intended template content — whichever reflects the actual correct generated-project behavior for iOS AR.
Activity