• 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: amir <email@hidden>
  • Date: Wed, 8 Mar 2006 11:09:47 +0200

Thanks!



On Mar 7, 2006, at 6:46 PM, Douglas Norton wrote:

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

References: 
 >How to add resource files to "Build Resource Manager Resources" phase ? (From: amir <email@hidden>)
 >Re: How to add resource files to "Build Resource Manager Resources" phase ? (From: Douglas Norton <email@hidden>)

  • Prev by Date: Re: XCode not warning about deprecated functions
  • Next by Date: Dynamic library vs Framework ?
  • Previous by thread: Re: How to add resource files to "Build Resource Manager Resources" phase ?
  • Next by thread: Header file confusion
  • Index(es):
    • Date
    • Thread