Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

MTOUCH: error MT3001: Could not AOT the assembly

$
0
0

Hi all,

I'm trying to compile a binding library and getting the following error message:

MTOUCH: error MT3001: Could not AOT the assembly

Looking at the build output this seems to be the culprit:

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -framework Foundation -framework UIKit /Library/Frameworks/Xamarin.iOS.framework/Versions/10.3.1.7/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libmonosgen-2.0.dylib /Library/Frameworks/Xamarin.iOS.framework/Versions/10.3.1.7/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libxamarin-debug.dylib -force_load /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/libcrypto.a -force_load /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/libFMDB.a -force_load /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/libMIHCrypto.a -force_load /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/libSQLCipher.a -force_load /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/libssl.a -force_load /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/PersonalDataVault -force_load /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/libObfuscator.a -lz -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -Qunused-arguments -miphoneos-version-min=10.0 -arch arm64 -shared -read_only_relocs suppress -install_name @executable_path/libMoneysoft.Mobile.iOS.eWisePDV.dll.dylib -fapplication-extension -o /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/Moneysoft.Mobile.iOS.eWisePDV.dll.arm64.dylib -x assembler /Users/moneysoftdev/Projects/Moneysoft.Mobile.iOS/eWiseSimple/obj/iPhone/Debug/build-iphone9.4-10.2/mtouch-cache/Moneysoft.Mobile.iOS.eWisePDV.dll.arm64.s -DDEBUG
    Undefined symbols for architecture arm64:
      "_OBJC_CLASS_$_DDFileLogger", referenced from:
          objc-class-ref in PersonalDataVault(LogManager.o)
      "_OBJC_CLASS_$_DDLog", referenced from:
          objc-class-ref in PersonalDataVault(LogManager.o)
      "_OBJC_CLASS_$_DDLogFileManagerDefault", referenced from:
          _OBJC_CLASS_$_NamedDDLogFileManager in PersonalDataVault(NamedDDLogFileManager.o)
      "_OBJC_CLASS_$_DDLogMessage", referenced from:
          objc-class-ref in PersonalDataVault(LogManager.o)
      "_OBJC_METACLASS_$_DDLogFileManagerDefault", referenced from:
          _OBJC_METACLASS_$_NamedDDLogFileManager in PersonalDataVault(NamedDDLogFileManager.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

But I'm not sure.

Two questions: What am I doing wrong? (why won't it compile for the device, works for the simulator)

Reading other questions, the comments are like "upgrade to Xcode xxx". How do you know that? What can you see that I'm missing?

(full build output attached)

Cheers,


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>