I have xcode 8.3 along with mac sierra10.12.4 and i am building cordova app .am not able to build/generate app on iphone.I didnot have apple developer account so am trying with appleid but am not getting provisioning profile.App builds in simulator only.How to build app on iphone/physical device without developer account?
You don't need Paid Apple Developer Account to run app on your device , but you do need Paid Apple Developer account for app distribution. To run the app on your iPhone, you just need to enter your Apple developer account credentials in the Xcode like this :
After adding your apple developer account, just follow these and you will be able to run the app, small note before doing this select your device from the dropdown list.