I can compile for the iPhone simulator, but not for real hardware.
I'm getting this error:
- Assertion at ../../../../../mono/mono/metadata/class.c:5545, condition `!mono_loader_get_last_error ()' not met
error MT3001: Could not AOT the assembly '/Users/ed/build/ProxyCompanionApps/MobileMaster/MobileMasterAppIOS/obj/iPhone/Debug/mtouch-cache/Build/WebSocket4Net.MonoTouch.dll'
at MonoTouch.AOTTask.Build () [0x00000] in :0
at MonoTouch.BuildTask.Execute () [0x00000] in :0
at MonoTouch.Application.m__14 (MonoTouch.BuildTask v) [0x00000] in :0
at System.Threading.Tasks.Parallel+c__AnonStorey561[MonoTouch.BuildTask].<>m__55 (MonoTouch.BuildTask e, System.Threading.Tasks.ParallelLoopState s, System.Object l) [0x00000] in <filename unknown>:0
at System.Threading.Tasks.Parallel+<ForEach>c__AnonStorey55
2[MonoTouch.BuildTask,System.Object].<>m__53 () [0x00000] in :0
at System.Threading.Tasks.TaskActionInvoker+ActionInvoke.Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in :0
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in :0
at System.Threading.Tasks.Task.ThreadStart () [0x00000] in :0
Command line as generated by Xamarin Studio is:
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/ed/build/ProxyCompanionApps/MobileMaster/MobileMasterAppIOS/obj/iPhone/Debug/mtouch-cache" --nomanifest --nosign -dev "/Users/ed/build/ProxyCompanionApps/MobileMaster/MobileMasterAppIOS/bin/iPhone/Debug/MobileMasterAppIOS.app" -r "/Users/ed/build/ProxyCompanionApps/MobileMaster/PrxRC/bin/Debug/PrxRC.dll" -r "/Users/ed/build/ProxyCompanionApps/MobileMaster/ProxyException/bin/Debug/ProxyException.dll" -r "/Users/ed/build/ProxyCompanionApps/MobileMaster/ProxyInterface/bin/Debug/ProxyInterface.dll" -r "/Users/ed/build/ProxyCompanionApps/MobileMaster/ProxyLog/bin/Debug/ProxyLog.dll" -r "/Users/ed/build/ProxyCompanionApps/MobileMaster/PrxNetClient/bin/Debug/PrxNetClient.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" -debug -linksdkonly -sdk "6.1" -targetver "3.2" --abi=armv7 "/Users/ed/build/ProxyCompanionApps/MobileMaster/MobileMasterAppIOS/bin/iPhone/Debug/MobileMasterAppIOS.exe" -v -v -v >&err.log
Attached is the mtouch log.
I just got the latest updates via Xamarin Studio. Here's some versions:
Xamarin Studio Version 4.0.10 (build 7)
Runtime Mono 3.2.0 ((no/7c7fcc7)
Xamarin.IOS Version 6.4.0.2
XCode 4.6.2 (2067.2)
Anybody have any thoughts?
thanks, ed boren