title: Install app on iOS device (iPhone / iPad) or create .ipa from Xcode without code signing and developer account
body: <p>I am new to iOS development and self learning.  I have created couple of  apps and already tested in iOS simulator.   These apps runs perfectly fine without any issues and warnings pre or post build.  </p>
  
  <p>I wanted to run apps on my iPhone for realtime testing. But cannot extract .ipa package from Xcode as i did not subscribe to developer's account yet (will do later). Tried few tweaks and followed below steps :-  </p>
  
  <ol>
  <li>Updated <strong>SDKsettings.plist and set CODE_SIGNING_REQUIRED, ENTITLEMENTS_REQUIRED to value NO</strong>.(<em>read at tech blog</em>)  </li>
  <li>Created archive and export method as : <strong>"Save for Ad Hoc Deployment"</strong> </li>
  <li><p>Further steps asked for developers account again. So tried to fetch <strong>.app /.ipa</strong> from xcarchive in two ways :  </p>
  
  <p>a). Run command line:<br>
  <code>xcodebuild -exportArchive -exportFormat ipa -archivePath /Users/../Library/Developer/Xcode/Archives/..\app.xcarchive/ -exportPath /Users/../Desktop/app.ipa</code>  </p>
  
  <p>b). Copied .app file underneath the above xcarchive package. Dargged and dropped to iTunes "MyApps"</p></li>
  <li><p>Within iTunes, i noticed that app size grew from 2.2 MB to 8.4 MB.  </p></li>
  <li><p>Connected iPhone using USB and performed install then clicked sync/apply. App gets installed on device but iTunes shows "installing"</p></li>
  <li><p>Disconnected USB, installed App has no icon image. When touched to open the app, it starts installing and never opens up.  </p></li>
  </ol>
  
  <p><strong><em>Please help suggest pointers so that i can test my app without developer's account</em></strong>.</p>