I have created my first XE2 FM HD appl开发者_JAVA百科ication.
I have my OSX machine connected and running debug builds on OSX works fine, but I don't have a way to create a release version and copy it to another computer.I tried just copying over the Package made by the debug but that's missing files.
Inside XE2 I went to Project -> Deployment.
For the OSX Debug deployment I have a green button, but under OSX Release deployment I don't.
Clues?
Here's step-by-step instructions for building the App bundle and putting in the required dynamic link library:
- Create a folder called MyApp.app
- Create a subfolder in Myapp.app called Contents
- Create a subfolder in Contents called MacOS
- Create a subfolder in Contents called Resources
- From your build, copy Info.plist into Contents
- From your build, copy the Mac binary to MacOS
- From your build, copy the icon to Resources
- Copy libcgunwind.1.0.dylib to MacOS
- Copy the .app folder to your Mac and double-click it to run
You will find libcunwind.1.0.dylib on your Mac where you installed the platform assistant, most likely:
/Users/username/Applications/Embarcadero/PAServer/
Here's a video tutorial on how to create the manual install Disk Image installer on the Mac.
精彩评论