Avatar
omochimetaru 1/30/2018 2:50 AM
SwiftPMでObjectiveCのモジュールがあるとき、 swift build では -fmodule が有効化するのに swift package generate-xcodeproj の xcode では Build Settings > Enable Modules = NO になっているために モジュール対応モードでコンパイルされないため、 そのモジュール自身が @import を使っているとコンパイルできない というトラブルを踏んでるんですが、何か知見のある人いますか? 該当のリポジトリで立ってるissueでは手動設定が言及されているけど https://github.com/stephencelis/SQLite.swift/issues/691#issuecomment-339612232 (edited)
Hello, I have compilation problem with Xcode. Compilation was successful with swift build -Xlinker -lsqlite3 but i can't reproduce the same in Xcode. The module SqlLiteOBJ gives 22 errors. Do you h...