Hi Shawn,

What if you try to do that rename manually? Does it work?

FWIW, you don't seem to be doing anything obviously wrong...

I wonder if maybe the warnings above are the cause. For example, when
it says the png is already optimized and that it is going to just copy
the png to the output dir, I wonder if it doesn't rename it to
[email protected] and so when it tries to rename, it fails
because the file was already named [email protected]?

Just a thought...

One thing you could try is dropping in another [email protected] that
hasn't been optimized and see if that works?

Jeff

On Thu, Sep 15, 2011 at 6:19 PM, Shawn Baker
<[email protected]> wrote:
> I'm using MonoDevelop 2.6, MonoTouch 4.0.7 and Mono 2.10.5.
>
> I've added a [email protected] file to the root of my project and set its build
> action to Content. I can build and run the project for the simulator, but if
> I try to build it for the iPhone I get the following error:
>
> Error: Compressing the resources failed: libpng warning: Input PNG is
> already optimized for iPhone OS.  Copying source file to destination...
> libpng warning: Input PNG is already optimized for iPhone OS.  Copying
> source file to destination...
> libpng warning: Input PNG is already optimized for iPhone OS.  Copying
> source file to destination...
> Unable to rename
> /Users/shawn/Source/TestUI/bin/iPhone/Debug/TestUI.app/[email protected]
> to /Users/shawn/Source/TestUI/bin/iPhone/Debug/TestUI.app/[email protected] at
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/iphoneos-optimize
> line 53.
>  (TestUI)
>
> Has anybody else been able to add [email protected] to their project? Am i
> doing it wrong?
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Can-t-build-project-containing-Default-2x-png-tp3816934p3816934.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to