Support Topics Documentation Slack YouTube Blog

iPhone5S issue (no arm64 architecture)


(Pavel Razrabotchikov) #1

I have the error:

missing required architecture x86_64 in file /Users/admin/Documents/MYProject/Backendless/backendless/backendless.a

Don’t you support amv64 architecture?


(Mark Piller) #2

Hi Pavel,

Could you please make sure you are using the latest version from our site (v.1.10)?

Regards,
Mark


(Pavel Razrabotchikov) #3

Yes, it’s ok there


(Vyacheslav Vdovichenko) #4

Ok,


(Peter Taliancich) #5

I’m using the Pod

pod ‘Backendless-ios-SDK’, ‘~>1.15’

and here’s the output of file for the archive

fredbookair:backendless peter$ file backendless.a
backendless.a: Mach-O universal binary with 3 architectures
backendless.a (for architecture i386): current ar archive random library
backendless.a (for architecture armv7): current ar archive random library
backendless.a (for architecture armv7s): current ar archive random library

the linker error I’m getting when running on an actual device is

ld: warning: ignoring file /Users/peter/Projects/app/Pods/Backendless-ios-SDK/SDK/lib/backendless/libbackendless.a, missing required architecture arm64 in file /Users/peter/Desktop/Projects/beautycallapp/Pods/Backendless-ios-SDK/SDK/lib/backendless/libbackendless.a (3 slices)


(Peter Taliancich) #6

It looks like the issue is specific to the Backendless Pod. The SDK download “file” for backendless.a looks like this:

fredbookair:backendless peter$ file backendless.a
backendless.a: Mach-O universal binary with 5 architectures
backendless.a (for architecture i386): current ar archive random library
backendless.a (for architecture x86_64): current ar archive random library
backendless.a (for architecture armv7): current ar archive random library
backendless.a (for architecture armv7s): current ar archive random library
backendless.a (for architecture cputype (16777228) cpusubtype (0)): current ar archive random library


(Vyacheslav Vdovichenko) #7

Hi,

this bug has been fixed - you can pod install

pod ‘Backendless-ios-SDK’, ‘1.16.1’


(Peter Taliancich) #8

That’s got it… thank you.