سؤال

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