- Home /
why is assembly-csharp.dll inside ios ipa?
Hi,
I am looking at how easy it is to get the code from my ios app. I read that AOT compilation was putting all the c# dll files into one binary, making it harder to get the C# code. However, I created an IPA, unzipped it and in the package content under Data/Managed I found the Assembly-CSharp.dll file from which I could easily get the c# source code. I removed the file, re-zipped it, and the app would not run anymore. Re-added the file and the app worked again.
The ipa was created for Ad Hoc deployment.
I would have thought the DLLs were not needed for the ipa to run, is that correct? in that case, why are they present and why can't I remove them?
Thx
Answer by Wen-Li · Jul 01, 2016 at 06:06 AM
Old quetion... I think you must have found the answer already. If so, why don't you post the answer? Anyway I happened to enter this page and I think the problem you mentioned could be the code strip level is not at least level 2. Any dlls will be removed except the metadata when you change the optimization configuration in IOS Player Settings to level 2 code striping.
Your answer
Follow this Question
Related Questions
"Cross compilation job Assembly-CSharp.dll failed" Problem 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Using micro mscorlib, on iOS, what do you lose? 1 Answer
Is it possible to generate the .s files for AOT compiled dll's outside of Unity? 1 Answer
Error with iOS compile: Cross Compilation job Mono.WebBrowser.dll failed 1 Answer