Open-source toolchains for Playgrounds (iOS, Xcode 8)

Wow, Xcode 8 looks like a really great release. Very impressed by the memory debugger, but it seems to have lots of really nice improvements all-around.

According to the release notes (Unauthorized - Apple Developer), we can now use OSS toolchains for Playgrounds on OSX, but not with other platforms.

Is that a temporary limitation, or an intentional Apple policy decision?

  • Xcode playgrounds which target macOS now support running with open-source Swift toolchains from Swift.org. Playgrounds which target iOS or tvOS require the Xcode 8.0 toolchain. (23287417, 26704661)

Thanks

Karl

Those later platforms are "curated", you can only deploy apps via the App
Store. It seems likely to ensure the policies and security model associated
with that curation only Apple signed toolchains can be used for deployment.

-Shawn

···

On Mon, Jun 13, 2016 at 5:41 PM Karl via swift-dev <swift-dev@swift.org> wrote:

Wow, Xcode 8 looks like a really great release. Very impressed by the
memory debugger, but it seems to have lots of really nice improvements
all-around.

According to the release notes (
Unauthorized - Apple Developer),
we can now use OSS toolchains for Playgrounds on OSX, but not with other
platforms.

Is that a temporary limitation, or an intentional Apple policy decision?

> • Xcode playgrounds which target macOS now support running with
open-source Swift toolchains from Swift.org. Playgrounds which target iOS
or tvOS require the Xcode 8.0 toolchain. (23287417, 26704661)

Thanks

Karl
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

I’m not sure that’s the reason:

- Only Playgrounds are restricted, not Apps. You can still use OSS toolchains to build apps, like you always could.
- You can only submit to the AppStore from the latest stable Xcode (7.3, isn’t it?)
- You can also deploy apps by manually building & installing with Xcode, Ad-Hoc or Enterprise deployment. AppStore is the most widely available way to distribute, but there are other ways.

I always assumed that the reason we couldn’t use OSS toolchains in Playgrounds before was because of API changes in the hooks between Xcode and Swift/SourceKit/whatever is responsible for Playgrounds. Seems strange that we can muck around with a Swift nightly and AppKit APIs, but not the (to many people) more familiar UIKit APIs.

Karl

···

On 14 Jun 2016, at 02:49, Shawn Erickson <shawnce@gmail.com> wrote:

Those later platforms are "curated", you can only deploy apps via the App Store. It seems likely to ensure the policies and security model associated with that curation only Apple signed toolchains can be used for deployment.

-Shawn
On Mon, Jun 13, 2016 at 5:41 PM Karl via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:
Wow, Xcode 8 looks like a really great release. Very impressed by the memory debugger, but it seems to have lots of really nice improvements all-around.

According to the release notes (Unauthorized - Apple Developer), we can now use OSS toolchains for Playgrounds on OSX, but not with other platforms.

Is that a temporary limitation, or an intentional Apple policy decision?

> • Xcode playgrounds which target macOS now support running with open-source Swift toolchains from Swift.org. Playgrounds which target iOS or tvOS require the Xcode 8.0 toolchain. (23287417, 26704661)

Thanks

Karl
_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev

Wow, Xcode 8 looks like a really great release. Very impressed by the memory debugger, but it seems to have lots of really nice improvements all-around.

It's always exciting to be able to share what everyone has been working on.

According to the release notes (Unauthorized - Apple Developer), we can now use OSS toolchains for Playgrounds on OSX, but not with other platforms.

Is that a temporary limitation, or an intentional Apple policy decision?

  • Xcode playgrounds which target macOS now support running with open-source Swift toolchains from Swift.org. Playgrounds which target iOS or tvOS require the Xcode 8.0 toolchain. (23287417, 26704661)

When open source snapshots containing playground support are released they will be limited to macOS in conjunction with the WWDC beta as the release note indicates. The limitation is unintentional so further improvements are definitely being investigated.

Kate Stone k8stone@apple.com <mailto:k8stone@apple.com>
 Xcode Low Level Tools

···

On Jun 13, 2016, at 5:41 PM, Karl via swift-dev <swift-dev@swift.org> wrote: