当我这样做的时候:它会更新我的Info.plist文件。但是,如果我这样做:或我得到了这个错误:
There does not seem to be a CURRENT_PROJECT_VERSION奇怪的是,agvtool what-marketing-version运行得很好。具有讽刺意味的是,agvtool本身似乎没有版本;-)
编辑Shell: /bin/shsed -e "s/CURRENT_VERSION/does not work with multiple projects in the same directory. agvtool - Apple-generic versioning toolfor Xcode projects usage: agvtool h
[VentanaMobileBrowser.xcodeproj] $ /usr/bin/agvtool vers -terse
No marketing version found (CFBundleVersion/Applications/Xcode.app/Contents/Developer/usr/bin/agvtool: line 319: project.pbxproj/project.pbxproj.new1/Applicat