AnhTVc / OpenVPN-IOS

Build OpenVPN source for IOS
GNU General Public License v3.0
124 stars 53 forks source link

Error XCode #6

Closed Rimander closed 7 years ago

Rimander commented 7 years ago
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 commented 7 years ago

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

Rimander commented 7 years ago

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

I tried to do this.

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

AnhTVc commented 7 years ago

Check: lipo -i libopenvpn.a

Rimander commented 7 years ago

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