Recently I started working on a project that is modularized and the project builds fine for the simulator and device, but the canvas fails with the errors below.
no such file or directory: '/Users/profileName/Library/Developer/Xcode/DerivedData/LinkDylibError: Failed to build SurveyResultsView.swiftLinking failed: no such file or directory:clang: error: no such file or directory: 'BuildInvocationError
I tried updating the Framework Search Paths to $(PROJECT_DIR)/../path/to/my/framework