Embassy icon indicating copy to clipboard operation
Embassy copied to clipboard

Could not build Objective-C Module

Open advra opened this issue 5 years ago • 1 comments

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?

advra avatar Mar 28 '19 02:03 advra

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
       ^

muuvmuuv avatar Sep 19 '22 09:09 muuvmuuv