Building error on iOS with U3DXTC

Hello Everyone,

I needed a solution to create screenshot and post it on Facebook for an app, and I bought the U3DXTC iOS Essentials. I need others option of that asset, that’s the reason why I don’t use Facebook SDK.

Anyway, despite the fact that all examples have an error, I use this tuto which is exactly what I need : http://unity3d.tutsmobile.com/how-to-take-a-screenshot-and-share-it-on-ios/

Everything seems to be ok, but when I build my app, I have this errors :

!IsDirectoryCreated(kManagedDllsFolder)
UnityEditor.HostView:OnGUI()

Error building Player: Failed copying dll into build Assets/U3DXT/Plugins/U3DXTCoreExtras_HL.dll

I use Unity Pro v4.5.1 on a mac and the last version of U3DXTC.

Anyone as a clue about this problem ?

Thanks by advance.

Xav.

I’m using U3DXT for its GameKit API, and with my first build after importing it, I had over 200 errors that prevented it from compiling.

I recommend deleting your build directory and the U3DXT plugin. Re-import U3DXT, making sure you include the core files and any extensions you need (in this case, Social). I remember reading somewhere that it’s important U3DXT’s directory is in the root of your project folder, but I don’t recall having to move it.

Re-build and open in Xcode, and see if your problem still remains.