how do you create an ios asset bundle from the editor

I have a hat prefab, a hat texture and a script that goes with the hat that I want to turn into an assetbundle for ios so people can download it as an in app purchase.

I somehow did this before from some menu on a previous version of unity but now I can no longer find the menu in the editor.

Also in one forum it says assetbundles cannot contain scripts. Other documentation said it can contain anything the project folder contains.

Is it possible to create an assetbundle from the editor for ios that includes a script?

Thanks,

You cannot include scripts in an asset bundle for IOS. This is an Apple restriction.