Xcode/Mac project on Swift Playgrounds/iPad Pro?

Hi all,

Need to upgrade. And instead of a new Mac I'm thinking iPad Pro (M1 chip). But, very important question: can I run my existing Xcode projects on the iPad Pro with Swift Playgrounds (4)? And install/distribute the app to the iPhone from the iPad Pro?

can I run my existing Xcode projects on the iPad Pro with Swift Playgrounds (4)?

If you’re talking about .xcodeproj documents, then the answer is “No.” Swift Playgrounds will not open .xcodeproj documents. It uses its own format, .swiftpm, for app projects.

Also:

  • You can create and work with .swiftpm documents in Xcode. To create a new one, choose File > New > Project > iOS > Swift Playgrounds App.

  • The Swift language and iOS APIs are the same in both environments, so your code should move across.

  • Swift Playgrounds does not support Interface Builder, so if you’re targeting UIKit with .nib files or storyboards you won’t be able to use those.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Xcode/Mac project on Swift Playgrounds/iPad Pro?
 
 
Q