Why linker link static libraries with errors? iOS

后端 未结 17 1341
自闭症患者
自闭症患者 2020-11-27 14:39

I have a problem with linking my mixed language framework to a project.

1) I create a framework with Swift and Objective-C classes.

2) The main logic was stored in the

17条回答
  •  暖寄归人
    2020-11-27 15:12

    If your Xcode version is >=12.2

    Go to

    BuildSettings -> Linking -> runpath search path and add

    /usr/lib/swift

    as your 1st argument like this enter image description here

提交回复
热议问题