Module file's minimum deployment target is ios9.0 v9.0

When creating a new playground in Xcode 7 beta (7A120f) and using a custom Cocoa Touch Framework I get the error:


Playground execution failed: Game.playground:4:8: error: module file's minimum deployment target is ios9.0 v9.0


The custom framework does use specific iOS9 code. When adding a class to the Sources folder using GKEntity the compiler also shows an error explaining I should use:


@available(iOS 9.0, *)


The meta data of the playground does not show any indication the Playground uses a deployment target (8.4 or some other version).


What am I missing here? Why can't I use a custom framework created with iOS9?

Accepted Answer

This is a known bug in Xcode 7. Playgrounds erroneously use a minimum deployment target of iOS 8.0/OS X 10.9 instead of the latest available SDK, so your framework must currently use an equal or lesser minimum deployment target to work around the issue.

Module file's minimum deployment target is ios9.0 v9.0
 
 
Q