I am trying to update the cfbundleversion key with agvtool and it does not seem to work

  • Greetings all,

    I am noticing that when I try to upgrade my application using my
    installer, the upgrading application is skipped. It seems that the
    value in the dfbundleversion key value pair is not being updated when
    I run agvtool and the version held in cfbundleversion is quite old.

    I am running agvtool from a bourne script with the following line:

    agvtool new-version -all $VERSiON

    Is there a bug in agvtool that could account for cfbundleversion not
    being updated? Is there any known workaround that I could implement?

    I hope that this question is clear. Thanks for any and all suggestions.

    Happy Thanksgiving!

    Regards,

    Steve O'Sullivan
  • agvtool update the CURRENT_PROJECT_VERSION of your Xcode project.
    To reflect this change in CFBundleVersion, set CFBundleVersion to $
    {CURRENT_PROJECT_VERSION} (and make sure the "Expand Build Settings in
    Info.plist File" build setting is not disabled)

    <key>CFBundleVersion</key>
    <string>${CURRENT_PROJECT_VERSION}</string>

    Le 27 nov. 08 à 22:13, Steve O'Sullivan a écrit :

    > Greetings all,
    >
    > I am noticing that when I try to upgrade my application using my
    > installer, the upgrading application is skipped. It seems that the
    > value in the dfbundleversion key value pair is not being updated
    > when I run agvtool and the version held in cfbundleversion is quite
    > old.
    >
    > I am running agvtool from a bourne script with the following line:
    >
    > agvtool new-version -all $VERSiON
    >
    > Is there a bug in agvtool that could account for cfbundleversion not
    > being updated? Is there any known workaround that I could implement?
    >
    > I hope that this question is clear. Thanks for any and all
    > suggestions.
    >
    > Happy Thanksgiving!
    >
    > Regards,
    >
    > Steve O'Sullivan
    >