You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2026. It is now read-only.
Doug DeJulio edited this page May 11, 2014
·
2 revisions
To do unit testing securely against your own server without exposing your test credentials, do the following:
In Xcode, create a new "scheme" with testing as a target and mark it as not shared.
Edit the scheme, go into "Run", and add the following environment variables (which will be inherited by "Test" and other choices):
userTravis
passwordTravis
baseUrlTravis
webdavBaseUrlTravis
The data will end up in the "xcuserdata" folder of the Xcode project, which is normally not managed under source control. So, your local builds and runs using that scheme will see those environment variables, but there should be no risk of pushing them to any repositories.