swift student challege

If i doing on playground on macbook. Can i send a file extention swiftpm ? I see a rule its said must be .swiftpm but .swiftpm is create from xcode.

I would like to know

  1. Can playground save a file to extention .swiftpm?
  2. or I must do only in XCODE

Im very confused

Thank you in advanced.

Answered by Claude31 in 711234022

If you have Xcode, I recommend to do it with Xcode.

But if you want to do on iPad with playground 4, that should be possible.

Accepted Answer

If you have Xcode, I recommend to do it with Xcode.

But if you want to do on iPad with playground 4, that should be possible.

The Swift Playgrounds App from the App Store can't be used for the swift challenge only Xcode can be used on mac. To create a .swiftpm project you have to follow these steps:

  1. Open Xcode
  2. File > New... > Project
  3. Tap the iOS tab
  4. Select "Swift Playgrounds App"

swift student challege
 
 
Q