Avatar
An examination of build times of Xcode projects that mix Objective-C and Swift, which can contain large bridging headers, shows that the Swift compiler spends a lot of time re-processing the same bridging headers for all the Swift files in a project. In certain projects, each additional Swift file increases the overall build time noticeably, even when the Swift file is quite modest.
🤔 1
😮 1
6:42 AM
この -enable-bridging-pch をONにして開発している方いらっしゃいますか?
6:43 AM
Twitterでハッシュタグ検索してみると4月ぐらいの古いツイートしかなく、実際にやってこ効果が出たという方のツイートもちらほら見るのですが、数ヶ月前の情報なので。
6:44 AM
自分は、Debugのみ -enable-bridging-pch をONにして開発してますが、効果あるのかいまいち微妙なので皆さん意見を聞きたく。
6:49 AM
-enable-bridging-pch をONにすると -Bridging-Header.h は Precompileされてるようです。