How to get the Version number to put in the Executable file?

By : Claudio

With the same way that ( $(PRODUCT_NAME), $(EXECUTABLE_NAME), $(PRODUCT_BUNDLE_IDENTIFIER) ), is it possible to get the executable name of the file (in the Info.plist) with the version number (for example $VERSION or something like this) ?

For now, I have $(EXECUTABLE_NAME), I would like to add the version number. example : Name_of_the_App_v1.45.ipa

By : Claudio


You can get the version number of your App by following code

Objective C :

NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];

Swift :

let versionNumber = NSBundle.mainBundle().objectForInfoDictionaryKey("CFBundleShortVersionString") as! String

Hope this helps.

I dnt know what is inside your design.php but for index.php try this

  <?php include_once( 'header.php');?>
    <html lang="en">

       <?php include_once('footer.php');?> 

You can do it like following.

<script src=""></script>
<div class="medium-item-price">
  <span class="denominator">$</span>

By : Azim

This video can help you solving your question :)
By: admin