• 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: xcode 4 and developer env for general programming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode 4 and developer env for general programming


  • Subject: Re: xcode 4 and developer env for general programming
  • From: Andreas Grosam <email@hidden>
  • Date: Thu, 29 Mar 2012 09:08:28 +0200


On Mar 28, 2012, at 9:26 PM, Elim Qiu wrote:

I see. That means I need to add /Local/Library/Developer and let Xcode know that(is it possible?)

No, you shouldn't do that.

Third party frameworks are preferable installed into /Library/Frameworks. If you do this, a client does not need to set up header search paths, and framework search paths at build time, since they are "well known" to the compiler. Likewise, at runtime the dynamic linker also searches at "well known" places for the framework. No extra step is required in the build settings to make this all work.

Additionally, Xcode itself makes it easy in the UI when you want to link against a framework which is located in /Library/Frameworks (and /System/Library/Frameworks): it displays a "Choose framework" dialog with those paths already opened and it makes it easy to select one.

Alternatively, you can install frameworks into the App bundle, making them "private" to the application.

If the framework is your own, and you have the sources available, I would recommend to include the Xcode project for the framework into a Workspace together with your client app project.

For further details please see "Framework Programming Guide" / "Installing Your Framework" and "Embedding a Private Framework in Your Application". <https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Tasks/InstallingFrameworks.html>

Andreas


And of course, using any other IDE is almost impossible...



On Wed, Mar 28, 2012 at 12:50 PM, Chris Hanson <email@hidden> wrote:
You work with third-party frameworks in Xcode 4.3 the same way you did in previous versions of Xcode.

(With previous versions of Xcode, one should not modify the contents of the /Developer directory or anything beneath it.)

  -- Chris

On Mar 28, 2012, at 11:45 AM, Elim Qiu wrote:

With 4.3, I'm confused: how some 3rd party Frameworks be added to the system, and how newly developed frameworks be installed to other machine..., Also, is the performance good to work with such a giant app?



On Tue, Mar 27, 2012 at 6:32 PM, Chris Hanson <email@hidden> wrote:
The simplest thing to do will be to install Xcode 4.3.2 using the App Store. That will get you everything you need to do OS X and iOS development, and you can use the Downloads pane in Xcode’s preferences to install the corresponding Command-Line Tools release.

 -- Chris

On Mar 27, 2012, at 8:25 AM, Elim Qiu wrote:

> I'm complete new with Xcode and lion.
>
> I need advises about which version of Xcode is a fit to me:
>
> I need the standard dev env similar to linux so that I can install and develop some common linux programming tool/apps, also I want to study and learn how to develop/customize some objc frameworks and apps with ObjC2.
>
> Given a list of versions of Xcode is quite confusing to me. Which one is good for me? Or any review/overview of Xcode versions?
>
> Thanks
> _______________________________________________
> 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


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)


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: xcode 4 and developer env for general programming
      • From: Joar Wingfors <email@hidden>
References: 
 >xcode 4 and developer env for general programming (From: Elim Qiu <email@hidden>)
 >Re: xcode 4 and developer env for general programming (From: Chris Hanson <email@hidden>)
 >Re: xcode 4 and developer env for general programming (From: Elim Qiu <email@hidden>)
 >Re: xcode 4 and developer env for general programming (From: Chris Hanson <email@hidden>)
 >Re: xcode 4 and developer env for general programming (From: Elim Qiu <email@hidden>)

  • Prev by Date: On speeding up builds.
  • Next by Date: Re: xcode 4 and developer env for general programming
  • Previous by thread: Re: xcode 4 and developer env for general programming
  • Next by thread: Re: xcode 4 and developer env for general programming
  • Index(es):
    • Date
    • Thread