Adding iAd Framework and AdSupport Framework to Bu

2019-03-31 20:10发布

问题:

How, in Xcode 6, can I add the iAd Framework and AdSupport Framework to Build Phases? I went to the Build Phases page, but my only options are to add: "New Copy Files Phase", "New Run Script Phase", and "New Headers Phase". Which of those do the frameworks I want to input fall under, and how do I input those frameworks?

回答1:

You should click on the Project Icon on the left. Make sure your target is selected. On the screen you should now have 6 titles in the menu (General, Capabilities, Info, Build Settings, Build Phases, Build Rules). Click on General. On linked Frameworks and Libraries ad the iAd framework.

Hope that helps.