DllImport : not found/ on Mac OSX

Hello,
I have this issue for a week now. I’m just trying to use a functionality (SOAP+XML parsing) into the Unity3D iPhone project.
I have a MBP with OS X 10.6, xCode, Unity pro + iPhone Advanced.
The bundle is created (a very simple one with one function only).
The unity3D project is almost empty with only the following lines :

in a cs file :

using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
	
public class CInterface : MonoBehaviour {
	
	[DllImport ("blackboxSOAP")] private static extern string getSchedule();

	// Use this for initialization
	void Start () {

	}
	
	// Update is called once per frame
	void Update () {
	
	}
}

The file is copied into Assets/Plugins. I run the project and I get : DllNotFoundException: blackboxSOAP

I’ve tried to copy the file everywhere in the different folders… no way.

Any help ?

Thank you.

I’ve had problems with this as well. I use Xcode to build a bundle and get no errors, but Unity never sees the bundle.

I’m linking to some 3rd party libraries, as we need their functionality for our application. I’ve seen other forum threads and answers that says this is a whole 'nother animal, but I haven’t seen a simple solution yet.

you can not use bundle on iOS, they are OSX only
you must provide source code (mm or cpp) with the functions to call and bind against the binding code. The DLLImport also must be rewritten.

Please check the plugin manual page and expand the iOS section for detailed informations