Bug 20054 - Embed assemblies in native code option is missing for iOS builds
Summary: Embed assemblies in native code option is missing for iOS builds
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: master
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-05-27 03:30 UTC by Mustafa Shaik
Modified: 2014-05-27 05:55 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mustafa Shaik 2014-05-27 03:30:26 UTC
Hi,
I found an option in Xamarin 4.2.2 (Xamarin.Android 4.10.1) => Properties => Build => Android Build => Packaging (Tab) => Embed assemblies in native code (Option) that actually packages all the linked binaries (dlls) into APK->lib->armeabi->libmonodroid.so. This way it actually obfuscate the binaries that I have been linking with the application.

I didn't find the similar option for iOS builds. Is it possible to do this for iOS? If so is it not possible via Xamarin studio?

Any pointers on highly appreciable.

Regards
Mustafa
Comment 1 Rolf Bjarne Kvinge [MSFT] 2014-05-27 05:55:55 UTC
On iOS we will always generate native code (by using our AOT compiler), because iOS does not allow us to JIT code at runtime.

So there is no such option for iOS because it's already how it's done (and it can't be done in any other way either).