Package for Mac failed

When I package for Mac, child thread closed once it appeared. And output log print as below. plz help.

UATHelper: Packaging (Mac): UE4Editor: ChildCooker failed to write out additional packages file to location …/…/…/…/…/…/coocaa/Perforce/wusiqi_coocaadeiMac_level-streaming_6565/Saved/CookingTemp/591AE1474F4127EC4CE546AF09B2472C.tmpResult.txt
UATHelper: Packaging (Mac): UE4Editor: Fatal error: [File:/Users/build/Build/++UE4+Release-4.15+Compile/Sync/Engine/Source/Editor/UnrealEd/Private/CookOnTheFlyServer.cpp] [Line: 6223]
UATHelper: Packaging (Mac): UE4Editor: ChildCooker failed to write out additional packages file to location …/…/…/…/…/…/coocaa/Perforce/wusiqi_coocaadeiMac_level-streaming_6565/Saved/CookingTemp/DF9D6151DE42466AFABE2BBAE7BBF285.tmpResult.txt

Hello Wukakuki,

I see that it mentions that this is a Perforce directory in the error message. Is it possible that the cooker is failing to overwrite a file that is marked as Read Only due to being checked into Perforce? I suggest ensuring that none of the files in your project’s Saved folder are part of your perforce repository. This could also be due to the length of the file path but that is less likely.

Have you tried packaging for any other platforms? What were the results?

just some .tmplog.txt and .tmp in that location. no tmpResult.txt file.
I packaged on another Mac. That works well. this issue just appears on one of my iMacs.I tried packaging for PC. No issues appears.

Could you provide the full log file from the packaging attempt? There could be some other messages that provide more information on why this is failing, even if they’re not specifically error messages.

here I force exited the crashed terminal after child cooker showed up and disappeared.

Can you please ensure that you have enough free disk space on your OS Drive to fit this cooked build? As it mentions, it’s failing to write a text file and it’s not due to it not being able to overwrite if the file isn’t there as you said. I also suggest trying to package to a different location such as another drive or directly to your desktop if you can.

Packaging to ~/Downloads failed. Packaging to ~/Desktop failed. Packaging to ~/Document failed. And I tried to package to my external drive but failed. I also tried up my project and unzip somewhere on my Mac and then package. however, failed.

Plz…I need help…

I’m currently looking into this but this is an issue that we haven’t seen before so it’s taking some time.

Can you please provide a System Report? This can be found under “About This Mac” → “System Report”. This may be able to provide some additional information about this issue.

here

Hardware Overview:

  Model Name:	iMac
  Model Identifier:	iMac17,1
  Processor Name:	Intel Core i7
  Processor Speed:	4 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	256 KB
  L3 Cache:	8 MB
  Memory:	32 GB
  Boot ROM Version:	IM171.0105.B20
  SMC Version (system):	2.34f2
  Serial Number (system):	C02SX020GQ17
  Hardware UUID:	6A6A57A2-FD8B-5F8E-9D97-493760ECE541

Unfortunately that’s not the full report that we need. When you open the System Report, please use the “File->Save” button to save the full report.

.spx file is not supported here. I shared it on my google driver.

Is this still a problem? Maybe you could use First Aid function in Disk Utility to see if there are any permissions issues in the filesystem on this Mac?

After update to 4.16, this problem disappear. So it’s not a problem now. Thanks.