9713bea70e
Fixes this when running on tvOS using dylibs: > [FAIL] Introspection.CheckSymbols : dlsym() not found mono_native_initialize() Now: * If on iOS, we'll always have the `mono_native_initialize` symbol, because the symbol is used in P/Invoke in a user assembly (the test assembly itself), and mtouch will make the AOT-compiled code use dlsym for P/Invokes in user assemblies (and when using dlsym we can't (native) strip away the symbol). * If on watchOS or tvOS, we'll have the symbol when we're loading `mono_native_initialize` from a dylib. If loading `mono_native_initialize` from a static library, we can (native) strip away the symbol because mtouch will make the AOT-compiled P/Invoke use a static reference to the native symbol, and thus the `mono_native_initialize` symbol will not be present in the executable. |
||
---|---|---|
.. | ||
.gitignore | ||
AppDelegate.cs | ||
Entitlements-mac.plist | ||
Info-mac.plist | ||
Info.plist | ||
Introspection.cs | ||
MacAppDelegate.cs | ||
MacMain.cs | ||
Main.cs | ||
NativePlatformConfig.cs | ||
mono-native-mac.csproj.template | ||
mono-native.csproj.template |