我在VS2013中创建了一个新的xamarin.ios项目。没有任何更改,我在模拟器上运行它,它工作正常。
然后我将构建目标更改为iPhone并尝试在我的设备上运行它。这会导致构建警告并且构建时间过长,最终程序会快速运行并退出。
详细警告:
C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(445,3): warning : Native linking warning: warning: can't parse dwarf compilation unit info in /Users/abolfazl/Library/Caches/Xamarin/mtbs/builds/App4/b185777eca505e7ff3e59a8c5a320a44/obj/iPhone/Debug/mtouch-cache/App4.exe.arm64.o
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(445,3): warning : Native linking warning: warning: can't parse dwarf compilation unit info in /Users/abolfazl/Library/Caches/Xamarin/mtbs/builds/App4/b185777eca505e7ff3e59a8c5a320a44/obj/iPhone/Debug/mtouch-cache/Xamarin.iOS.dll.arm64.o
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(445,3): warning : Native linking warning: warning: can't parse dwarf compilation unit info in /Users/abolfazl/Library/Caches/Xamarin/mtbs/builds/App4/b185777eca505e7ff3e59a8c5a320a44/obj/iPhone/Debug/mtouch-cache/mscorlib.dll.arm64.o
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(445,3): warning : Native linking warning: warning: can't parse dwarf compilation unit info in /Users/abolfazl/Library/Caches/Xamarin/mtbs/builds/App4/b185777eca505e7ff3e59a8c5a320a44/obj/iPhone/Debug/mtouch-cache/App4.exe.armv7.o
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(445,3): warning : Native linking warning: warning: can't parse dwarf compilation unit info in /Users/abolfazl/Library/Caches/Xamarin/mtbs/builds/App4/b185777eca505e7ff3e59a8c5a320a44/obj/iPhone/Debug/mtouch-cache/Xamarin.iOS.dll.armv7.o
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(445,3): warning : Native linking warning: warning: can't parse dwarf compilation unit info in /Users/abolfazl/Library/Caches/Xamarin/mtbs/builds/App4/b185777eca505e7ff3e59a8c5a320a44/obj/iPhone/Debug/mtouch-cache/mscorlib.dll.armv7.o
VS:VS2013更新4
xamarin extenstion for vs:3.9.236
xamarin ios:8.6.0.51
xamarin build host:3.9.0.234
xcoode:6.1
胜利:8.1 x64
Mac:10.10 os
答案 0 :(得分:0)
这是版本的问题。 我更新到新版本。解决它