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

By : Claudio
Source: Stackoverflow.com
Question!

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


Answers

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">
       <head>
         <title>index.php</title>
       </head>

         <body>
           ..something.... 
         </body>
       <?php include_once('footer.php');?> 
     </html> 


You can do it like following.

$('.medium-item-price').contents().last()[0].textContent='100';
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="medium-item-price">
  <span class="denominator">$</span>
  699.99
</div>

By : Azim


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