• 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: build script access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build script access


  • Subject: Re: build script access
  • From: Brian Stern <email@hidden>
  • Date: Wed, 13 Aug 2008 18:39:20 -0400


On Aug 13, 2008, at 6:10 PM, Bengt Nilsson wrote:

Everything works just fine, except the copying of the dylib into the product bundle.


If the dylib needs to be inside the newly built app then there needs to be a copy files build phase.

This is exactly my problem.

The path in the "shellScript" line, "../../src/build" is what I need to change.
Obviously, I should not change it using a text editor!
So I need to have access to the build phase scripts from Xcode, and I just don't know how to do that.




Pay no attention to the scripts behind the curtain. This is controlled with the build phases UI. You need a Copy Files build phase. Is this lib already in one of those? Does Get Info of this lib from the Copy Files build phase UI show the wrong location?

You could try removing the lib from the project and then adding it back to the project and adding it again to the Copy Files build phase. Is it possible this file has been added to your project twice?

Look at the Xcode Build System Guide.

--
Brian Stern
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: build script access
      • From: Bengt Nilsson <email@hidden>
References: 
 >build script access (From: Bengt Nilsson <email@hidden>)
 >Re: build script access (From: Brian Stern <email@hidden>)
 >Re: build script access (From: Bengt Nilsson <email@hidden>)

  • Prev by Date: Re: Trouble running ruby code in Run Script build phase
  • Next by Date: Re: Trouble running ruby code in Run Script build phase
  • Previous by thread: Re: build script access
  • Next by thread: Re: build script access
  • Index(es):
    • Date
    • Thread