I am trying to package my game for iOS, but I keep getting this error

You could update the engine to 4.25.2 after it is released, probably around the end of July.
Or you could modify the PostProcessMobile.usf file as the previous reply.