Skip to content

Latest commit

 

History

History
33 lines (14 loc) · 1.2 KB

install_swift_dependency.md

File metadata and controls

33 lines (14 loc) · 1.2 KB

Installing a dependency containing swift code

In order for XCode to successfully build when one of your dependency contains swift code, you can create an empty swift file in your project. Name it however you want, and when XCode offers to create a bridging header, click yes.

Illustrated Instructions

  1. Select New file... from the menu

New file

  1. Select Swift File

Swift file

  1. Name you file however you want this doesn't matter (here I named it "fix")

File Name

  1. You can but don't have to create a bridging header (if you don't know what this is, just press no)

Bridging header

Example of errors that will be fixed

Undefined symbol: __swift_FORCE_LOAD_$

XCode erros