x


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

more ▼

asked Dec 25 '11 at 10:14 PM

yabar gravatar image

yabar
31 3 3 3

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

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

more ▼

answered Dec 26 '11 at 04:46 PM

Dreamora gravatar image

Dreamora
3.3k 1 4 25

(comments are locked)
10|3000 characters needed characters left

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

more ▼

answered Dec 28 '11 at 03:07 PM

yabar gravatar image

yabar
31 3 3 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x407
x346
x6

asked: Dec 25 '11 at 10:14 PM

Seen: 1342 times

Last Updated: Dec 28 '11 at 03:07 PM