SceneKit init DAE模型仅在iOS9设备上崩溃

SceneKit init DAE模型仅在iOS9设备上崩溃,ios,crash,ios9,scenekit,Ios,Crash,Ios9,Scenekit,我的应用程序运行带有SceneKit的dae文件模型,并显示在SceneView上。从iOS8.0到8.4,一切都很顺利,初始化如下: SCNScene *myScene; NSString *scenePath = [cachesDir stringByAppendingPathComponent:@"mymodel.dae"]; NSURL *curSCNUrl = [NSURL fileURLWithPath:scenePath]; SCNScene *myScene = [SCNScen

我的应用程序运行带有SceneKit的dae文件模型,并显示在SceneView上。从iOS8.0到8.4,一切都很顺利,初始化如下:

SCNScene *myScene;
NSString *scenePath = [cachesDir stringByAppendingPathComponent:@"mymodel.dae"];
NSURL *curSCNUrl = [NSURL fileURLWithPath:scenePath];
SCNScene *myScene = [SCNScene sceneWithURL:curSCNUrl options:nil error:nil];
但是,最近我更新到了iOS9,Xcode7.0.1,同样的代码在SCNScene场景中崩溃:options:error:,只在iphone设备上崩溃,而不是在iOS9上崩溃。 在模拟器ios8和ios9上运行良好。在iphone设备上,ios8运行良好。 堆栈信息如下图所示

[SCNScene sceneWithURL:curSCNUrl options:nil error:nil];
我发现有人说,可能是金属和GL的问题,我在SceneView初始化时插入了选项。ios9仍然在iphone上崩溃

NSDictionary *options = @{SCNPreferredRenderingAPIKey: @(SCNRenderingAPIOpenGLES2)};
self = [super initWithFrame:frame options:options];
有人遇到过这种情况吗?请给我一些解决方案或建议