-
Notifications
You must be signed in to change notification settings - Fork 6
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
CircleCI iOS Setup #50
Comments
Hi Errol, The testing framework tries to fetch Git metadata using the local .git folder on the project. In some cases that is not possible like when running on a physical device( where the source code is not on the device), if the .git folder is not located in For those cases there is a section in the docs: here where it documents the environment variables also needed to use depending on your CI provider. That you don’t mention in the environment variables you are using, so you should also add. There is a subsection there where it says: Let me know if it works. Thanks |
Ok, then if you are using CircleCI then you should also set the following environment variables as you did with the others, so the framework can access to them on iOS:
Even when the env var are accessible in the system if you don't add them to the project, iOS processes cannot access them (macOS processes can, but not iOS). With this change you should be able to have the complete git information, and you will also get information about the CircleCI process and a URL to access the CircleCI pipeline workflow directly. Also, be sure you select your main target in Please let me know if it solves your issues. |
Yes, CircleCI just finished running and it's reporting correctly! Thank you very much for your help. |
I am glad it worked. Please don't hesitate in reporting any problem or feedback you can have with the tool. |
The thing
We have a monorepo project for our iOS and macOS app. Under the
Tests
tab, it's only showing the Test Servicemac-pro-server
while ourios-pos
project never shows up.The tests results are definitely getting reported properly because both Test Services are showing results under the
Test Runs
tab. However, theios-pos
Test Service doesn't show the git branch name.I have them setup with the below envVars using Xcodegen:
iOS Environment
macOS Environment
They are both using the same Client Tokens and same Environment variables except for the
DD_SERVICE
var.Is there something wrong with my setup? Any help on fixing this is greatly appreciated!
The text was updated successfully, but these errors were encountered: