如何创建 iPhone mach-o 文件?
如何创建 HelloWorld iPhone mach-o 文件?
我想在我的越狱 iPhone 上测试一下。
请帮助我!
How can I create a HelloWorld iPhone mach-o file?
I want to test it on my jailbreak iPhone.
Help me please!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在网上为你搜索时发现了这个。
http://mobiforge.com/developing/story/getting-started-with -iphone-development
它讲述了如何创建您的第一个“Hello World”应用程序。
I found this when I googled around on the web for you.
http://mobiforge.com/developing/story/getting-started-with-iphone-development
It talks about how to create your first "Hello World" application.
以下是 Apple 提供的 Mach-O 格式文档:
http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html
我想从那时起您这样问是想在没有正常工具链的情况下手动构建一个吗?我无法向您提供有关越狱部分的任何具体信息。
当然,Xcode 工具链将为 iOS 输出二进制文件。如果您在 Xcode 中构建项目,您可以进入:
您将找到每个目标的文件夹。每个包中都有一个“包”,旨在部署到设备上。该捆绑包内有一个带有项目名称的可执行文件。这就是二进制。
Here's the documentation for the Mach-O format from Apple:
http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html
I assume since you're asking this way that you're trying to build one manually without the normal toolchain? I can't give you any specifics on the jailbreak part of it.
The Xcode toolchain will output binaries for iOS, of course. If you build your project inside of Xcode, you can go into:
You'll find folders for each target. In each one is a "bundle" that is meant to be deployed to the device. Inside that bundle is an executable file with the name of the project. That's the binary.