Xcode ignores app-extension setting, breaks my build

Hello,

With Beta3 I started getting this error in one of my Swift libraries:

'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.

It happens in code like this:

UIApplication.shared.open (nested)

The "Require Only App-Extension-Safe API" is set to NO.

This is very odd, a new project does not exhibit this problem.

This is happening to my open source library:

https://github.com/migueldeicaza/SwiftTerm

In project TerminalApp/iOSTerminal.xcodeproj

Xcode ignores app-extension setting, breaks my build
 
 
Q