SwiftUI Canvas won't build with modulization

Viewed 197

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.swift
  • Linking 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

0 Answers
Related