v10.4 (Abp 6.4.0) Xamarin 16.10 Mono 6.12
Dear team,
we are not able to compile our app when targeting iOS.
The error we are facing is :
MTOUCH : error MT2102: Error processing the method 'System.Void Abp.Auditing.AuditingInterceptor/<InternalInterceptAsynchronous>d__6`1::MoveNext()' in the assembly 'Abp.dll': Value cannot be null.
We tried to downgrade abp version one by one major point, and it starts working with abp v5.x. We tried with disabling linker, with no luck.
It's a critical issue to us.
I can forward you by mail the whole build log and further info, if needed.
Thanks
14 Answer(s)
-
0
Hi @Romka
Do you have VS 2022 installed ? One of our customer faced a similar problem and it was caused by VS 2022. If not, could you send logs to [email protected] ?
Thanks,
-
0
Hello,
no, we use VS 2019.
I sent you an email with related info.
-
0
Hi team,
any clue on this ?
-
0
-
0
Hello,
yes, we have exactly the same code as in your screenshot.
-
0
Hi,
In that case, this interceptor shouldn't be working at all. I will check it again and inform you in a short time.
-
0
Ok,
thanks !
-
0
Hi @Romka
Could you try this and see if it works for you https://github.com/aspnetzero/aspnet-zero-core/pull/4024 ?
Thanks,
-
0
Hello,
yes it works.
But it's kind of a quick-fix, we hope a further version will alow us to compile with linker enabled, to reduce the application output size.
Anyways thanks for support, we are now able to release our iOS version.
-
0
Hi @Romka,
Could you try liek below and see if it reduces the app size ?
<MtouchExtraArgs>--interpreter=Abp</MtouchExtraArgs>
-
0
Hello,
I reopen this case.
This seemed to work, but in fact it does not compile for iPad.
The big problem is that Apple does not allow your app on their store if it does not compile both for iPhone and iPad.
They provided us with the following logged error ; they say we have to enable the linker to make it pass... but we needed to disable it to compile, as you told us.
ermination Description: DYLD, dyld: Using shared cache: AA0BA00A-2D1F-398B-AD04-8DB1F276337C | dependent dylib '/System/Library/Frameworks/SensorKit.framework/SensorKit' not found for '/private/var/containers/Bundle/Application/{appId}/{appProjName}.Mobile.iOS', tried but didn't find: '/System/Library/Frameworks/SensorKit.framework/SensorKit'
-
0
Hi @Romka,
Have you tried adding
<MtouchExtraArgs>--interpreter=Abp</MtouchExtraArgs>
and enabling Linker as well ? -
0
Hello,
no it does not work either.
-
0
Hi @Romka
Could you create an issue on https://github.com/aspnetzero/aspnet-zero-core, we will test it with an Ipad.