Do I need a OSX machine to package from UE4 and install it in iOS devices?

either buy an old mac that meets the minimum requirements and let it generally gather dust and take up space or (some people might, shhh) use a hackintosh