我用来agvtool
提高我的内部版本号。在我最近重构的 Xcode 13.0 (13A233) 项目中,但出现了一个奇怪的错误:
找不到“Foo.xcodeproj/../NO”
例如
% agvtool next-version -all
Setting version of project Foo to:
108.
Also setting CFBundleVersion key (assuming it exists)
Updating CFBundleVersion in Info.plist(s)...
Updated CFBundleVersion in "Foo.xcodeproj/../Foo/Support files/Environments/QA/Info.plist" to 108
Updated CFBundleVersion in "Foo.xcodeproj/../FooKit/Info.plist" to 108
Updated CFBundleVersion in "Foo.xcodeproj/../FooTests/Info.plist" to 108
Cannot find "Foo.xcodeproj/../NO"
我只有这三个目标,Foo
,FooKit
和FooTests
,但它正在寻找另一个名为NO
.
我环顾四周,没有看到任何无关的Info.plist
文件。我猜测有一些东西被设置或错误NO
地作为潜在目标,但我还没有弄清楚它在哪里。该选项如何准确地确定哪些文件需要更新?.pbxproj
Info.plist
agvtool
-all
Info.plist