xcode 如何从 .ipa 文件中获取源代码?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5522229/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 20:43:02  来源:igfitidea点击:

How can I get the source code from the .ipa file?

iphonexcode

提问by TheLearner

Possible Duplicate:
Is it possible to reverse-engineer my iPhone application?

可能的重复:
是否可以对我的 iPhone 应用程序进行逆向工程?

I am building an app for a client and want to send him .ipa's files for every build I create so he can play with the app.

我正在为客户构建一个应用程序,并希望将我创建的每个构建的 .ipa 文件发送给他,以便他可以使用该应用程序。

I don't however want him to have access to the source code until he pays me.

但是,在他付钱给我之前,我不希望他访问源代码。

Can he get the source code somehow from the ipa file?

他可以从 ipa 文件中以某种方式获取源代码吗?

回答by bradley.ayers

The source-code is compiled into an executable. There is no way to reverse engineer that back to your source-code. There is nothing to worry about.

源代码被编译成可执行文件。没有办法将其反向工程回您的源代码。没有什么可担心的。

回答by orion elenzil

i just built an ad-hoc .ipa and it definitely included source code.

我刚刚构建了一个特别的 .ipa,它肯定包含源代码。

回答by Javed

It may be possible. When an .ipais given to Apple for approval, they may send it back with details regarding a bug, or another concern, with the line number of the file and code sample from that location exposing the bug.

这可能是可能的。当.ipa提交给 Apple 以供批准时,他们可能会将其发送回有关错误或其他问题的详细信息,以及文件的行号和来自该位置的代码示例,以暴露错误。