First this not duplicate of Test iOS app on device without apple developer program or jailbreak
I know it is possible to run app on device using Xcode 7 and free AppleId but i want to achieve this using terminal only Or in other words, Is there any way to generate provisioning profile & certificate using unpaid Apple Id through terminal.
If i will follow mentioned steps then my app installed and run successfully in device but i want to generate IPA using this free certificate and provisioning profile using terminal only.
- In Xcode, add your Apple ID to Accounts preferences, described in Adding Your Apple ID Account in Xcode.
- In the project navigator, select the project and your target to display the project editor. Click General and choose your name from the Team pop-up menu. 
- Connect the device to your Mac and choose your device from the Scheme toolbar menu. Below the Team pop-up menu, click Fix Issue. 
- Xcode creates a free provisioning profile for you and the warning text under the Team pop-up menu disappears. 
- Click the Run button. Xcode installs the app on the device before launching the app.
I am working on some automation task and want to generate and install this signed iPA using unpaid Apple Id through Terminal.
 
     
    