【发布时间】:2011-05-24 17:54:58
【问题描述】:
我昨天将我的 monotouch 更新到最新版本,并使用 iOS sdk 将 Xcode 更新到 3.2.5 以支持 iOS SDK 4.2(以支持 4.2.1 的 ipod touch)。
我现在在为设备编译时遇到问题,'mtouch failed with no output (1)'。 我的解决方案在文件夹或项目名称中都没有空格。
我过去更新了 SDK,并成功使用了“Base SDK Missing”问题的建议。
所有关于“mtouch failed with no output (1)”的在线建议都涉及项目/文件夹名称中的空格。我什至尝试使用 monotouch 创建一个新的琐碎项目,但仍然遇到这个问题。
有什么想法吗?
Building: TestNewVersion (Release|iPhone)
Building Solution TestNewVersion
Building: TestNewVersion (Release|iPhone)
Detecting signing identity...
Provisioning profile: "Team Provisioning Profile: *" (XXXXXX)
Signing Identity: "iPhone Developer: MyName (XXXXXX)"
App ID: "XXXX.testnewversion"
Performing main compilation...
Updating CodeBehind files
Updated MainWindow.xib.designer.cs
Updated RootViewController.xib.designer.cs
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.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 /optimize- /codepage:utf8 /t:exe "/Users/MyName/Projects/TestNewVersion/TestNewVersion/Main.cs" "/Users/MyName/Projects/TestNewVersion/TestNewVersion/MainWindow.xib.designer.cs" "/Users/MyName/Projects/TestNewVersion/TestNewVersion/RootViewController.xib.cs" "/Users/MyName/Projects/TestNewVersion/TestNewVersion/RootViewController.xib.designer.cs"
Compilation succeeded - 1 warning(s)
/Users/MyName/Projects/TestNewVersion/TestNewVersion/RootViewController.xib.cs(75,44): warning CS0414: The private field `TestNewVersion.RootViewController.DataSource.controller' is assigned but its value is never used
Build complete -- 0 errors, 1 warning
Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -dev "/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.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" -nolink -sdk="4.2" "/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.exe"
Framework is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
Copied /Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.exe to /Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app/TestNewVersion.exe
MONO_PATH=/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=full,static,asmonly,nodebug,outfile=/var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/TestNewVersion.exe.s "/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app/TestNewVersion.exe"
MONO_PATH=/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=full,static,asmonly,nodebug,outfile=/var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/mscorlib.dll.s "/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app/mscorlib.dll"
MONO_PATH=/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=full,static,asmonly,nodebug,outfile=/var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/monotouch.dll.s "/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app/monotouch.dll"
MONO_PATH=/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=full,static,asmonly,nodebug,outfile=/var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.dll.s "/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app/System.dll"
MONO_PATH=/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=full,static,asmonly,nodebug,outfile=/var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/Mono.Security.dll.s "/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app/Mono.Security.dll"
MONO_PATH=/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=full,static,asmonly,nodebug,outfile=/var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.Core.dll.s "/Users/MyName/Projects/TestNewVersion/TestNewVersion/bin/iPhone/Release/TestNewVersion.app/System.Core.dll"
Generated /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/main.m
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -c /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/TestNewVersion.exe.s -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/TestNewVersion.exe.o
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -c /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/mscorlib.dll.s -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/mscorlib.dll.o
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -c /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/monotouch.dll.s -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/monotouch.dll.o
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -c /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.dll.s -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.dll.o
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -c /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/Mono.Security.dll.s -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/Mono.Security.dll.o
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -c /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.Core.dll.s -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.Core.dll.o
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -c /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/main.m -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/main.o
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/TestNewVersion.exe.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/mscorlib.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/monotouch.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/Mono.Security.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.Core.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/registrar.m -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/main.o -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/TestNewVersion -framework CFNetwork -framework AssetsLibrary -framework CoreTelephony -framework EventKit -framework Foundation -framework CoreMotion -framework GameKit -framework MapKit -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework StoreKit -framework UIKit -framework AddressBookUI -framework iAd -framework SystemConfiguration -framework AddressBook -framework AudioToolbox -framework AudioUnit -framework AVFoundation -framework QuartzCore -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework ImageIO -framework Security -framework CoreMedia -framework ExternalAccessory -framework EventKitUI -framework QuickLook -lz -u _catch_exception_raise -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono -lmonotouch -L/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib -dead_strip
Process exited with code 1, command:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -gdwarf-2 -miphoneos-version-min=3.0 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/TestNewVersion.exe.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/mscorlib.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/monotouch.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/Mono.Security.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/System.Core.dll.o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/registrar.m -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/main.o -o /var/folders/8P/8PRYWK7LE1yLdY8raiuKPU+++TM/-Tmp-/tmp44336f07.tmp/TestNewVersion -framework CFNetwork -framework AssetsLibrary -framework CoreTelephony -framework EventKit -framework Foundation -framework CoreMotion -framework GameKit -framework MapKit -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework StoreKit -framework UIKit -framework AddressBookUI -framework iAd -framework SystemConfiguration -framework AddressBook -framework AudioToolbox -framework AudioUnit -framework AVFoundation -framework QuartzCore -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework ImageIO -framework Security -framework CoreMedia -framework ExternalAccessory -framework EventKitUI -framework QuickLook -lz -u _catch_exception_raise -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono -lmonotouch -L/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib -dead_strip
---------------------- Done ----------------------
Build: 1 error, 2 warnings
【问题讨论】:
-
将“额外参数”设置为“-v -v -v”并发布完整的构建输出。
标签: xamarin.ios