How to add an existing framework in Xcode 5

前端 未结 5 2113
半阙折子戏
半阙折子戏 2020-12-01 03:42

I\'m trying to add the AdColony.h frameWork after downloading it, but I can\'t find it in Xcode 5. I was able to do it in the last version, but can\'t find it in this one. <

5条回答
  •  爱一瞬间的悲伤
    2020-12-01 03:58

    Actually, I use Xcode 6.4, and I happen to be confronted with the same problem. I tried many ways suggested by others while none worked.(no button named General as others said) Here comes my solution.

    • Select your project in the project navigator
    • Click 'Build Phases' tab
    • Open 'Link Binaries With Libraries' expander
    • Click button '+' to add items

    step 1-4

    • Search and choose the frameworks you need, for example, I choose 'OpenGL.framework', and click the button 'Add'

    • Finally, you can see the frameworks you choose in the window

提交回复
热议问题