dragon
dragon copied to clipboard
Issue with SDK (at least on linux)
min repro:
git clone https://github.com/kritantadev/statusviz
cd statusviz
dragon c b
also shows up in dragon test in multiple
is this new?
Pass on MacOS 10.15.7 https://github.com/DragonBuild/dragon/runs/3441772777?check_suite_focus=true
If this is referring to "___isOSVersionAtLeast", I can confirm that I also encounter the issue on my Linux system.
Possible duplicate of #76.
if(@available(iOS 13, *))causes the following error for both arm64 and arm64e:Undefined symbols for architecture arm64e: "___isOSVersionAtLeast", referenced from: __ZL66_logos_method$Widgets_13$WGWidgetHostingViewController$viewDidLoadP29WGWidgetHostingViewControllerP13objc_selector in Tweak.xm.mm.oExample usage: here
Note: swapping out the contents of
iPhoneOS.sdkin~/.dragon/sdks/with another patched sdk does not resolve the issue, at least for me.
- UsrLightmann
Think this may be an issue larger than Dragon . . . have tried debugging for the past couple hours and can't seem to remedy the error any way other than setting the minimum deployment target to >= the version being checked with @available.
Found an interesting forum post about the issue here. Seems it may be a toolchain issue regarding libclang_rt. Sam (Bingner) also encountered an issue with @available which he described here. I assume he's referring to the same static library mentioned above.
Going to close this since it spawns from an issue with libclang_rt*.a in the precompiled LLVM/Clang toolchains currently available and not dragon itself.