-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not run successfully #1
Comments
I do not have an IOS 12 version of the iPad, Case 1:
to
Case 2:
to
In Case 1, resource acquisition failed. |
Thanks for you kindly reply , it looks the problem happens while the program will add the scnView to the mainview as a subview and it will be always crashed . |
When I run it on the mac , it noticed : maybe I can give a try ,thank you! |
It warns me "Class NSLayoutConstraint haven't member FormatOptions" in iPad , but it can work on Xcode perfectly , wired . |
Thank you for your reply. Because it works with Xcode, it may be a bug in Swift Playground on iPad. |
OK , in some playground change NSLayoutFormatOptions can let the playground work correctly , but 09_SceneGraph is still has problem . |
update: I think some crash is caused by out of memory , when I remove some node , the program can run successfully , but sometimes it can not run even I just change the background color |
If memory is a problem, Or set the size of the SCNView to remove the constraint |
The playground will stop before
self.view.addSubview(scnView)
in every playground
my iOS version is iOS12 and the playground is the latest
can you give me some advice ? thx
The text was updated successfully, but these errors were encountered: