Question

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

Était-ce utile?

La solution

xcrun -sdk iphoneos PackageApplication -v "$PWD/target/My App.app" -o "$PWD/target/MyApp.ipa"
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top