Posts

Post not yet marked as solved
20 Replies
Hello Developers, here on my current configuration (Big Sur 11.1 (20C69), Xcode 12.3 (12C33)) I still have an problem withCouldNotFindInputNodeInBuiltGraphError<XcodeGraphSource, PreviewTranslationUnit>: WeeklyPlanViewModel__Tests.swift not found in any targets WeeklyPlanViewModel__Tests.swift must belong to at least one target in the current scheme in order to use previews and no of my changes bring me to get preview running again. Clearing the project-build, deleting complete "DerivedData", also deactivating of this unittest-file and complete removing of unittest-target from the project: nothing helped to fix the preview-functionality. What can I do in addition to get preview run again? Interesting fact is, when creating an project new, copy all the files (without any tests) inside the project, and try out the preview, let it work some time. But I cannot develop without testing. After git-commit and inserting some testing files, it works one-two times, then it stops. And no git-reverting to the previous commit, brings preview again to life. Kind regards, Anton