New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems using GCC_INSTRUMENT_PROGRAM_FLOW_ARCS and Firebase/Core #2235
Comments
I'm not able to reproduce in a Firebase quickstart example. The following command runs successfully:
Please provide more details about how to reproduce or send a reproducible example. |
@paulb777 I'll close this issue, and re-open if/when I manage to create a simple project that showcase the bug. |
OK, thanks for update @fwigorcferreira. Perhaps, it's something to do with the Build Settings in your project? |
Having the same problem here. I also created a minimal project to reproduce this issue: My Xcode version is 10.2, and I've tried CocoaPods with version 1.6.1 and 1.7.0.beta.3 |
@el-hoshino Thanks for the reproducible project! I'm still not sure what triggers this issue in some projects but not others, but the workaround of adding |
@paulb777 Thanks for the information! I'm trying this workaround and will report my result later! |
@paulb777 Confirmed! Passing And I guess this command should work for you @fwigorcferreira :
|
[READ] Step 1: Are you in the right place?
Yes
file a Github issue.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Firebase/Core (since 5.0) blocks the execution of tests with GCC Instruments Program Flow Arcs enabled.
This can be seem by passing the instruction
"GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES"
when building your app for testing, that output the error:The lack of this flag can have bad impacts on the generation of code coverage data, and limits the checks that can be done on code.
Steps to reproduce:
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
as parameter.Relevant Code:
Command:
Error:
The text was updated successfully, but these errors were encountered: