What's the correct way to configure Xcode 4 workspaces to build dependencies when needed?

后端 未结 4 1744
滥情空心
滥情空心 2020-11-29 18:48

My case is simple, a workspace with two sibling projects: one main (iOS) app and a project that builds several static library targets used by the app.

Here\'s how I

4条回答
  •  [愿得一人]
    2020-11-29 19:19

    In my case, the only way i could have that sibling configuration build is by manually adding the path "../MyLibProject/build/Debug-iphoneos" (checking recursive just to make sure) in my Build Settings -> Library Search Paths. Adding the .a file in the Main project alone didn't prevent the "lib not found" error at link time.

提交回复
热议问题