Restrict APIs to those allowed in app extensions
Restrict APIs to those allowed in app extensions

This was already set for iOS and WatchOS. This PR enables the
restriction for macOS and tvOS.

adonoho/XCGLogger,adonoho/XCGLogger,DaveWoodCom/XCGLogger,pollarm/XCGLogger,pollarm/XCGLogger,DaveWoodCom/XCGLogger