asset bundle create and download from server(IOS)

Hi unity pro guys,
My Requirement is create asset bundle from unity for iOS and download them from server and display in my app…i have some 3d object which i downloaded from asset store so how can i create asset bundle from Prefabs and what is the best method to download it…i tried “LoadFromCacheOrDownload” method…but got failed load data error…can any one suggest me from beginning…what shd i do…?

thanks in advance.

Im guessing you have the assetbundle script on this page?

you need to build seperate assetbundles for ios and android so you need to add another variable to the BuildPipeline.BuildAssetBundle call

BuildPipeline.BuildAssetBundle(Selection.activeObject, selection, path, BuildAssetBundleOptions.CollectDependencies | BuildAssetBundleOptions.CompleteAssets, BuildTarget.iPhone);