In your project’s target.cs file, make your SetupGlobalEnvironment() function look like this:
public override void SetupGlobalEnvironment(
TargetInfo Target,
ref LinkEnvironmentConfiguration OutLinkEnvironmentConfiguration,
ref CPPEnvironmentConfiguration OutCPPEnvironmentConfiguration
)
{
if (Target.Platform == UnrealTargetPlatform.IOS)
{
// to make World Explorers as small as possible we excluded some items from the engine.
// uncomment below to make a smaller iOS build
UEBuildConfiguration.bCompileRecast = false;
UEBuildConfiguration.bCompileSpeedTree = false;
UEBuildConfiguration.bCompileAPEX = false;
UEBuildConfiguration.bCompileLeanAndMeanUE = true;
UEBuildConfiguration.bCompileForSize = true;
UEBuildConfiguration.bCompilePhysXVehicle = false;
UEBuildConfiguration.bCompileBox2D = false;
UEBuildConfiguration.bCompileCEF3 = false;
}
}
Also, keep in mind that the download is going to be ~40MB smaller for iOS 9 users due to app thinning. The IPA generated by UE4 is universal and contains both 32-bit and 64-bit binaries, but iOS 9 will only download the one the device can run.