• 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: Integrate QuartzCore.framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Integrate QuartzCore.framework


  • Subject: Re: Integrate QuartzCore.framework
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 19 Jul 2012 10:26:34 -0500

On 19 Jul 2012, at 4:01 AM, Vavelin Kevin wrote:

I want to link my iOS app with QuartzCore.framework but i just can't do it. 

First, the popover window doesn't show QuartzCore framework on the list of iOS 5.1 framework so i have to select it with Add Other button and choose it on /System/Library/Framework .

After that, my application launch perfectly with iOS Simulator but i can't build on my iPhone and iPad 'cause QuartzCore is missing :/ I have no idea of how to do that.

If memory serves, if you're developing for iOS 5.1, you're using Xcode 4.3. Am I right that you are using the latest version, 4.3.3?

The library in /System/Library/Frameworks is the wrong one, even for Mac development. The select-library sheet gives your project a reference to the library stub in the SDK in the Xcode package. The SDK version provides symbols and headers for that version of the OS, which might not be the same as the OS version you are running.

The framework in /System/Library is built for Intel processors, and not ARM. The device build fails because there is no device-compatible version of the library at that location. The Simulator is a simulation (it runs Intel binaries in an iOS-like environment), not an emulation (it does not interpret ARM binaries). One of the effects is that the Simulator uses the Mac versions of the system libraries, which is why you had no trouble there.

I can understand the desperation move of dragging the framework into your project folder (the file system directory?), but that's asking for even more trouble.

Your inability to choose QuartzCore.framework is a problem. It sounds as if you have the right approach, but just to make sure, how are you attempting to add it? The steps should be: Select the correct target in the Target editor; select the Build Phases tab; open the Link Binary With Libraries list; click the + button to reveal a chooser sheet; type "qu" in the search field; find QuartzCore.framework in the iOS 5.1 section; select it; click Add; the framework should show up in the Link Binary… phase; does it appear when you type "qu" in the search field for the Target editor?

Does that match what you are doing?

How have you installed your Xcode? By downloading it (from developer.apple.com/downloads, or through the Mac App Store) and dragging it into your /Applications folder? Do you have more than one Xcode? Can you conveniently delete and reinstall it? If your problem is with Xcode 4.4 or 4.5 (don't tell us), does Xcode 4.3 exhibit the same problem? 

— F

-- 
Fritz Anderson -- Xcode 4 Unleashed: Now in stores! -- <http://x4u.manoverboard.org/>

 _______________________________________________
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

References: 
 >Integrate QuartzCore.framework (From: Vavelin Kevin <email@hidden>)

  • Prev by Date: Re: Cannot produce executable target for command line tool in xcode 4.3
  • Next by Date: Re: The speed of popover displays within Xcode
  • Previous by thread: Re: Integrate QuartzCore.framework
  • Next by thread: Cannot produce executable target for command line tool in xcode 4.3
  • Index(es):
    • Date
    • Thread