nizwar / openvpn_flutter

A package that allow you to connect OpenVPN service with Flutter
https://pub.dev/packages/openvpn_flutter
GNU General Public License v3.0
84 stars 95 forks source link

[iOS] Command ValidateEmbeddedBinary failed with a nonzero exit code #100

Open juskuc opened 7 months ago

juskuc commented 7 months ago

Receiving this error when building through xcode - any advice? Followed advice described here, but it did not help.

Spokplacenta commented 7 months ago

You can see my config on Xcode on this topic

juskuc commented 7 months ago

@Spokplacenta could you explain a little more how you got it to work? I have set up the build phases exactly like you did on Runner at least, I didn't see your build phases config on VPNExtension. Adding some screenshots below.

Runner:

image image image

VPNExtension:

image image image

However, now it is giving me a different error:

image
juskuc commented 7 months ago

For anyone else running into the problem:

I've played around with build phases, got things working with this configuration I believe:

image

Issue was with [firebase_crashlytics] Crashlytics Upload Symbols I suppose, since that's the only difference between this configuration and the last one.

You should also try to clean build folder of Xcode before attempting to run it again. Seems to work for now.

juskuc commented 7 months ago

Update: ran into the same problem again, not sure what has changed, still need help

Spokplacenta commented 7 months ago

I think BuildPhase of VPNExtension is like yours.

image

Have you got log of the error ?