• 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: How to add resource files to "Build Resource Manager Resources" phase ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add resource files to "Build Resource Manager Resources" phase ?


  • Subject: Re: How to add resource files to "Build Resource Manager Resources" phase ?
  • From: Douglas Norton <email@hidden>
  • Date: Tue, 7 Mar 2006 16:46:09 +0000

Amir,

In my project, the build phase 'Build Resource Manager Resources' does not have a space between Resource & Manager, it is "Build ResourceManager Resources".

Is that relevant ?

Douglas

On 7 Mar 2006, at 16:39, amir wrote:

Hi,

I have written  an applescript file which creates an xcode project. I have managed to add the *.cpp files into the "Compile Sources" phase however
couldn't do the same with the *.r files into the "Build Resource Manager Resources" , the script stop with this error message:
"Target container does not support the add event".

Is this feature not supported?

here is the code:


tell application "Xcode"
tell project pluginName
repeat with f in resourceFileList

tell group "Resources"
set newFileRef to make new file reference with properties {path:"./Resources/Mac" & f, name:f}
end tell
tell target "PluginBundle"
set tmpName to name of newFileRef
add newFileRef to build phase "Build Resource Manager Resources"
end tell

end repeat
end tell
end tell

 _______________________________________________
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: How to add resource files to "Build Resource Manager Resources" phase ?
      • From: amir <email@hidden>
References: 
 >How to add resource files to "Build Resource Manager Resources" phase ? (From: amir <email@hidden>)

  • Prev by Date: How to add resource files to "Build Resource Manager Resources" phase ?
  • Next by Date: Re: Custom build rule always rebuilding
  • Previous by thread: How to add resource files to "Build Resource Manager Resources" phase ?
  • Next by thread: Re: How to add resource files to "Build Resource Manager Resources" phase ?
  • Index(es):
    • Date
    • Thread