You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a super minor issue but I noticed that I'm constantly getting the following warning in my console:
💉 ⚠️ Project file /Users/[redacted]/[redacted].xcodeproj does not contain the -interposable linker flag. In order to be able to inject methods of structs and final classes, please add "Other Linker Flags" -Xlinker -interposable for Debug builds only.
However I do actually set those flags but via an xcconfig instead (and the reloading works as expected).
// Hot-reloading with Inject.
OTHER_LDFLAGS = $(inherited) -Xlinker -interposable
Reproduced with HotSwiftUI 1.2.0
The text was updated successfully, but these errors were encountered:
Ah, there isn't much I can do about that if it's in an .xcconfig. It's important people set the -interposable flag so I'd rather err on the side of reporting it.
@johnno1962 thanks for the quick answer and I totally understand your reasoning. As a potential compromise, would it make sense to have an optional way to disable this warning (and/or opt-out of the check)?
Otherwise feel free to close! :-)
Hey there, thanks for building this!
This is a super minor issue but I noticed that I'm constantly getting the following warning in my console:
However I do actually set those flags but via an xcconfig instead (and the reloading works as expected).
Reproduced with
HotSwiftUI 1.2.0
The text was updated successfully, but these errors were encountered: