IDE Script - MacOSXAppName problem - again

  1. last week

    James P

    Mar 20 Pre-Release Testers Jamaica

    I'm trying to change the name of the app, pre-build in an IDE script:

    If ConstantValue("App.kisBeta")= "True" Then
      
      Dim v As String = "BetaVersion " + PropertyValue("App.LongVersion") + "pr" +  ConstantValue("App.kBetaVersion")
      //Print v
      PropertyValue("App.MacOSXAppName") = v
      Print PropertyValue("App.MacOSXAppName")  //this is correct
      
    Else
      
      PropertyValue("App.MacOSXAppName") = "BuildVersion"
      
    End If

    But it ain't workin! The Print command shows the correct name but when it builds the app it still has its original name...

  2. Beatrix W

    Mar 20 Pre-Release Testers, Third Party Store Europe (Germany)

    You need to change the name in an IDE communicator script not in an IDE script. By the time you build it's too late in the IDE script.

  3. James P

    Mar 20 Pre-Release Testers Jamaica

    @Beatrix W By the time you build it's too late in the IDE script.

    Is that specific to the MacOSXAppName property? I am able to change other properties (e.g. longVersion and shortVersion) in a pre-build script with no problem.

  4. Beatrix W

    Mar 20 Pre-Release Testers, Third Party Store Europe (Germany)

    I think so. The same is true for the bundle id.

  5. 3 days ago

    James P

    Mar 25 Pre-Release Testers Jamaica

    @Beatrix W The same is true for the bundle id.

    It seems that bundle id can be changed, using PropertyValue("app.application identifier") - note the space included.

or Sign Up to reply!