xcrun -sdk iphoneos PackageApplication -v "$PWD/target/My App.app" -o "$PWD/target/MyApp.ipa"
How to reference current dir from a terminal command
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
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow