<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I just logged this bug (<a href="https://bugs.swift.org/browse/SR-6399" class="">https://bugs.swift.org/browse/SR-6399</a>) yesterday regarding some issues I’m seeing with getting code to compile both on linux and mac/iOS. It seems that method/property signatures that contain types that bridge from swift structs to foundation classes (String, Array, Dictionary, etc) cannot be marked @objc on Linux, since those types don’t auto-bridge to their foundation equivalents there. Is there some workaround I can use on linux that doesn’t require me to remove the @objc annotations (since they’re needed on iOS in a mixed language context) or have giant #if os(Linux) sections where tons of properties and methods are redefined without the annotations)?<div class=""><br class=""></div><div class="">Thanks!<br class=""><div class=""><div class=""><br class=""><div class="">
<div class="">--</div><div class="">Kevin Lundberg</div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></div></div></body></html>