旧项目增加或者删除SceneDelegate
- 创建或删除SceneDelegate文件
class SceneDelegate: UIResponder, UIWindowSceneDelegate { var window: UIWindow? func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { //⚠️注意,这里的UIWindow必须self.window = UIWindow(windowScene: windowScene)。不然出来是黑屏 if let windowScene = scene as? UIWindowScene { self.window = UIWindow(windowScene: windowScene) //let uINavigationController = UINavigationController(rootViewController: mainVc) //self.window?.rootViewController = uINavigationController self.window?.rootViewController = Main(); self.window?.makeKeyAndVisible() } } }
*去info.plist文件中增加或者删除配置Application Scene Manifest
项目因为UIWebView提交校验失败问题
- 打开终端cd 到项目目录
- 执行下面命令
grep -r UIWebView .
⚠️⚠️好像这个方法并不是特别准确,我检测说微信分享里面有,但是我跟sdk官方沟通人家说已经取消了,然后我尝试提交appstoreconnect结果确成功提交上去校验通过了,所以当个参考就好,那个小伙伴要是有试验过且更好的方法,欢迎交流哦