Objective-C API does not support arm64 architecture

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

TinyRobber
Posts: 1
Joined: 03 Apr 2019, 06:35

Objective-C API does not support arm64 architecture

Postby TinyRobber » 03 Apr 2019, 06:45

The API does not support arm64 and x86_64 architectures. I can not run the app in iPhone X or later device.
I used "lipo -i" to print the information of the framework :
Architectures in the fat file: SFS2XAPI.framework/SFS2XAPI are: i386 armv6 armv7

The API version is 1.7.8

Can anyone help me?
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Objective-C API does not support arm64 architecture

Postby Lapo » 03 Apr 2019, 09:10

Hi,
the latest Objective-C API 1.7.8 support the following architectures: i386, armv7, x86_64, arm64

I am not sure what files you're using, but they don't seem the right ones. I'd recommend downloading the library again from here:
https://www.smartfoxserver.com/download/#p=client

I also tested a quick application running in a simulated iPhoneX (iOS 12.1) with success.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 16 guests