Including one Xcode project in another — linker errors

后端 未结 4 1959
情书的邮戳
情书的邮戳 2020-12-04 03:38

I am trying to do this, and running into problems. The parent project needs to access the class SettingsViewController from the child project. I have put the child project

4条回答
  •  失恋的感觉
    2020-12-04 04:15

    I know this is very old but might be helpful for others.

    You need to setup the included project in Target Dependencies in "Build Phases" to get the included projet to be compiled and you also should add the static library of the included project in the "Link Binary with Libraries".

    Click on your Target->Build Phases and set these up.

提交回复
热议问题