Page 1 of 1

MacCatalyst version of Objective-C API

Posted: 25 Mar 2020, 03:23
by mmilen
Hi Guys,

I hope you are staying safe in Italy!

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

Best Regards
Milen

Re: MacCatalyst version of Objective-C API

Posted: 25 Mar 2020, 09:15
by Lapo
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

Re: MacCatalyst version of Objective-C API

Posted: 25 Mar 2020, 14:56
by mmilen
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.

Re: MacCatalyst version of Objective-C API

Posted: 25 Mar 2020, 15:19
by Lapo
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?

Re: MacCatalyst version of Objective-C API

Posted: 25 Mar 2020, 15:48
by mmilen
Unfortunately MacCatalyst builds are only available with Catalina. Xcode 10.11 will run on earlier MacOS, but can't build MacCatalyst Apps or Frameworks.

Re: MacCatalyst version of Objective-C API

Posted: 06 Apr 2020, 14:38
by mmilen
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.

Re: MacCatalyst version of Objective-C API

Posted: 06 Apr 2020, 16:10
by Lapo
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

Re: MacCatalyst version of Objective-C API

Posted: 06 Apr 2020, 16:33
by mmilen
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.

Re: MacCatalyst version of Objective-C API

Posted: 07 Apr 2020, 13:42
by Lapo
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.

Re: MacCatalyst version of Objective-C API

Posted: 21 Apr 2020, 09:50
by Lapo
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