I’m currently trying to get IAP working for my game. The goal is to have bonus levels that I can be downloaded from a web server stored on the ios device and then ran whenever. I followed all of the documentation I can find, and When I run it on the device I get the error “can’t be loaded because it was not built with the right version or build target.”
I am building the asset bundle on a Mac with the command "BuildPipeline.BuildAssetBundle(Selection.activeObject, selection, path, BuildAssetBundleOptions.CollectDependencies, BuildTarget.iPhone). I’m then uploading it to a server(it is a Windows server), Im using the command “WWW.LoadFromCacheOrDownload(DLCContentPath);” to download the files when I then run it on IOS i get the error I said above.
I can run the same commands on a PC with the build target set to web player, and everything works fine. All of the paths are correct the files that are getting downloaded are the ones I expect. I get the feeling I’m missing something, anyone have any advice?