krzysztofzablocki / Inject

Hot Reloading for Swift applications!
MIT License
2.1k stars 114 forks source link

Inject on a device? #84

Closed johnno1962 closed 7 months ago

johnno1962 commented 7 months ago

Recently, sparked by this issue using InjectionIII on a device has been made far easier and more reliable. With this change, Inject should also work on a device if people add a build phase and fall back to the old way if they don't.

krzysztofzablocki commented 7 months ago

🙇

johnno1962 commented 7 months ago

Thanks! There are some other tweaks in the HotSwiftUI.swift you might want to check out bringing the "cost" of the @ObserveInjection property wrapper down to zero for a release build in terms of storage.

It seems like @Perjan is up and running now, do you want to add a 1.3.0 tag for the new code? I'll release the xrOS bundle containing version of the app in a few days.