Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 879311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:54:40+00:00 2026-05-15T11:54:40+00:00

how can I set up a Universal project which has support for iAd (just

  • 0

how can I set up a Universal project which has support for iAd (just in the iPhone app)?

Using the iPhone SDK 4, let’s suppose I do the following steps:

  1. Open XCode;
  2. Go to File > New Project ;
  3. Select Window-based application (or whatever), choose Product: Universal (and after choose a name for the project).

It will create a Universal project skeleton with iPhone/iPad groups as usual.
Now, I decide to integrate iAd in my iPhone App, so I do the following:

  1. Right-click in the project’s group called Frameworks > Add > Existing Frameworks…
  2. Choose iAd.framework > Add

So far, so good. I can simply Build And Run using the Active Executable as Project Name – iPhone Simulator 4.0 and the project runs OK. Suppose I change the Active Executable to Project Name – iPad Simulator 3.2. Although the iAd.framework is still being referenced in the Frameworks successfully (without being marked with the Red color), the App crashed in the iPad simulator and I get the following error message:

dyld: Library not loaded: /System/Library/Frameworks/iAd.framework/iAd
Referenced from: /Users/nexia1/Library/Application Support/iPhone Simulator/3.2/Applications/8479EE14-28AA-4628-A668-CCF3FE770628/Untitled.app/Untitled
Reason: image not found

Can I use the iAd in such a Universal project? (even that I only references it in my iPhone app).

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:54:41+00:00Added an answer on May 15, 2026 at 11:54 am

    You need to weak link the framework, and in your code ask if the classes exist.

    Apple has a similar example for this: http://developer.apple.com/iphone/library/samplecode/MailComposer/index.html

    It is about the in-app mail sheet on 3.0 while still running on 2.x, but you’ll get the point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building an app which is a universal iPhone/iPad app. I'd like to support
I am doing a universal application which has 2 app delegates separately for iPhone
I am having problems with my universal app. I have set the Base SDK
My project is set up to be Universal. I have a view in which
how can i transform an iPhone only app to an universal application? EDIT :
I can set the event on the calendar on my device by using this
I know you can set max heap size at startup using -Xmx but is
I have an iPhone SDK project that is supposed to build a static library
I've been playing around with upgrading from an iPhone app to a Universal application,
I have a universal iOS app with a custom view that has three buttons,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.