• 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: Run script output files not being compiled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run script output files not being compiled


  • Subject: Re: Run script output files not being compiled
  • From: Rick Mann <email@hidden>
  • Date: Mon, 02 Jun 2014 20:06:08 -0700

On Jun 2, 2014, at 20:01 , Mills, Steve <email@hidden> wrote:

> On Jun 2, 2014, at 21:29:10, Rick Mann <email@hidden> wrote:
>
>> I've got a run script build phase that generates some .cc files, and they're listed in its output files, but they're not getting picked up and compiled.
>>
>> How can I fix this?
>
> So, you want them to be compiled by the same Build command that generated them? If your build phase script generates them and they didn't exist before, then they won't be in the Compile build phase. I would guess that you'd need to have some empty source files already added to the project AND in the Compile build phase, then the script would simply add the source code data to those existing files.

The run script build phase runs before the compile phase, so they're available.

As mentioned in my follow-on post, Xcode is also ignoring the input files, and always running the script, even when those haven't changed.





 _______________________________________________
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: Run script output files not being compiled
      • From: "Mills, Steve" <email@hidden>
References: 
 >Run script output files not being compiled (From: Rick Mann <email@hidden>)
 >Re: Run script output files not being compiled (From: "Mills, Steve" <email@hidden>)

  • Prev by Date: Re: Run script output files not being compiled
  • Next by Date: Re: Run script output files not being compiled
  • Previous by thread: Re: Run script output files not being compiled
  • Next by thread: Re: Run script output files not being compiled
  • Index(es):
    • Date
    • Thread