How to deploy MAC plugin bundle via xCode 4.2 ?

What i did is select Product > Build then copy the .bundle file in the Products group to unity plugin folder, but it shows error “DLLNotFoundException:” when i run my app.

[DllImport("TestPlugin")]

private static extern int showNum();

void Start(){
Debug.Log(showNum());
}

Thx u

are you on Unity Pro and the bundle is in Assets/Plugins/xxx and the bundle is compiled for 32bit? (just to be sure)

I changed build target to 32bit and it works now. Thank you very much.