Packaging failed, how to find which file is refferencing 'UnrealEd'?

Thank you for posting this question.

A good start would be to look through your logs and see if there are any lines that pertain to anything being “Editor Only”.

As stated by Original Poster here.