Embassy
Embassy copied to clipboard
Could not build Objective-C Module
I've installed this using Cocoapods and when trying to build from the workspace I get the error Could not build Objective-C module 'Embassy'
.
Some things I've already tried: -cleared the derived build folder -changed schema and tried building Embassy then the App's schema which still failed
Any ideas?
Got the same:
Building for debugging...
/Users/marvin/Developer/plash/api/.build/arm64-apple-macosx/debug/Embassy.build/module.modulemap:2:12: error: header '/Users/marvin/Developer/plash/api/.build/arm64-apple-macosx/debug/Embassy.build/Embassy-Swift.h' not found
header "/Users/marvin/Developer/plash/api/.build/arm64-apple-macosx/debug/Embassy.build/Embassy-Swift.h"
^
/Users/marvin/Developer/plash/api/Sources/Plash/main.swift:2:8: error: could not build Objective-C module 'Embassy'
import Embassy
^
/Users/marvin/Developer/plash/api/.build/arm64-apple-macosx/debug/Embassy.build/module.modulemap:2:12: error: header '/Users/marvin/Developer/plash/api/.build/arm64-apple-macosx/debug/Embassy.build/Embassy-Swift.h' not found
header "/Users/marvin/Developer/plash/api/.build/arm64-apple-macosx/debug/Embassy.build/Embassy-Swift.h"
^
/Users/marvin/Developer/plash/api/Sources/Plash/main.swift:2:8: error: could not build Objective-C module 'Embassy'
import Embassy
^