yannis assael | the blog

  • Home
  • About
  • Categories
    • Android
    • Computing
    • iOS
    • Machine Learning
    • MacOSX
  • GitHub
  • Mobile Apps
  • yannisassael.com


Posts Tagged ‘appcelerator’

Convert Javascript Date from UTC to Local Timezone

Written by iassael on 03/05/2013. Posted in android, computing, iOS

var strdate = ‘2013/05/03 03:13:00’;
var d = new Date(strdate);
var d = new Date(d.getTime() – d.getTimezoneOffset() * 60 * 1000);

used it with Titanium Appcelerator

  • Continue Reading
  • 1 Comment

Appcelerator Latest iOS SDK not Detected

Written by iassael on 02/05/2012. Posted in computing

If you are having a problem with Appcelerator Titanium not detecting an iOS SDK while you updated your XCode…
First run this to see the available SDK versions:
xcodebuild -showsdks
And then if it doesnt show up.. select the lastest:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
I was facing this problem with iOS 5.1 …
J.

  • Continue Reading
  • No Comments