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.