I am trying to test the implementation of my Firebase Analytics. In their documentation they state that:
我正在尝试测试Firebase Analytics的实施情况。在他们的文档中,他们声明:
Enable debug mode by passing the -FIRDebugEnabled argument to the application. You can add this argument in the application’s Xcode scheme. When debug mode is enabled via -FIRDebugEnabled, further executions of the application will also be in debug mode. In order to return to default mode, you must explicitly disable the debug mode with the application argument -FIRDebugDisabled.
通过将-FIRDebugEnabled参数传递给应用程序来启用调试模式。您可以在应用程序的Xcode方案中添加此参数。通过-FIRDebugEnabled启用调试模式时,应用程序的进一步执行也将处于调试模式。要返回默认模式,必须使用应用程序参数-FIRDebugDisabled显式禁用调试模式。
Unfortunately I do not understand where it is that I set this scheme. In Android this was easy. Help would be appreciated.
不幸的是,我不明白我设置这个方案的位置。在Android中这很容易。帮助将不胜感激。
1 个解决方案
#1
49
I have found the answer on this alternative page of Google:
我在Google的这个替代页面上找到了答案:
https://firebase.google.com/docs/analytics/ios/start
https://firebase.google.com/docs/analytics/ios/start
- In Xcode, select Product > Scheme > Edit scheme...
- 在Xcode中,选择产品>方案>编辑方案...
- Select Run from the left menu.
- 从左侧菜单中选择“运行”。
- Select the Arguments tab.
- 选择Arguments选项卡。
- In the Arguments Passed On Launch section, add -FIRAnalyticsDebugEnabled.
- 在Argmentments Passed On Launch部分中,添加-FIRAnalyticsDebugEnabled。
I wish Google would stop releasing half baked products and documentation. Could save hundreds of thousands of hours worldwide
我希望谷歌停止发布半烘焙产品和文档。可以在全球范围内节省数十万小时
#1
49
I have found the answer on this alternative page of Google:
我在Google的这个替代页面上找到了答案:
https://firebase.google.com/docs/analytics/ios/start
https://firebase.google.com/docs/analytics/ios/start
- In Xcode, select Product > Scheme > Edit scheme...
- 在Xcode中,选择产品>方案>编辑方案...
- Select Run from the left menu.
- 从左侧菜单中选择“运行”。
- Select the Arguments tab.
- 选择Arguments选项卡。
- In the Arguments Passed On Launch section, add -FIRAnalyticsDebugEnabled.
- 在Argmentments Passed On Launch部分中,添加-FIRAnalyticsDebugEnabled。
I wish Google would stop releasing half baked products and documentation. Could save hundreds of thousands of hours worldwide
我希望谷歌停止发布半烘焙产品和文档。可以在全球范围内节省数十万小时