我遇到了一个只发生在我身上的错误。我的同事没有遇到相同的错误,并且我们共享相同的代码。我正在尝试 pod install,但收到此错误:
文件无效
Podfile:语法错误、意外的输入结束、期望关键字_结束。
我的 Pod 版本是:1.5.3
这是我的 pod 文件的链接:https://gist.github.com/brunocuratio/6240bcaf69adcfae5c9026086b466cb7
当应用程序进入前台时,我将添加新的UIWindow以显示密码视图控制器。
在iOS 13之前的AppDelegate中,我拥有属性var passcodeWindow = UIWindow(frame: UIScreen.main.bounds),其中我rootViewController是密码视图控制器,并且在applicationWillEnterForeground方法中将passcodeWindow.makeKeyAndVisible()其放置在顶部。
现在,当我想在iOS 13中实现密码功能时,这种方法就会出现问题。我将其移至sceneWillEnterForegroundSceneDelegate中的方法,但似乎无法passcodeWindow在此场景的实际窗口顶部显示。
我执行的操作与AppDelegate中的操作完全相同,并且passcodeWindow未显示。
我sceneWillEnterForeground在AppDelegate和SceneDelegate中执行的方式:
passcodeWindow.rootViewController = passcodeViewController(type: .unlock)
passcodeWindow.makeKeyAndVisible()
Run Code Online (Sandbox Code Playgroud)
我希望passcodeWindow显示在场景中当前窗口的顶部。
我真的不知道我的节目发生了什么.我曾经在2017年成功运行它.今天它出错了.我尝试更改构建设置,构建阶段.这些都不起作用.


请帮帮我!
我已经编译了webrtc ios源代码,然后使用了以下命令:
gn gen out/ios --args='target_os="ios" target_cpu="arm64"' --ide=xcode
Run Code Online (Sandbox Code Playgroud)
然后我用Xcode打开工作区。
但是当我编译代码时,Xcode在下面给了我这个错误。
当为产品类型“应用程序”签名二进制文件时,空标识无效。(在目标“ AppRTCMobile”中)

我的Xcode版本是10.2,是最新版本。
我真的不知道这是怎么发生的,有人可以帮我吗?
我的代码符号设置是:

一切看起来还好。