Open AlexNosk opened 4 years ago
Thanks for the sample. I can confirm the compile issue:
/Applications/Xcode114.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode114.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk -Qunused-arguments -miphoneos-version-min=12.2 -arch arm64 -c -o /Users/donblas/Downloads/TestRunner/obj/iPhone/Debug/mtouch-cache/arm64/TestVirtualization.dll.o -x assembler -D DEBUG /Users/donblas/Downloads/TestRunner/obj/iPhone/Debug/mtouch-cache/arm64/TestVirtualization.dll.s
/Users/donblas/Downloads/TestRunner/obj/iPhone/Debug/mtouch-cache/arm64/TestVirtualization.dll.s(320297,1): error G25FAEEEE: invalid symbol redefinition
plt_________________0:
^
MTOUCH : error MT5106: Could not compile the file(s) '/Users/donblas/Downloads/TestRunner/obj/iPhone/Debug/mtouch-cache/arm64/TestVirtualization.dll.s'. Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
Obfuscated libraries sometimes contain either invalid (but executable) instructions or non-standard ones that cause issues like this.
Until someone can dig into the specifics and determine if this is our bug or not, consider changing the settings on your tool or discontinue use.
Steps to Reproduce
If compile for iOS simulator everything works as expected, no compilation errors.
Expected Behavior
There should not be any compilation errors.
Actual Behavior
Compilation error when compile for real or generic device.
Environment
Build Logs
log.txt
Example Project (If Possible)
TestRunner.zip TestVirtualization.zip