문제

How do I reference the current dir from a terminal command:

xcrun -sdk iphoneos PackageApplication -v "[current dir]/target/My App.app" -o "[current dir]/target/MyApp.ipa"

[current dir] = how do I get this value?

So basically I don't want to type the whole dir out in the command. I want it to look in the dir where it is currently running

도움이 되었습니까?

해결책

xcrun -sdk iphoneos PackageApplication -v "$PWD/target/My App.app" -o "$PWD/target/MyApp.ipa"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top