{"repo":"johnno1962/HotReloading","free":true,"listed":false,"github":"https://github.com/johnno1962/HotReloading","clone":"git clone https://github.com/johnno1962/HotReloading.git","description":"Hot reloading as a Swift Package","language":"Swift","stars":610,"topics":["swift","swiftui","hot-reload"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Yes, HotReloading for Swift, Objective-C & C++! Note: While this was once a way of using the InjectionIII.app on real devices and for its development you would not normally need to use this repo any more as you can use the pre-built bundles using the copy bundle.sh script. It has also been largely superseded by the newer and simpler InjectionNext project. You should only add the HotReloading product to your main target. This project is the InjectionIII app for live code updates available as a Swift Package. i.e.: Then, you can inject function implementations without having to rebuild your app... To try out an example project that is already set-up, clone this fork of SwiftUI-Kit. To use on your project, add this repo as a Swift Package and add \"Other Linker Flags\": -Xlinker -interposable. You no longer need to add a \"Run Script\" build phase. If want to inject on a device, see the notes below on how to configure the InjectionIII app. Note however, on an M1/M2 Mac this project only works with an iOS/tvOS 14 or later simulator. Also, due to a quirk of how Xcode how enables a DEBUG build of Swift Packages, your \"configuration\" needs to contain the string \"Debug\". Remember not to release your app with this package configured. You should see a message that the app is watching for source file changes in your home directory. You can change this scope by adding comma separated list in the environment variable INJECTION DIRECTORIES . Should you want to connect to the InjectionIII.app w","default_branch":null,"files":null,"tree":[],"storefront":"/r/johnno1962","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/johnno1962/HotReloading/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}