cancel
Showing results for 
Search instead for 
Did you mean: 

SMP3 - AppDevelopment (native): iPhone 64bit libraries

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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?