How to “add existing frameworks” in Xcode 4?

后端 未结 10 2213
庸人自扰
庸人自扰 2020-11-21 11:23

I can\'t find the good old \"Add existing frameworks\" option. How do I do this?

We\'re talking about Xcode 4 DP2 (in the context of iPhone development, as far as it

相关标签:
10条回答
  • 2020-11-21 12:06
    1. In the project navigator, select your project.

    2. Select your target.

    3. Select the "Build Phases" tab.

    4. expander. Click the + button.

    5. Select your framework.

    6. (optional) Drag and drop the added framework to the "Frameworks" group.

      enter image description here

    0 讨论(0)
  • 2020-11-21 12:08

    I just added the existing framework folder manually into the project navigator. Worked for me.

    0 讨论(0)
  • 2020-11-21 12:11

    The frameworks directory is as follow in my computer: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks

    not the directory

    /Developer/SDKs/MacOSXversion.sdk/System/Library/Frameworks
    
    0 讨论(0)
  • 2020-11-21 12:15

    Follow below 5 steps to add framework in your project.

    1. Click on Project Navigator.
    2. Select Targets (Black arrow in the below image).
    3. Select Build phases ( Blue arrow in the below image).
    4. Click on + Button (Green arrow in below image).
    5. Select your framework from list.

    Framework

    Here is the official Apple Link

    0 讨论(0)
提交回复
热议问题