gpt4 book ai didi

ios - 链接 SceneKit Framework 避免在 iOS 7 上崩溃

转载 作者:行者123 更新时间:2023-11-28 13:10:44 25 4
gpt4 key购买 nike

我有一个支持 iOS 7 及更高版本的应用程序。对于我想使用 SceneKit 的 View 之一,如果该应用程序在 iOS 8 或更高版本上运行。我通过使用这段代码来做到这一点

if(SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")){
[self performSegueWithIdentifier:@"3DIdentifier" sender:cell];
}
else{
[self performSegueWithIdentifier:@"2DIdentifier" sender:cell];
}
}

问题在于,当使用 iOS 7 模拟器时,应用程序无法运行。

原因:找不到合适的图像。找到了: /System/Library/Frameworks/SceneKit.framework/SceneKit: mach-o,但不是为 iOS 模拟器构建的

有没有一种方法可以链接 SceneKit,使应用程序仍然可以在 iOS 7 上构建和运行?

最佳答案

关于ios - 链接 SceneKit Framework 避免在 iOS 7 上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31433621/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com