Created
May 6, 2019 19:47
-
-
Save kumarandena/a69fa30431b549935f1584b5b103dfec to your computer and use it in GitHub Desktop.
How to run the app in debug mode in an iOS real device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run in iOS device | |
* tns run ios | |
* If no certificate found, You will get an error | |
Prepare certificate | |
* tns prepare ios | |
* Open xcWorkspace file which is in platform/ios using xcode | |
* build the app Once certificate ready then head over to visual studio code then try to run again | |
* Possible error while generating certificate | |
Possible 1: | |
* On the time of generation it will ask keytool access "login", give credentials then allow. | |
* If tap allow also sometimes it will not take means then goto keychain accesstool | |
* Lock the login then unlock it. | |
* Go to category -> My credentials | |
* Then it will list the certificates, double tap private key | |
-> Access Control -> select Allow all applications to access this item -> Save changes -> Close keychain access | |
Possible 2: | |
* If developer account not linked on xcode, | |
-> Preference -> Account -> + Add apple developer account | |
After successfully build we can run the app using xcode | |
-> build | |
-> select device | |
-> tap run | |
visual code | |
-> tns run ios | |
Once the application installed on device the it will alert for untrusted developer error, to solve | |
-> Settings | |
-> General | |
-> Device management(developer id) | |
-> Trust | |
-> Try to open an app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment