我的应用程序可以很好地构建/链接/部署到模拟器,但我只是第一次尝试将应用程序构建/部署到真实设备,但链接器失败。
我没有在我的应用程序中使用System.Console
或ConsoleColor
任何地方,但我确实有相当多的代码在使用UIColor
,我想知道这里是否存在一些 MT 依赖项。
我正在使用最新的东西——MonoDevelop 2.8.6.5 和 MonoTouch 5.2.5。
编译为本机代码 /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Developer" -v --nomanifest --nosign -dev "/Users/ogazitt/zaplify/bin/iPhone/Debug/iphone.app" -r "/Users/ogazitt/zaplify/bin/iPhone/Debug/BuiltSteady.Zaplify.Devices.ClientEntities.dll" -r "/Users/ogazitt/zaplify/bin/iPhone/Debug/Utilities.dll" -r "/Users/ ogazitt/zaplify/bin/iPhone/Debug/BuiltSteady.Zaplify.Devices.ClientViewModels.dll" -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" -r "/Developer/MonoTouch/usr/lib/mono/2.1/MonoTouch.Dialog-1.dll"-debug -profiling -linksdkonly -sdk "5.0" "/Users/ogazitt/zaplify/bin/iPhone/Debug/zaplifyiphone.exe" MonoTouch 版本 5.2.5 使用框架:/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ iPhoneOS5.0.sdk 复制 /Users/ogazitt/zaplify/bin/iPhone/Debug/zaplifyiphone.exe 到 /Users/ogazitt/zaplify/bin/iPhone/Debug/iphone.app/zaplifyiphone.exe 复制 /Users/ogazitt/zaplify /bin/iPhone/Debug/SharpCompress.3.5.dll 到 /Users/ogazitt/zaplify/bin/iPhone/Debug/iphone.app/SharpCompress.3.5.dll 已复制 /Users/ogazitt/zaplify/bin/iPhone/Debug/Newtonsoft .Json.MonoTouch.dll 到 /Users/ogazitt/zaplify/bin/iPhone/Debug/iphone.app/Newtonsoft.Json.MonoTouch.dll 链接 SDK 仅用于程序集 /Users/ogazitt/zaplify/bin/iPhone/Debug/zaplifyiphone .exe 进入 /Users/ogazitt/zaplify/bin/iPhone/Debug/iphone。应用程序错误 MT2002:无法解析参考:System.Void System.Console::set_ForegroundColor(System.ConsoleColor)