[Mono-bugs] [Bug 655898] New: Builds to iPHone, not to Simulator

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 24 21:54:36 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=655898

https://bugzilla.novell.com/show_bug.cgi?id=655898#c0


           Summary: Builds to iPHone, not to Simulator
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Tools
        AssignedTo: gnorton at novell.com
        ReportedBy: ianvink at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=402106)
 --> (http://bugzilla.novell.com/attachment.cgi?id=402106)
Test project

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7

In a simple project when I compile to the simulator (debug or release) I get
the error mtouch failed with no output(1)

When I build to iPhone, it works fine.

Using 3.1.3 and the new MonoDevelop as of today

Build Output:



Building: Greek (Debug|iPhoneSimulator)

Performing main compilation...

Updating CodeBehind files
Updated DetailViewController.xib.designer.cs
Updated MainWindow.xib.designer.cs
/Developer/MonoTouch/usr/bin/smcs /noconfig
"/out:/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.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:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG"  /t:exe
"/Users/vink/Projects/IPAD/Greek/DetailViewController.xib.cs"
"/Users/vink/Projects/IPAD/Greek/DetailViewController.xib.designer.cs"
"/Users/vink/Projects/IPAD/Greek/Main.cs"
"/Users/vink/Projects/IPAD/Greek/MainWindow.xib.designer.cs"
"/Users/vink/Projects/IPAD/Greek/MasterTableViewController.cs"
"/Users/vink/Projects/IPAD/Greek/SplitDelegate.cs" 
Compilation succeeded - 1 warning(s)

/Users/vink/Projects/IPAD/Greek/MasterTableViewController.cs(22,39): warning
CS0414: The private field `Greek.MasterTableViewController.DataSource.tvc' is
assigned but its value is never used



Compiling interface definitions
ibtool "/Users/vink/Projects/IPAD/Greek/DetailViewController.xib" --compile
"/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app/DetailViewController.nib"
ibtool "/Users/vink/Projects/IPAD/Greek/MainWindow.xib" --compile
"/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app/MainWindow.nib"
Build complete -- 0 errors, 1 warning

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch  -v --nomanifest --nosign -sim
"/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.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 -linksdkonly
-sdk="4.2" -targetver="3.2"
"/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.exe"
Framework is:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
Copied /Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.exe to
/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app/Greek.exe
Copied /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll to
/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app/monotouch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll to
/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app/mscorlib.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.dll to
/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app/System.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Security.dll to
/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app/Mono.Security.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll to
/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app/System.Core.dll
Linking SDK only for assembly
/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.exe into
/Users/vink/Projects/IPAD/Greek/bin/iPhoneSimulator/Debug/Greek.app
Generated
/var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/main.m
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch
i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2
-miphoneos-version-min=4.2 -std=c99
-I/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator4.2.sdk/usr/include
-isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
-c /var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/main.m -o
/var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/main.o
-DDEBUG
Process exited with code 1, command:
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch
i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2
-miphoneos-version-min=4.2 -std=c99
-I/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator4.2.sdk/usr/include
-isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
-c /var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/main.m -o
/var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/main.o
-DDEBUG
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch
i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2
-miphoneos-version-min=4.2 -isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
/var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/main.o -o
/var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/Greek
-framework CFNetwork -framework Foundation -framework UIKit -framework
AudioToolbox -lz -u _catch_exception_raise -u _CreateZStream -u _CloseZStream
-u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono -lmonotouch
-L/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator4.2.sdk/usr/lib
-dead_strip
Process exited with code 1, command:
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch
i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2
-miphoneos-version-min=4.2 -isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
/var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/main.o -o
/var/folders/0I/0IVt0CAJH24x9KMyLBKAAk+++TI/-Tmp-/tmp10d49f32.tmp/Greek
-framework CFNetwork -framework Foundation -framework UIKit -framework
AudioToolbox -lz -u _catch_exception_raise -u _CreateZStream -u _CloseZStream
-u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono -lmonotouch
-L/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator4.2.sdk/usr/lib
-dead_strip

---------------------- Done ----------------------

Build: 1 error, 1 warning


Reproducible: Always

Steps to Reproduce:
1. Compile to simulator
2. Fails
3. Compile to iphone
4. Works
Actual Results:  
Fails to build

Expected Results:  
Should compile

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list