Cocoa framework is not in Linked Frameworks? and Libraries?

Hi,


It seems that I cannot find Cocoa framework in the Linked Frameworks and Libraries area. I am using xcode version 10.1. Anyone knows the steps to add it? Thanks.


Best regards,

Zhi Chen

Replies

This is Xcode 10.1 on Mojave. You don't get this same list?
https://app.box.com/s/c0asihmjm5orqdwcnwpum1sd2k4l98s3

If you created a Cocoa app Xcode project you should not need to add it to the Linked Frameworks and Libraries section. That section is normally used for adding non-Apple frameworks and libraries. None of my Mac apps written in Swift has the Cocoa framework in the Linked Frameworks and Libraries section, and they build and run.


Clicking the Add button opens a sheet that will let you add any framework or library in the macOS or iOS SDK to the list of linked libraries and frameworks.