I have the same issue and I am getting the same log. I can only share to Airdrop and apps like Mail and Message but there is no option to save the file.
Post
Replies
Boosts
Views
Activity
I once got this working and never touched it afterwards. I agree the documentation by Apple is really bad in this topic. I'd suggest to read about the data structures of OpenGL which are mostly the same. With .triangleStrip every new vertex at the end of the array adds another triangle and everything is connected. I think with .polygon mode you have to define the three vertices for every triangle. So the first three vertices are one triangle and then the next three vertices are another triangle, separate from the first one. Only a number of 3 is valid. So in your code you have to add two more vertices or remove one.
You can preload the assets.
prepareObject:shouldAbortBlock:
https://developer.apple.com/documentation/scenekit/scnscenerenderer/1522798-prepareobject
prepareObjects:withCompletionHandler:
https://developer.apple.com/documentation/scenekit/scnscenerenderer/1523375-prepareobjects