You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I am able to get a NativeAOT'd library to correctly locate the icudt.dat in an iOS app bundle.
However, I can't get it to work when running an XCTest bundle. Looking at the fix you mentioned this seems to be implemented using -[NSBundle mainBundle]. So while this works for an app bundle, it unfortunately yields an incorrect path in a XCTest bundle and in turn fails to load the icudt.dat.
So while the current fix is good, it's not a silver bullet.
Unfortunately I currently have no good idea for how this can be implemented in a generic way that also supports XCTest bundles.
Ref:
6d2e0b5
(#17374)Once this dotnet/runtime fix reaches us:
We should revert it, and instead set the ICU_DAT_FILE_PATH property in the runtime config to the relative path inside the app bundle.
That would probably be something like:
We could probably do that for all architectures, and remove the current ICU_DAT_FILE_PATH logic in runtime.m
The text was updated successfully, but these errors were encountered: