How debug project in IOS?

ios

#1

My project was created in Windows, and tested on Android.

I want to test my application in iOS.
I read this page:
https://docs.nativescript.org/core-concepts/ios-runtime/how-to/debug-ios-runtime
My project in folder tophr.

I did next steps:

  1. Copy project folder from Windows PC to MAC PC.
    in MAC PC:
  2. cd tophr
  3. tns prepare ios
  4. Run Xcode
  5. File->Open… Choose file tophr/platforms/ios/tophr.xcodeproj

Then what to do?


#2

That’s the docs to debug the run time itself, more advanced one. If you want to debug your app, just run it on Mac with iOS platform just like you did in Android. Utilize debug tools like Chrome Dev Tools if required.


#3

I tried run, Have error.
clang: error: linker command failed with exit code 1 (use -v to see invocation)


#4

Full Build report here Build_report


#5

tns debug ios --chrome


#6

On simulator works.
How can run on real device ?
I have apple developher account.


#7

Use the developer certificates and --device option.


#8

Is it running yet ?


#9

I have an account dev provision profile


#10

and dev certificate


#11

This phone was added in devices list


#12

Revoke all certificates from account and deleted all certificates from local keychain.
After run ios.