Playgrounds not able to be built on iPad

I developed my app on xcode, and it builds fine for xcode on simulator. However, when I transferred the swiftpm file to my ipad, the playground failed to build with only the error message "Build failed", while preview on playgrounds works fine.

I am not sure what the cause of the error is, if anyone has any tips that would be greatly appreciated. Thank you.

Please file a report through the "Send Feedback" menu item in the "•••" menu in the Swift Playground app, including your app playground if possible!

Playgrounds not able to be built on iPad
 
 
Q