Skip to Content
author's profile photo Former Member
Former Member

SMP3 - AppDevelopment (native): iPhone 64bit libraries

Hi, I have a question on SMP3 and AppDevelopment (native):

I am trying to build an iOS application for iPhone using the MAF Logon library. While I have successfully run the application in the iPhone simulator (only for iPhone 4), when I try to run it on the actual device (iPhone 5S), I get several linker errors, mainly related to the fact that the libraries are missing the required architectures arm64 (physical iPhone 5S) / x86_64 (iPhone 4 64bit simulator).

Here is an example of error message:

ld: warning: ignoring file /Development/AfariaLogonTest/NativeSDK/ODataFramework/iOS/libraries/Debug-universal/libCoreServices.a, missing required architecture x86_64 in file /Development/AfariaLogonTest/NativeSDK/ODataFramework/iOS/libraries/Debug-universal/libCoreServices.a (3 slices)

Undefined symbols for architecture x86_64:

"_OBJC_CLASS_$_MAFLogonUIViewManager", referenced from:

objc-class-ref in MyLogonHandler.o

"_OBJC_CLASS_$_MAFUIStyleParser", referenced from:

objc-class-ref in AppDelegate.o

ld: symbol(s) not found for architecture x86_64

If I check the architectures available in libAfariaSLL.a I get the following output, indicating that that 64 bit architecture is missing.

lipo -info libAfariaSLL.a

Architectures in the fat file: libAfariaSLL.a are: armv7 armv7s i386

The version of the SMP SDK I used is 3.0.3.0. Is there a newer version available containing the 64bit libraries? Or is there another solution to running an iOS native application on an 64bit iPhone?

Thank you and best regards,

Florian

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2014 at 06:49 AM

    Can anyone at least confirm the problem with the missing required x86_64 / arm64 architecture in iOS libraries for SMP Mobile SDK 3.0 SP3?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.