Could not build objective-c module `AVFoundation'

I'm building with the Swift Package Manager and a project that built yesterday is no longer building, failing with

error: could not build Objective-C module

I just upgraded from Xcode 9 beta 4 to beta 5.... I already tried

sudo xcode-select -s /Applications/Xcode-beta.app

...just in case it was something with the tools.


Any thoughts? This is a show-stopper for me...


J.

...Oh, btw, I also tried

swift package reset
Accepted Answer

According to the beta 5 release notes:


"Building macOS apps with the AVFoundation framework is not supported with Xcode 9 beta 5."


I think for now, you'll have to stick with beta 4.

ugh... probably beta 3 then, since I get the odd hang [EDIT: not "the odd hang", since it happens all the time, but rather "that strange hang"] on typing comments that several people have experienced in beta 4...

Thanks for the info (or rather, thanks for rtfm... gulp. Sorry about that!).

Could not build objective-c module `AVFoundation'
 
 
Q