# \[UE4\] iOS Cook/Packaging failure - exit code 137 - AutomationTool exit code 25

**URL:** <https://forums.unrealengine.com/t/ue4-ios-cook-packaging-failure-exit-code-137-automationtool-exit-code-25/769596>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [February 13, 2023, 8:15am UTC](https://forums.unrealengine.com/t/ue4-ios-cook-packaging-failure-exit-code-137-automationtool-exit-code-25/769596 "2023-02-13T08:15:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![apd-richard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@apd-richard](https://forums.unrealengine.com/u/apd-richard)\
**Post date:** [February 23, 2023, 12:41am UTC](https://forums.unrealengine.com/t/ue4-ios-cook-packaging-failure-exit-code-137-automationtool-exit-code-25/769596/3 "2023-02-23T00:41:31Z")

</div>

Hi Elias,

Thanks for your reply, I’ve gone back to the beginning and recompiled everything etc.  
I think things are looking better but I have a remaining issue with shader compilation, if you have any ideas about what might be going wrong I’d love to know.  
I have posted a new question here [https://forums.unrealengine.com/t/ios-packaging-shader-undeclared-identifier-scenetexturelookup-and-cannot-initialize-fmaterialpixeparameters/776692](https://forums.unrealengine.com/t/ios-packaging-shader-undeclared-identifier-scenetexturelookup-and-cannot-initialize-fmaterialpixeparameters/776692)

Really appreciated, thanks again.

---

_[View the full topic](https://forums.unrealengine.com/t/ue4-ios-cook-packaging-failure-exit-code-137-automationtool-exit-code-25/769596)._
