How to add files to xcode project with the help of applescript

i am tried but got some of the error which is enable to solve by myself becuase i am new in applescripting
tell application "Xcode"
open "Macintosh HD:Users:Nitesh:Desktop:sumeet:RND:iPhone:iPhone_V2_Ref_2.5.01:iPhone_V2.xcodep roj"
          tell project "iPhone_V2"
                    set resourcepath to "/Users/Nitesh/Desktop/sumeet/RND/images" (*full path of my folder that i want to add*)
set filelist to {}
                    tell application "Finder"
                              set filelist to (name of items of (POSIX file resourcepath as alias))
                    end tell
                    tell group "images" of root group
                              repeat with i in filelist
                                        set filepath to resourcepath & (contents of i)
                                        set myfile to make new file reference with properties {namecontents of i), full path:filepath}
                                        add myfile to first target of front project
                              end repeat
                    end tell
          end tell
end tell
the issues is:
error "Xcode got an error: Can’t get group \"images\" of root group of project \"iPhone_V2\"." number -1728 from group "images" of root group of project "iPhone_V2"

Applescript for this issue is more simple . Try to use my script that is here

Similar Messages

  • How do I open GarageBand 09 project with the Amp and Pedals Plugins?

    My client sent me via YouSendIt online me his GarageBand 09 v5.0.1 project to tune up Logic Pro 8.0.2. Upon opening the project I receive the message, "Warning! This Project was created by a newer Logic Pro version. This may cause problems. Please update Logic Pro." After I hit "OK", a message says, "Logic Pro: Plug-in “Pedals” not available!, and then "Logic Pro: Plug-in “AmpSim2” not available! Where can I download or get the update that I need for Logic Pro with the Pedals and AmpSim2 Plug-Ins and when will it be available? What other version of Logic Pro is there?

    Quoted from Foxboy71:
    "aren't the pedals plugs and these new gizmos AU Plugins? Then they should be able to be put into Logic somehow. If not, how did Apple implement them into Garageband (and why!)?"
    The folowing excerpts were taken from a Sound On Sound article at http://www.soundonsound.com/sos/aug06/articles/applenotes_0806.htm
    "This theory actually plays out, even at the moment, when you consider that every update to Logic includes features to make it compatible with songs created in the latest version of Garage Band. And some of these features have actually benefited the high-end user, such as Apple Loops, in a rare example of the low end driving the high end, as opposed to the other way around."

  • How can I file a formal complaint with the Apple Online Store Canada?

    I've spoken to two customer service representatives at this point about an order that I cancelled within a half an hour of placing it, as I was initially unaware that the product I purchased would not fit my sister's iPhone. As stated in the Cancelled Order portion of the following page: http://store.apple.com/ca/help/viewing_changing_orders#cancel, I should NOT have been billed for the order. I was billed last Friday and am still yet to receive the refund, despite the fact that the first rep I spoke to advised that my money would be refunded in one day. The statement on the link I provided is completely misleading, as well as the email I received stating that I would not be charged at all. Someone with Apple must amend this statement on the website and the automated emails, as it could be considered legally misleading. I will in no way be pursuing any legal action, as I don't have the time and I'm only out $90.00, but I can't imagine having purchased the MacBook that I wanted to purchase prior to this incident and going through an ordeal like this again. Can someone please advise who I should contact and where I can find their contact information please? I love the apple products that I own and would hate to discontinue my customer relationship with the company.

    Also, please remember that no refund from any store is instantaneous. They will process the refund, probably within 24 - 48 hours. After that, your bank/credit card company has to credit your account....... mine takes at least 3 business days to do so (the banks are very efficient in posting charges, but like to keep the money for a couple of days before giving it back to you - they've been doing that for years).
    Edit: I just checked their return/refunds policy and it includes this:
    Once we receive your item, a refund is initiated immediately. If you canceled a pickup item, and you were billed for it, we initiate your refund immediately after you submit your cancel request. The way your refund is processed depends on your original payment method:
    If you paid by credit or debit card, refunds will be sent to the card-issuing bank within five business days of receipt of the returned item. Please contact the card-issuing bank with questions about when the credit will be posted to your account.
    Products purchased from the Apple Online Store using an Apple Store Gift Card will be refunded to you as an Apple Store Gift Card by email within 3 business days. If you’d like us to mail you an Apple Store Gift Card, ask the representative helping you. You will receive it within 8 business days via United States Postal Service (USPS). If you purchased an item from the Apple Online Store and are returning it to an Apple Retail Store, you'll receive an Apple Store Gift Card by email within 3 business days.
    Note that it states it will be initiated immediately, but  will be sent within 5 business days.
    Read the entire policy here:
    http://store.apple.com/us/help/returns_refund

  • How to validate enries in Maintenance Views with the help of Events?

    Hello,
    I have a Maint. View. I would like to apply a validation for a specific field of the table. And if there is an entry which is not proper, than I'd need an error message to be issue, and the fields should be open for correction.
    I know this should be managed by Events. I tried many of them, but there was allways some different kind of issuses. E.g. When I used Event 21, the problem was that:  table "total" was not updated with the values I entered, when the Event triggered. More over, when I ussed a simple error message, that appeared on the screen, but when I hit Enter, I got an infinite LOOP, cause Event 21 was again triggered.
    When I tried Event 01, the total table was already updated. But with the program went back to the sceen from where I called the maintenance of the table. And Issues the error message there. When I hit Enter it took me back to maintenance screen. But this is not very nice.
    A bunch of hints would make me very happy, or a good example, which is priceless!
    Thanks and regards,
    Gyula

    Hi priyaranjan,
    Check the data in debug mode whether the record_tab is getting filled or not. If it is not filled use FM 'F4UT_RESULTS_MAP' to fill the data.
    Refer the link F4UT_RESULTS_MAP Standard Search Help Exit for Filling Hit List - Function - ABAP - SAP to know how to use FM.
    Once You get result from FM in to record_tab then sort the table as per your requirement.
    Regards,
    Ravikiran.K

  • How to add an album picture ?  with the new change ...

    I hate the new itunes player ... before it  was so  easy to add the picture of an album cover that was missing ... now I can't find a way to do it .... CAN YOU HELP ME ADD A PICTURE FOR AN ALBUM COVER MISSING ??? thanks for y
    our help

    Hello Mark,
    And thank you for your patiently constructed advice.   But I'm still in trouble.
    Point 1 you made was so encouraging , a panel appeared and checks seemed to be being made.   It appeared to suggest 48 out of 71 albums were now accounted for ... but when I tried to utilise this, I still had multiple blank squares with musical notes .   And it turned out the 48 figure matched the 48 original blank squares.
    I know where the originals are; they can be found within the system ... they are in 'Show in iTunes Store' ... but they simply won't drag into any other part of iTunes options.
    You may have noticed I have been grousing about this all morning.  In one post in particular I went on about we not having to seek out workarounds for something so absolutely basic in terms of programming.

  • Can't add files to oPlayer HD with the new itunes. Any help?

    Since updating iTunes the ability to click "add", after selecting the OPlayer app, seems be eluding me. It really starting to frustrate me and any information would be greatly appreiated.

    Contact the App developers and request assistance.

  • How to get BU, Company, Group details with the help of Employee number

    Hi Friends,
    How to get information related with Employee like Business unit, Company, Business Group and other details.
    Pravin

    Yes Arul.
    I want to get these information in a custom Java webdynpro application but if you can guide me how to get these values in SAP-Hr. Can you just give me details of tables. I have Employee number(pernr) with me and want to fetch Group, Company, Business Unit.
    With rgds,
    Pravin

  • How do you add files to a target of an Xcode project from the terminal?

    Hi friends.
    I am building a tool to build projects in an automated way. So far it is working great but I can't find a command to add files to a target from the command line.
    Basically what I want to do is the following:
    I have a directory with the XCode project, something like:
    - Classes
    - Images
    - Configuration
    - Etc
    I want to add some files to the folder Images that will be included in the build output.
    Is this possible?
    Thanks!!

    Is this helpful?
    http://www.askdavetaylor.com/fancymac_os_x_command_linetricks.html

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How to add a SPACE as suffix to the last field in the downloaded text file?

    Hi Experts,
    By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
    fine.
    example current record1 : 010001                      354.999            26.000
    here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
    but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
    tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
    so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
    thanq

    Sorry...Typo error...Too many in the last few days -:(
    Wanted to say AFTER -:)
    Do it like this...
    FIELD1 TYPE XXX,
    FIELD2 TYPE XXX,
    FIELD3 TYPE XXX,
    SPACE(1) TYPE C,
    That way you should end with...
    26.000+SPACE
    Greetings,
    Blag.

  • [CRM 5.0] How to add file attachements to created ticket (transaction)

    Hi!
    I have to do engancement and need to add file attachements to tickets (transaction) documents. I made ticket creation but I don't know how to add file attachements to it.
    Could someone help? Mayby some function module name?
    Thanks for response!
    KK

    class cl_crm_documents has a number of methods which should be of use to you.
    create_with_table will allow the file to be created from data held in a table and attached to the activity.
    create_with_File will allow you to create with reference to an existing file.
    here is an example of the use of create_with_table.
    form create_document  using    p_bus_obj type sibflporb
                                   p_properties type sdokproptys
                                   p_file_access type sdokfilacis
                                   p_file_contents type sdokcntbins
                          changing p_error type skwf_error.
      call method cl_crm_documents=>create_with_table
       exporting
          business_object     = p_bus_obj
          properties          = p_properties
    *                properties_attr     =
                 file_access_info    = p_file_access
    *                file_content_ascii  =
          file_content_binary = p_file_contents
    *                raw_mode            =
    *                text_as_stream      =
    *                parent_folder       =
    *                package_id          =
        importing
    *                loio                =
    *                phio                =
          error               = p_error.
    endform.                    " CREATE_DOCUMENT
    p_bus_obj-typeid needs to be set with guid of transaction
    p_bus_obj-catid = 'BO'.

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • How to add a Captivate 5 Project into RH for Word?

    I have to add a captivate simulation project into my Help project, and was wondering if anyone knows if it is possible. I searched Captivate's help, and they say you can with RH HTML, but I am currently using:
    1. RH for Word Build 8.0.0.203
    2. Captivate 5.0.0.596
    The Help project is a Single Source Layout with WinHelp 2000 primary layout. Any ideas?
    eangel

    Hi Rick,
    I did test the url from my browser's address bar, and it worked fine. I cannot get this to work from the help project.
    Hope someone can help.
    Thanks,
    eangel

  • I had to restore all the files on my pc using carbonite.  I reinstalled iTunes and was able to find my music with the help of Apple support.  How do I find my podcasts?

    I had to restore all the files on my pc using carbonite.  I reinstalled iTunes and was able to find my music with the help of Apple support.  How do I find my podcasts?

    This helped, I restored them, but when I go to iTunes they are not there.    Is there another step?

  • How to add files in a pdf file

    Hello friends,
    This is Siddhartha from India, I want a favour from you, can anyone please tell me how to add files into pdf file, as an attachment ?
    Looking forward for your timely response,
    Thanks & Regards
    Siddhartha

    Dear Bill@VT,
    Thanks for your timely response, by attachment I meant any file that can be added as an attachment, it could be any file, it does not mean to insert pages, it means the same as when you attach a file in your email, while sending the mail to some one, now the thing is that I want the same functionality in Adobe Reader, so do u have any idea, for the same......
    Looking forward for your response
    Regards
    Siddhartha

Maybe you are looking for

  • Delivery credit check

    Dear friends I have analyzed one customer, at present time During Sales order creation credit limit checking, we have created one sales order in development server with credit limit... We cannot make the delivery for that sales order. Now we have rem

  • Help! When I go to backup my iTunes library it freezes my dvd drive!

    I have (in the past) been able to backup my itunes library onto CDs. However, I went to backup today and it freezes my dvd drive. The first disk (CD-R) will burn, but then it won't eject after iTunes says to insert a new blank disc. I can't even acce

  • Disabling shipping details for configurator model item in istore.

    Hi all, I am working in istore implementation process in R12. I got some Issues while using using Configurator ATO model item in istore. If we disable the"Shippable" flag for single item means, it was "NON-Shippable" item, And we never get any shippi

  • How to change iTunes default synchronization folder?

    Because my disk C too small, I want to synchronize my iPad to another disk (for example D or E). How do I to change iTunes default synchronization folder?

  • External hyperlinks, how?

    Hello everyone! How do I add external links that will open in a new window (and not in the same window ~ in a "_blank" window)? Any help appreciated! Thanx! iMac (Intel Core Duo 2.0 GHz)   Mac OS X (10.4.6)