MacCatalyst version of Objective-C API

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

Moderators: Lapo, Bax

mmilen
Posts: 244
Joined: 09 Nov 2010, 00:48
Contact:

MacCatalyst version of Objective-C API

Postby mmilen » 25 Mar 2020, 03:23

Hi Guys,

I hope you are staying safe in Italy!

Do you have plans for a MacCatalyst compatible Objective-C API ?

Best Regards
Milen
User avatar
Lapo
Site Admin
Posts: 21680
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: MacCatalyst version of Objective-C API

Postby Lapo » 25 Mar 2020, 09:15

Hi there,
yes we're all working remotely and staying safely at home, thank you. :)

Do you have plans for a MacCatalyst compatible Objective-C API ?

We haven't investigated it yet, sorry.
If you have, are there any specific limitations/issues with the current API?

You too stay safe.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
mmilen
Posts: 244
Joined: 09 Nov 2010, 00:48
Contact:

Re: MacCatalyst version of Objective-C API

Postby mmilen » 25 Mar 2020, 14:56

There should not be any major issue as the networking API seems to be the same between iOS and MacOS. I have a Simperium networking library that did build from source code without any changes. All you need is MacOS 15 with XCode 11. Add new target build to the frame work and enable all target devices iPhone, iPad and Mac on it and build it.
User avatar
Lapo
Site Admin
Posts: 21680
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: MacCatalyst version of Objective-C API

Postby Lapo » 25 Mar 2020, 15:19

I see. We haven't upgraded to OS 15 because it kills a bunch of 32-bit apps we're still depending on. However XCode 11 should run on Mojave as well, so I guess technically it should be testable there as well?
Lapo

--

gotoAndPlay()

...addicted to flash games
mmilen
Posts: 244
Joined: 09 Nov 2010, 00:48
Contact:

Re: MacCatalyst version of Objective-C API

Postby mmilen » 25 Mar 2020, 15:48

Unfortunately MacCatalyst builds are only available with Catalina. Xcode 10.11 will run on earlier MacOS, but can't build MacCatalyst Apps or Frameworks.
mmilen
Posts: 244
Joined: 09 Nov 2010, 00:48
Contact:

Re: MacCatalyst version of Objective-C API

Postby mmilen » 06 Apr 2020, 14:38

Guys,

I can compile the Objective-C frameworks for MacCatalyst, see if there is any troubles with it in my Bridge game. I had done it with Simperium.
User avatar
Lapo
Site Admin
Posts: 21680
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: MacCatalyst version of Objective-C API

Postby Lapo » 06 Apr 2020, 16:10

mmilen wrote:Guys,

I can compile the Objective-C frameworks for MacCatalyst, see if there is any troubles with it in my Bridge game. I had done it with Simperium.

Hmm, I don't understand what you're saying :)
If this is a question (which may not be as there are no question marks), can you please clarify it?

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
mmilen
Posts: 244
Joined: 09 Nov 2010, 00:48
Contact:

Re: MacCatalyst version of Objective-C API

Postby mmilen » 06 Apr 2020, 16:33

If you are willing to send me source project for the iOS / Mac OS API Framework, I can verify if it build and works as expected with MacCatalyst.
User avatar
Lapo
Site Admin
Posts: 21680
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: MacCatalyst version of Objective-C API

Postby Lapo » 07 Apr 2020, 13:42

I don't think it's possible right now, as our build system is quite complex. There's a main code project with 3 extra build projects for the different platforms. We'll be taking a look at Catalyst in the next days/weeks and see what can be done.

I'll post updates when available.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 21680
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: MacCatalyst version of Objective-C API

Postby Lapo » 21 Apr 2020, 09:50

UPDATE:
We have been experimenting with XCode 11 under Catalina and created an XCFramework build for iOS/OSX/Catalyst.

If you want to test the build get in touch with us via the usual support@... email box, adding a reference to this thread.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 3 guests