문제

I want to pass the location of the documents (data) directory to the script which runs after the build in a xcode target.

What is the environment variable I should use?

도움이 되었습니까?

해결책

As the sandbox directory is created AFTER the build completes and the simulator starts, the environment has no knowledge at all of the documents (sandbox directory). You can run a script in the background, which keeps checking the simulator's dump folder to see which directory was created immediately after the app was started.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top