Hi Kimmin, Do you have Xcode installed? You might need to install the Command-Line Tools package (from within Xcode's Preferences dialog, in the Downloads tab). to get the iphoneos-optimize script, I'm not sure.
Does '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/iphoneos-optimize' exist? Is it executable? The exception you got in the build suggests that the system can't execute that script for some reason. Xamarin Studio no longer executes that script directly, it executes pngcrush instead, so you could try using Xamarin Studio to see if that works for you. Hope that helps, Jeff On Sat, Feb 23, 2013 at 4:15 AM, kimmin <[email protected]> wrote: > I have the same error. Here is full log: > Building Solution: TestMono (Debug|iPhone) > > Building: TestMono (Debug|iPhone) > > Detecting signing identity... > Provisioning Profile: "TamIP5_libgdx" > (F4AF43C0-E104-4E91-A3B5-BABF9587B3B5) > Signing Identity: "iPhone Developer: Tam Dinh (2XSE96768U)" > App ID: "D26XEPCZ8Q.vn.mecorp.iwin" > Performing main compilation... > /Developer/MonoTouch/usr/bin/smcs /noconfig > "/out:/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.exe" > "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" > "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" > "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" > "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" /nologo /warn:4 > /debug:full /optimize- /codepage:utf8 "/define:DEBUG" /t:exe > "/Users/kimmin/TestMono/TestMono/Main.cs" > "/Users/kimmin/TestMono/TestMono/AppDelegate.cs" > "/Users/kimmin/TestMono/TestMono/RootViewController.cs" > "/Users/kimmin/TestMono/TestMono/RootViewController.designer.cs" > "/Users/kimmin/TestMono/TestMono/DetailViewController.cs" > "/Users/kimmin/TestMono/TestMono/DetailViewController.designer.cs" > Compilation succeeded - 6 warning(s) > > /Users/kimmin/TestMono/TestMono/RootViewController.cs(38,38): warning > CS0672: Member > > `TestMono.RootViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)' > overrides obsolete member > > `MonoTouch.UIKit.UIViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)'. > Add the Obsolete attribute to > > `TestMono.RootViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)' > /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol > related to previous warning) > /Users/kimmin/TestMono/TestMono/RootViewController.cs(56,38): warning > CS0672: Member `TestMono.RootViewController.ViewDidUnload()' overrides > obsolete member `MonoTouch.UIKit.UIViewController.ViewDidUnload()'. Add the > Obsolete attribute to `TestMono.RootViewController.ViewDidUnload()' > /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol > related to previous warning) > /Users/kimmin/TestMono/TestMono/DetailViewController.cs(61,38): warning > CS0672: Member `TestMono.DetailViewController.ViewDidUnload()' overrides > obsolete member `MonoTouch.UIKit.UIViewController.ViewDidUnload()'. Add the > Obsolete attribute to `TestMono.DetailViewController.ViewDidUnload()' > /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol > related to previous warning) > /Users/kimmin/TestMono/TestMono/DetailViewController.cs(73,38): warning > CS0672: Member > > `TestMono.DetailViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)' > overrides obsolete member > > `MonoTouch.UIKit.UIViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)'. > Add the Obsolete attribute to > > `TestMono.DetailViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)' > /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol > related to previous warning) > /Users/kimmin/TestMono/TestMono/RootViewController.cs(58,30): warning > CS0618: `MonoTouch.UIKit.UIViewController.ViewDidUnload()' is obsolete: > `Deprecated in iOS 6.0' > /Users/kimmin/TestMono/TestMono/DetailViewController.cs(63,30): warning > CS0618: `MonoTouch.UIKit.UIViewController.ViewDidUnload()' is obsolete: > `Deprecated in iOS 6.0' > > > Build complete -- 0 errors, 6 warnings > > Compiling to native code > /Developer/MonoTouch/usr/bin/mtouch -sdkroot > "/Applications/Xcode.app/Contents/Developer" -v --cache > "/Users/kimmin/TestMono/TestMono/obj/Debug/mtouch-cache" --nomanifest > --nosign -dev > "/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app" -r > "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r > "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r > "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r > "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -debug -profiling > -linksdkonly -sdk "6.1" -targetver "3.2" --abi=armv7 > "/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.exe" > MonoTouch version 6.0.10 using framework: > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk > Copied /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.exe to > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/TestMono.exe > Copied /Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll to > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/mscorlib.dll > Copied /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll to > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/monotouch.dll > Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll to > > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/System.Core.dll > Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.dll to > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/System.dll > Copied /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Security.dll to > > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/Mono.Security.dll > Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll to > > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/System.Xml.dll > Linking SDK only for assembly > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.exe into > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app > MONO_PATH=/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app > /Developer/MonoTouch/usr/bin/arm-darwin-mono --debug > > --aot=mtriple=armv7-darwin,full,static,asmonly,direct-icalls,soft-debug,no-direct-calls,iphone-abi,outfile=/var/folders/kd/ff66bjtx5f96bwlkzm3n_jv40000gn/T/tmp7bc60bbb.tmp/TestMono.exe.armv7.s > > "/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/TestMono.exe" > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc > -miphoneos-version-min=3.2 -arch armv7 -std=c99 > -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk > -c > > /var/folders/kd/ff66bjtx5f96bwlkzm3n_jv40000gn/T/tmp7bc60bbb.tmp/TestMono.exe.armv7.s > -o > > /var/folders/kd/ff66bjtx5f96bwlkzm3n_jv40000gn/T/tmp7bc60bbb.tmp/TestMono.exe.armv7.o > Generated > > /var/folders/kd/ff66bjtx5f96bwlkzm3n_jv40000gn/T/tmp7bc60bbb.tmp/main.armv7.m > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc > -Wl,-no_pie -miphoneos-version-min=3.2 -gdwarf-2 -arch armv7 -isysroot > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk > > /Users/kimmin/TestMono/TestMono/obj/Debug/mtouch-cache/monotouch.armv7.cache.l9CrwWKrXcJrCqNiFlwFot8ly+E=.o > > /Users/kimmin/TestMono/TestMono/obj/Debug/mtouch-cache/System.armv7.cache.J3vjRXkARfDC+SiLumAGwEpdkBM=.o > > /Users/kimmin/TestMono/TestMono/obj/Debug/mtouch-cache/mscorlib.armv7.cache.cmENBWPdL66nBg1WV853+G5ZDbk=.o > > /Users/kimmin/TestMono/TestMono/obj/Debug/mtouch-cache/System.Core.armv7.cache.w7hr+BJwhHNwfyJCptRjNJpuU7o=.o > > /Users/kimmin/TestMono/TestMono/obj/Debug/mtouch-cache/Mono.Security.armv7.cache.Gb1u7fgLJg5t8lfNylysYl10vSE=.o > > /var/folders/kd/ff66bjtx5f96bwlkzm3n_jv40000gn/T/tmp7bc60bbb.tmp/TestMono.exe.armv7.o > > /Users/kimmin/TestMono/TestMono/obj/Debug/mtouch-cache/main..armv7.cache.Erus+8WoWATyE61naRSl8ygNa2Q=.o > > /Users/kimmin/TestMono/TestMono/obj/Debug/mtouch-cache/registrar.armv7.cache.YK6z0KWyryW8dkgY5Mh+ct+ro6Q=.o > -o > /var/folders/kd/ff66bjtx5f96bwlkzm3n_jv40000gn/T/tmp7bc60bbb.tmp/TestMono > -framework CFNetwork -framework Foundation -framework UIKit -framework > AudioToolbox -lz -liconv -u _mono_pmip -u _monotouch_create_managed_ref -u > _monotouch_release_managed_ref -u _monotouch_IntPtr_objc_msgSend_IntPtr -u > _monotouch_IntPtr_objc_msgSendSuper_IntPtr -u _CloseZStream -u > _CreateZStream -u _Flush -u _ReadZStream -u _WriteZStream -lmono-2.0 > -lmonotouch -L/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib > -dead_strip > /Applications/Xcode.app/Contents/Developer/usr/bin/dsymutil > "/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app/TestMono" -o > "/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app.dSYM" > /usr/bin/mdimport > /Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app.dSYM > > Updating debug configuration file > > Updating debug settings manifest > > Compressing resources > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/iphoneos-optimize > "/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app" > > ---------------------- Done ---------------------- > > Build successful. > Build failed. > > ApplicationName='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/iphoneos-optimize', > > CommandLine='"/Users/kimmin/TestMono/TestMono/bin/iPhone/Debug/TestMono.app"', > CurrentDirectory='' > > > > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Build-failed-ApplicationName-codesign-tp4656567p4658106.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
