Skip to content

Commit

Permalink
chore: update instructions for attaching the runtime to a NativeScrip…
Browse files Browse the repository at this point in the history
…t app (#240)
  • Loading branch information
djmaze authored Feb 21, 2024
1 parent 6e9b51e commit 6a786e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ You can now open the `platforms/ios/{project-name}.xcworkspace` file in Xcode an

<img width="941" alt="Screenshot 2020-09-09 at 18 46 18" src="https://user-images.githubusercontent.com/879060/92628228-c294c000-f2cc-11ea-8822-58df689d3cd3.png">

Remove the `NativeScript.xcframework` and `TNSLiveSync.xcframework` from the General tab, as we will no longer be using the framework from node_modules and instead will use the source directly:
Remove the `NativeScript.xcframework` and `TKLiveSync.xcframework` from the General tab, as we will no longer be using the framework from node_modules and instead will use the source directly:

<img width="693" alt="Screenshot 2020-09-09 at 18 47 23" src="https://user-images.githubusercontent.com/879060/92628311-e6f09c80-f2cc-11ea-8977-201517badc3b.png">

Hitting Run in Xcode should start the app in the simulator, and we can now add breakpoints to the runtime and step through it with the debugger. To apply changes to the javascript, make sure you run `ns prepare ios` to re-bundle it into the `platforms/ios` folder.

## Only required when running on a physical device

Add the `Nativescript.framework` from the v8ios workspace:
Add the `Nativescript.framework` and `TKLiveSync.framework` from the v8ios workspace:

<img width="402" alt="Screen Shot 2021-04-12 at 11 49 10 AM" src="https://user-images.githubusercontent.com/2379994/114423589-51c8c580-9b85-11eb-9d30-eb1cbf73454a.png">

Expand Down

0 comments on commit 6a786e6

Please sign in to comment.