开发者

iAd framework missing in XCode

开发者 https://www.devze.com 2023-02-28 04:04 出处:网络
I downloaded the latest XCode 3 days ago. I am trying to add the iAd Framework to my current project.

I downloaded the latest XCode 3 days ago.

I am trying to add the iAd Framework to my current project.

I go to target, then "link with libraries", click on "+" and have a list of frameworks.

But can't find any iad framework in that list?

See screenshot here:

iAd framework missing in XCode

http:/开发者_开发知识库/i.stack.imgur.com/4Kn8F.png

Any idea why?

Thank you a lot!


None of those look like they are iOS libraries. Make sure your project's other settings point to iOS, not Mac OS. You also seem to be missing lots of the other iOS frameworks, such as GameKit. If you have to, click "Add Other" and browse for /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/System/Library/Frameworks/iAd.framework.


Maybe you can reference it only by adding in the Build Setting -> Other Linker Flags the value -weak_framework and after that entrance add in another row iAD

This just to make a weak reference to the iAd Framework.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号