Mono ARMv7 and LLVM

痞子三分冷 提交于 2019-12-19 08:07:10

问题


I'm updating my app to ios6 and i having following problem

  • building application with ARMv7 is not possible to use the flag LLVM ... (error MT3001)

My system configuration is

  • MonoDevelop 3.0.4.7
  • MonoTouch 6.0.0.0
  • Mono 2.10.9

Reference to question: iOS 6 Mono and backward compatibility

UPDATE

Error is

Could not AOT the assembly ICSharpCode.SharpZipLib.dll (MT3001)

Verbose output

/Users/TEST/Desktop/Xcode_4.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc  -miphoneos-version-min=3.1 -arch armv7  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Users/TEST/Desktop/Xcode_4.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -c /var/folders/_3/x0_zyy9j0r5_gg94nc3r51zm0000gn/T/tmp371fb2f4.tmp/mscorlib.dll.7.s -o /var/folders/_3/x0_zyy9j0r5_gg94nc3r51zm0000gn/T/tmp371fb2f4.tmp/mscorlib.dll.7.o
error MT3001: Could not AOT the assembly '/Users/TEST/Public/Progetti/AppTest/bin/iPhone/Release/ICSharpCode.SharpZipLib.dll'
  at MTouch+<CompileAssemblies>c__AnonStoreyB.<>m__E (System.String s) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Parallel+<ForEach>c__AnonStorey36`1[System.String].<>m__34 (System.String e, System.Threading.Tasks.ParallelLoopState s, System.Object l) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Parallel+<ForEach>c__AnonStorey35`2[System.String,System.Object].<>m__32 () [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.TaskActionInvoker+ActionInvoke.Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <filename unknown>:0 
  at System.Threading.Tasks.Task.ThreadStart () [0x00000] in <filename unknown>:0 

ICSharpCode.SharpZipLib.dll it's a library that i use to unzip file.

来源:https://stackoverflow.com/questions/12514102/mono-armv7-and-llvm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!