Cannot find "$(SRCROOT) agvtool | increment_build_number | Fastlane
The current solution to your problem would be to remove the $(SRCROOT) from your build settings. $(SRCROOT) means "directory where .xcodeproj is" so you will be perfectly fine to remove it (Xcode will still look for it relatively from the .xcodeproj).
We've recently removed agvtool from the get_version_number
action (in version 2.87.0
in favor of using the xcodeproj
gem where we can more nicely handle which target is found, handle $(SRCROOT), and remove that "avgtool setup process". I will be working on replacing agvtool in increment_build_number
and get_build_number
soon which should hopefully prevent further issues like this one.
You can open the project setting and find the key INFOPLIST_FILE
INFOPLIST_FILE = "$(SRCROOT)/ProjectName-info.plist";
Then remove the $(SRCROOT)
and make sure that after you change Xcode still finding your info plist
The new value may be:
INFOPLIST_FILE = "/ProjectName-info.plist";
INFOPLIST_FILE = "/MyProjectFolderName/ProjectName-info.plist";