Static libraries in Xcode 4

后端 未结 6 817
清歌不尽
清歌不尽 2020-12-07 09:49

(My question has been asked here before but with no working answers that I can see. E.g. Xcode4 Workspace with Static library project & application project)

I\'

6条回答
  •  天涯浪人
    2020-12-07 09:57

    Take a look of my solution note and Open Radar entry.

    The red colored product node is a bug of Xcode. You can make it work by changing SDKROOT on Project build setting. Target build settings won't work for IDE display & support.

    Edit

    For later reference.

    Currently, my opinion is changed to the Xcode project is not completely able to deal with multiple platforms. Though it can display multiple platforms but only one platform can be chosen at one time to screen display by the SDKROOT setting. If you select iOS, it will use something like Debug-iphoneos for build product path. So all Mac OS X targets will be missing. If you choose Mac OS X, it will use something like Debug. So all iOS targets' products will be missing.

    I think Xcode still have internal bug related this. It's long time to go to make Xcode to be stabilized.

提交回复
热议问题