Language:
Page Info
Tags:
Skill Level:
Engine Version:
Share
此中文页面内容对应的英文页面有后续更新,如需浏览最新文档可切换至英文页面浏览。

Packaging iOS Projects

本页面的内容:

Steps

In the following section, we will take a look at creating a .IPA of your UE4 project that can be installed without the need for the UE4 editor.

If you are localizing your iOS project, you will need to also translate strings in your code. See the Localize ‘plist’ and ‘NSLocalizedString’ in an iOS ProjectNEW! page for instructions on how to do this.

  1. Connect your device to your computer if it is not already connected.

  2. Open your project in Unreal Editor.
    open_project.png

  3. In the File menu, select Package Project > iOS.
    package_menu.png

  4. In the directory dialog, select a location for the .ipa file to be saved.

  5. A packaging message will appear in the bottom right corner of the editor while the game is being packaged.
    project_package.png

  6. A message is displayed when the project is successfully packaged.
    package_complete.png

End Result

When completed you will now have an .IPA that is ready to be deployed to your iOS device.

app_Install_xCode_6.png

Steps

In the following section, we will take a look at creating a .IPA of your UE4 project that can be installed without the need for the UE4 Editor.

  1. Connect your device to your computer if it is not already connected.

  2. Open your project in Unreal Editor.
    open_project.png

  3. In the File menu, select Package Project > iOS.
    package_menu.png

  4. In the directory dialog, select your project's directory as this is where the packaged project (.ipa file) will be located.

  5. A packaging message will appear in the bottom right corner of the Editor while the game is being packaged.
    project_package.png

  6. A message is displayed when the project is successfully packaged.
    package_complete.png

  7. From Xcode go to Window and then select Devices and Simulators.
    app_Install_xCode_1.png

  8. In the Devices section, press the Plus sign icon to start the app install process.
    app_Install_xCode_2.png

  1. Locate and select the .ipa file that UE4 created and then press the Open button to begin the install process.
    app_Install_xCode_3.png

  2. The progress of the install will be displayed across the top of the Devices window.

End Result

When completed you will see the IPA added to your iOS device.

app_Install_xCode_5.png