x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Building iOS C++ project on PC

Hey everyone,

I was able to successfully build an iOS project using the old build 4.10. Now that I've updated my project to the 4.12, I'm having issue packaging my iOS project from PC to Mac using rsync.

At first, the rsync found with in the DeltaCopy did not work, so I use the rsync executable that is used in the actual Cygwin package (I believe the newer version of the cyg's rsync works appropriately with windows 10). After that my project files was able to transfer over. However, when it came to finalizing the project, the IPhonePackager executable gave out an 'OutOfMemory' message. I will post the exact message. But here's my real question, did the standard of the IPhonePackager executable changed within the last two builds? Any answer would help.

Thank you UE4 Community!

Here's the error:

 MainFrameActions: Packaging (iOS): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:1): C:\UE4\Engine\Binaries\DotNET\IOS\IPhonePackager.exe RepackageFromStage "C:\Users\RPGMAKERPRO\Documents\Unreal Projects\GrottoMerc
 MainFrameActions: Packaging (iOS): sUE4\GrottoMercsUE4.uproject" -config Shipping -schemename GrottoMercsUE4 -schemeconfig "Shipping" -compress=best -sign -stagedir "C:\Users\RPGMAKERPRO\Documents\Unreal Projects\GrottoMercsUE4\Saved\StagedBuilds\IOS" -project "C:\Users\RPGMAKERPRO\Documents\Unreal Projects\GrottoMercsUE4\GrottoMercsUE4.uproject" -provision 
 "iOS_Team_Provisioning_Profile_comPayanoGrottoMercs.mobileprovision" -certificate "iPhone Developer: Enmanuel Payano (K99QS979BF)". See logfile for details: 'IPhonePackager-2016.06.23-19.07.29.txt' 
 MainFrameActions: Packaging (iOS):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars) in C:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 814
 MainFrameActions: Packaging (iOS):    at IOSPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL) in c:\UE4\Engine\Source\Programs\AutomationTool\IOS\IOSPlatform.Automation.cs:line 388
 MainFrameActions: Packaging (iOS):    at Project.Package(ProjectParams Params, Int32 WorkingCL) in c:\UE4\Engine\Source\Programs\AutomationTool\Scripts\PackageCommand.Automation.cs:line 41
 MainFrameActions: Packaging (iOS):    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in c:\UE4\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 218
 MainFrameActions: Packaging (iOS):    at AutomationTool.BuildCommand.Execute() in C:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 28
 MainFrameActions: Packaging (iOS):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in C:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 538
 MainFrameActions: Packaging (iOS):    at AutomationTool.Automation.Process(String[] CommandLine) in C:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 509
 MainFrameActions: Packaging (iOS):    at AutomationTool.Program.MainProc(Object Param) in C:\UE4\Engine\Source\Programs\AutomationTool\Program.cs:line 131
 MainFrameActions: Packaging (iOS):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in C:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
 MainFrameActions: Packaging (iOS):    at AutomationTool.Program.Main() in C:\UE4\Engine\Source\Programs\AutomationTool\Program.cs:line 54
 MainFrameActions: Packaging (iOS): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
 MainFrameActions: Packaging (iOS): Domain_ProcessExit
 MainFrameActions: Packaging (iOS): AutomationToolLauncher exiting with ExitCode=1
 MainFrameActions: Packaging (iOS): copying UAT log files...
 MainFrameActions: Packaging (iOS): BUILD FAILED
 PackagingResults:Error: Error Unknown Error


Product Version: UE 4.12
Tags:
more ▼

asked Jun 23 '16 at 03:37 PM in Packaging & Deployment

avatar image

McManford
6 3 6

avatar image Matthew J ♦♦ STAFF Jun 28 '16 at 05:44 PM

Hello McManford,

Since you updated and ran into this problem, have you tried returning to the 4.10 version to ensure that it still works correctly? Also, could you post this log file mentioned in the one you posted above?

IPhonePackager-2016.06.23-19.07.29.txt

I'll be asking about the iPhonePackager and if there have been any notable changes in the meantime.

avatar image McManford Jun 29 '16 at 03:41 AM

Hey Matthew,

Thanks for your response. I haven't reverted back to 4.10. I've attached the log with said error message. It's not the original one however its the same error message that shows up when packaging to iOS.

Thanks! link text

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hello McManford,

I apologize for the delay. From looking at the messages you've been given, this is one that usually appears when the IPA is over 2GB which is too large. You'll need to reduce the size of your packaged project to be able to deploy correctly. Are there any assets in the project that aren't being used? If so, one possible way to reduce size would be to use the "List of maps to include in a packaged build" option in your Packaging settings. Select the appropriate maps and it should only package content that is being referenced in these maps.

more ▼

answered Jul 14 '16 at 03:39 PM

avatar image

Matthew J ♦♦ STAFF
31.8k 526 91 417

(comments are locked)
10|2000 characters needed characters left

Actually this wasn't the problem. Someone was able to help me in within UE4 forum. It's not the size but how the IPA was being packaged. Please see forum post here: https://forums.unrealengine.com/showthread.php?115028-Building-iOS-C-project-on-P

more ▼

answered Sep 22 '16 at 10:45 PM

avatar image

McManford
6 3 6

avatar image Matthew J ♦♦ STAFF Sep 23 '16 at 01:04 PM

I'm glad to hear that you found a solution, but please don't hesitate to let us know if a fix doesn't work, I had assumed that your issue was resolved as you never said otherwise.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question