LoginSignup
9
8

More than 5 years have passed since last update.

1分で出来る、SwiftにBridging Headerを追加しProjectに反映

Posted at

SwiftからCrypto系のライブラリを呼ぶのに色々と手を焼いてしまい
忘れないようメモメモ。

1.Objective-CのFileを新規に作成

1.png

2.Bridging Headerを生成。

2.png

3.新規に作成したObjective-CのFileは削除。

3.png

4.完了

4.png

ProjectのBuild Settingsには、↑で追加したBridging Headerが既に登録されているので
特に設定を変えずに使えます。

9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8