Domanda

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

È stato utile?

Soluzione

xcrun -sdk iphoneos PackageApplication -v "$PWD/target/My App.app" -o "$PWD/target/MyApp.ipa"
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top