-
Notifications
You must be signed in to change notification settings - Fork 215
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
Can't generate image folder set in FB_REFERENCE_IMAGE_DIR #130
Comments
Same here. I've also taken a look at |
If you are using test plans, this might be of help to you. Since I've recently converted to test plans, I was defining the environment variables the wrong way. I've opened a pull request (#131) with updated instructions. Basically, you need to set the variables inside the test plans configuration, not the run action section of your scheme because they will not get automatically transferred to the test action as they did before. |
One additional note wrt @ekranac comment above, in addition to setting the environment variables for the configuration, I had to pick the scheme in the 'Target for Variable Expansion' setting |
I'm having the same issue... Even if I set the values on test plans or branch new schemes, the code fails to create the directory at When calling the
|
I followed the set the Environment Variables like below:
but I can't find the folders ReferenceImages and FailureDiffs.
I can only find it from the log:
/Users/william/Library/Developer/Xcode/DerivedData/MyProject-gpgfmvvbgxrsaqamedlklzlbhyxu/Build/Products/Test-iphonesimulator/MyProject.app/PlugIns/MyProject Tests.xctest/ReferenceImages_64/MyProject Tests.CountdownViewTests/testExampleAndReturnError:@2x.png
I also tried set a fixed path, still doesn't work. Not sure the reason why, I don't want to find it from the console every time.
Any help? Thanks!
The text was updated successfully, but these errors were encountered: