Re: Run Script with agvtool canceled build
Re: Run Script with agvtool canceled build
- Subject: Re: Run Script with agvtool canceled build
- From: Bernie Maier <email@hidden>
- Date: Thu, 04 May 2017 19:19:53 +1100
Gerriet M. Denkmann:
macOS 12.4, Xcode Version 8.3.2 (8E2002).
This Run Script:
# !/bin/sh
OLD_VERSION=`xcrun agvtool what-marketing-version -terse1`
echo "old ShortVersionString = ${OLD_VERSION}"
xcrun agvtool next-version -all
always works.
But in most cases it results in: “Build Release: Canceled” later on.
No problem when the next-version line is commented out.
What I am doing wrong?
You are potentially modifying the project file while Xcode is still in the
middle of building from it. Xcode quite possibly doesn't like that.
- Bernie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden