Thursday, February 4, 2016

How to use http in iOS 9

From iOS 9 apple has adopted ATS(Application Transport Security) which is set of standards that paves way for secured communication and https is one of them.

You can bypass this adding the following key in iOS

NSAppTransportSecurity</key>

    NSAllowsArbitraryLoads</key>
    <true/>
</dict>

Monday, February 1, 2016

Location of provisioning profile

~/Library/MobileDevice/Provisioning Profiles

Sunday, January 31, 2016

MIME Types in Apache Web Server OSX

Its in /private/etc/apache2 there you can find mime.types configuration file.
You can change after that restart the apache to take effect of your changes

Monday, January 25, 2016

xcode make a file non-arc


  1. Build Phases -> Compile Sources
  2. Choose the file and click on it enter -fno-objc-arc on compiler flags


Sunday, October 4, 2015

install ios app in simulator

We can't directly install any iOS app on simulator.

But If you have a app bundle for simulator which was built by someone else (or archived), you can install it using simctl

xcrun simctl install booted /path/to/your.app

Thursday, August 13, 2015

Convert Android apps to chrome apps

There is chrome app called ARC Builder it wraps the APK and turns it into a Chrome app.

Here is the link to the ARC Builder

https://goo.gl/qdTXIc

Tuesday, August 11, 2015

Create a p12 file


openssl pkcs12 -export -out clientp12.p12 -inkey clientkey.pem -in clientcert.pem -certfile ca.pem