agvtool returns with:
Setting version of project {project} to:
{build number}.
Also setting CFBundleVersion key (assuming it exists)
Updating CFBundleVersion in Info.plist(s)...
$(SRCROOT)/iOS/Info.plist
Cannot find "$(SRCROOT)/iOS/Info.plist"
Had the same problem, solved it by making the path relative. Just remove $(SRCROOT)/ from the "Info.plist File" setting under Build Settings and it works just fine.
@peterprokop
Did the solution from @oblador work for you?
@christopherdro haven't tried it.
Used something like
/usr/libexec/PlistBuddy -c "Set CFBundleVersion $TRAVIS_BUILD_NUMBER" ./iOS/Info.plist
instead.
@oblador - that worked for me as well, submitted a PR to update the SampleApp accordingly
Thanks @oblador
Most helpful comment
Had the same problem, solved it by making the path relative. Just remove
$(SRCROOT)/from the "Info.plist File" setting under Build Settings and it works just fine.