[GH-ISSUE #76] agvtool in "Sync Version Numbers" Run Script is making it impossible to build #64

Closed
opened 2026-05-05 04:56:04 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @JoniVR on GitHub (May 8, 2019).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/76

I'm not sure if I'm the only one or not, but I'm unable to build.
Xcode will not throw an error or anything, the build will simply be "cancelled"

image

I found this stackoverflow question related to the issue, which says it's a problem with agvtool in run scripts, I tested this by removing the "sync version numbers" script and that seems to have fixed it.

Originally created by @JoniVR on GitHub (May 8, 2019). Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/76 I'm not sure if I'm the only one or not, but I'm unable to build. Xcode will not throw an error or anything, the build will simply be "cancelled" ![image](https://user-images.githubusercontent.com/7591717/57369780-c4a5b680-718e-11e9-877e-2d24df786ec1.png) I found this [stackoverflow question](https://stackoverflow.com/questions/16869159/archive-in-xcode-4-5-no-errors-but-build-cancelled) related to the issue, which says it's a problem with agvtool in run scripts, I tested this by removing the "sync version numbers" script and that seems to have fixed it.
gitea-mirror 2026-05-05 04:56:04 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@the0neyouseek commented on GitHub (May 8, 2019):

Had to do the same thing to build

<!-- gh-comment-id:490439704 --> @the0neyouseek commented on GitHub (May 8, 2019): Had to do the same thing to build
Author
Owner

@reitermarkus commented on GitHub (May 8, 2019):

Yes, I think it's because Xcode will reload the project when it is changed by avgtool.

Are you sure it is the Sync Version Numbers script and not the Increase Build Number script?

<!-- gh-comment-id:490552949 --> @reitermarkus commented on GitHub (May 8, 2019): Yes, I think it's because Xcode will reload the project when it is changed by `avgtool`. Are you sure it is the Sync Version Numbers script and not the Increase Build Number script?
Author
Owner

@JoniVR commented on GitHub (May 8, 2019):

After some more testing, seems like it's either one of the scripts.
If I remove either "Increase Build Number" or "Sync Version Numbers", clean and then build it will fail at first attempt, but if I build a second time after that it will succeed. But it does require me to remove either one of the scripts, otherwise it simply doesn't build.

<!-- gh-comment-id:490576330 --> @JoniVR commented on GitHub (May 8, 2019): After some more testing, seems like it's either one of the scripts. If I remove either "Increase Build Number" or "Sync Version Numbers", clean and then build it will fail at first attempt, but if I build a second time after that it will succeed. But it does require me to remove either one of the scripts, otherwise it simply doesn't build.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#64
No description provided.