iOS build Error with ("_unityToIOS", referenced from) when use device SDK

3014527--224968--QQ20170401-021312@2x.png
3014527--224969--QQ20170401-022001@2x.png

can not select the error and view detail info, select the error message, nothing happen

Hi @imyellow ,
Are you using any 3rd party plugins that might be outdated?
Cheers,
Chris

thanks, no any 3rd party plugins, just select Device SDK in player setting, And build the project to a folder, open the .xcodeproj file, setting the signing profile, Build in Xcode, did not changed anything.

same step, if I select the Simulator SDK, it will have no any errors.

I has use these code integrate with iOS, it work fine on unity 4.x, now on 5.x, is any place need to be modified in the new version?

[DllImport(“__Internal”)]
private static extern void unityToIOS (string str);

update

oh, I found it, I just forget this:

extern “C”
{
void functionName(parameter){
// do something
}
}

:eyes: