Re: Copy File Phase - how to copy an archived file
Re: Copy File Phase - how to copy an archived file
- Subject: Re: Copy File Phase - how to copy an archived file
- From: Ken Thomases <email@hidden>
- Date: Sat, 25 Jul 2009 23:44:41 -0500
On Jul 25, 2009, at 4:08 PM, Steve Cronin wrote:
I am trying to add an archived file to my application.
I have successfully added it to the project,
I have all the code in place to unarchive it under application
control.
I am having difficulties getting XCode to copy the file during the
build.
Not matter what I have tried the action creates a warning:
warning: skipping file '/blah.zip' (unexpected file type
'archive.zip' in Frameworks & Libraries build phase)
How do get XCode to add an archived file to a 'Copy Files' build
phase?
Can you please be more specific about what you actually did in your
efforts?
Also, can you provided the full build transcript for the build phase
that's getting the above warning.
That warning doesn't seem like it's from a Copy Files build phase.
It's describing itself as a Frameworks & Libraries build phase, which
seems like another name for the Link Binary with Libraries phase.
Indeed, I just tested by adding an archive to a Link Binary with
Libraries phase in a test project, and I get the same warning. I also
tested by adding it to a Copy Files build phase and it worked without
problems.
So, it seems you have added the file to the wrong phase. Perhaps it's
in both phases?
It might be easiest to remove the file from the project, to make sure
it's not in any phases at all. Then, add it back, but make sure to
uncheck your targets during the add-file sheet that comes up. Then,
manually drag-and-drop it into the Copy Files phase.
Cheers,
Ken
_______________________________________________
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