i open the project and scene form the occlusion demo on unity website.
Than I do a build and run and I get this error. I also notice
in the console: log in file/users/joe/iphone-clean/mono/postprocessbuilderplayer.cs at line 398 but I am not joe?
IOException: Failed to Copy File / Directory from ‘/Applications/Unity iPhone/Unity iPhone.app/Contents/Frameworks/MonoiPhone.framework/mscorlib.dll’ to ‘Temp/BuildingPlayer/Data/mscorlib.dll’.
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.String iPhoneBundleIdentifier, Int32 iPhoneStrippingLevel, Int32 iPhoneScriptCallOptimization, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options) (at /Users/joe/iphone-clean/Editor/Mono/PostprocessBuildPlayer.cs:398)
i really don’t understand it. when I open xcode and run it, i can play the game in unity with the iphone as controller but why can’t i build/run it?
running it through the remote does not build the game at all. it only streams an image from the iditor onto the iphone.
have you installed all provisioning etc in the project before building? Build run will likely not work unless you altered the trampoline as the provision will be removed in the project after each click of build
any other game i open (such the default one with the ship and iphone match) i set the player settings: iphone bundle identifier to my com.companyname.unityremote to match with my settings and the build and run works. but when i open this project and scene i set it to the same setting and i get that error than
the identifier must look like your iphone dev contract provision. if your provision is not a wild card one (that would be com..* where <…> will be replaced with your actual company name as set when you applied for your dev account), you actually must use the exact same name as provided on the dev portal.
when i set up the provision i did com..* ,
but all the other game works, except this one. I can’t understand why.
“you must use the exact same name as the provided on dev portal” i think i that but maybe you can explain this a bit better. I think I did because all the other games work.
I assume you did close Unity iPhone in the meantime, opening it again and trying the build and deploy again?
Because at worst its just a simple case of “the compile failed” which happens from time to time. The reasons for that are not really defineable at least to me, but the prob vanishes on the next build attempt commonly.
i did even re-start my computer and still not working. This drives me crazy