Closed sravanmedarapu closed 3 years ago
Added API for retrieving simulator environment variable. Command: xcrun simctl getenv SIMULATOR_UDID ENVIRONMENT_VARIABLE
xcrun simctl getenv SIMULATOR_UDID ENVIRONMENT_VARIABLE
API: /devices/{dev_ref}/environment/{env_variable}
/devices/{dev_ref}/environment/{env_variable}
e.g:
curl http://localhost:4567/devices/AE9CF40B-AC20-4D08-A305-7F8CB483A3C0-localhost/environment/SIMULATOR_SHARED_RESOURCES_DIRECTORY /Users/sravenmedarapu/Library/Developer/CoreSimulator/Devices/AE9CF40B-AC20-4D08-A305-7F8CB483A3C0/data
Added API for retrieving simulator environment variable. Command:
xcrun simctl getenv SIMULATOR_UDID ENVIRONMENT_VARIABLE
API:
/devices/{dev_ref}/environment/{env_variable}
e.g: