Avatar
あー、これ直さないまま出荷されてしまった… (edited)
9:27 AM
FoundationがCoreFoundationを@_implementationOnlyでimportするようになった影響でFoundation.swiftmoduleにCoreFoundationへの依存の記述が無くなったんですよね
9:29 AM
動的ライブラリの場合はlibFoundation.soがlibCoreFoundation.soにリンクされているので問題なくリンクできるんですが、静的ライブラリlibFoundation.aはlibCoreFoundation.aを包含してないので壊れました
9:29 AM
とりあえずのworkaroundとしては -Xlinker -lCoreFoundation で治ると思います。
9:30 AM
I want to confirm that I'm using @_implementationOnly correctly with static library in autolinking aspect. Currently, Foundation imports CoreFoundation with @_implementationOnly attribute other than Linux and Darwin platforms. Modules imported with @_implementationOnly are not added to swift1_autolink_entries to hide the dependencies, and the...