• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AddressBook.framework in Xcode: Reference vs Copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AddressBook.framework in Xcode: Reference vs Copy


  • Subject: Re: AddressBook.framework in Xcode: Reference vs Copy
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 17 Jun 2008 09:17:10 -0700

On Jun 17, 2008, at 8:13 AM, email@hidden wrote:

Greetings:
I'm working on an iP*e project. I need access to the AddressBook.framework.
Normally I can add the framework via Reference (i.e., add to project w/out COPY selected).


But on this particular platform, I can see the header files, but the project fails to build.
I get numerous fatal (not defined) errors.


However...

If I COPY the AddressBook.framework (25MB), the project builds without the fatal errors.

You're probably aware that it's not going to be successful to copy system frameworks into your product source.


I'm using the 'import <AddressBook/AddressBook.h>' stmt.

Originally I thought it had something to do with the compiler directive with the header files:
#if MAC_OS_X_VERSION_10_3 <= MAC_OS_X_VERSION_MAX_ALLOWED

When you're not compiling with a Mac OS X SDK, these macros will not be defined. Besides, you're having a link-time problem, not a compile- time problem.


But that doesn't appear to be the case, having actually install a full COPY (25MB) into the project and to see it compile.

Any Ideas to this behavior?

I filed a bug with Apple.

You could also use email@hidden for help with seeded products.


My guess is that while you added the framework to your *project*, you didn't add it to the Link Binaries phase of your *target*. Or you added the framework from the wrong SDK, or used the wrong reference style for the SDK.

It would help to know the precise details of the link command, which you can send to the feedback address above.

Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: AddressBook.framework in Xcode: Reference vs Copy
      • From: Bill Bumgarner <email@hidden>
References: 
 >AddressBook.framework in Xcode: Reference vs Copy (From: email@hidden)

  • Prev by Date: Re: Moving from Unix to Xcode
  • Next by Date: Re: Xcode Release vs Debug Differences: Problem with Exception Types
  • Previous by thread: AddressBook.framework in Xcode: Reference vs Copy
  • Next by thread: Re: AddressBook.framework in Xcode: Reference vs Copy
  • Index(es):
    • Date
    • Thread