Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error XCode #6

Closed
Rimander opened this issue Jul 14, 2017 · 4 comments
Closed

Error XCode #6

Rimander opened this issue Jul 14, 2017 · 4 comments

Comments

@Rimander
Copy link

Rimander commented Jul 14, 2017

Undefined symbols for architecture arm64:
  "_openvpn_main", referenced from:
      ___31-[VPNWrapper startWithOptions:]_block_invoke in VPNWrapper.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

rimander@hotmail.es

@AnhTVc
Copy link
Owner

AnhTVc commented Jul 17, 2017

Build is ready for armv7, if you do not want to build it again try the iphone 5.

@Rimander
Copy link
Author

Rimander commented Jul 17, 2017

I try with my iphone6.
i need export to archive on armv7 and arm64.

I tried to do this.

  • Create all Libs x86, arm64, armv7...
  • lipo -create libopenvpn_64.a libopenvpnv7.a libopenvpnv7s.a libopenvpnx86.a -output lib_universal.a --- to create a universal lib.

Result:
Undefined symbols for architecture arm64: "_openvpn_main", referenced from:

@AnhTVc
Copy link
Owner

AnhTVc commented Jul 17, 2017

Check: lipo -i libopenvpn.a

@Rimander
Copy link
Author

Rimander commented Jul 17, 2017

ARMV7
Architectures in the fat file: libopenvpn.a are: armv7

ARM64
input file libopenvpn.a is not a fat file Non-fat file: libopenvpn.a is architecture: arm64

ARMV7
input file libopenvpnv.a is not a fat file Non-fat file: libopenvpnv.a is architecture: armv7

I have Skype if you can.

Edit:
I create fat lib
Architectures in the fat file: libopenvpn.a are: armv7
Architectures in the fat file: libopenvpn.a are: arm64
Architectures in the fat file: libopenvpn.a are: armv7 arm64

And nothing.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants