robbiehanson / XMPPFramework

An XMPP Framework in Objective-C for Mac and iOS
Other
5.91k stars 2.09k forks source link

Build libidn for Mac Catalyst #1185

Open jeetkapadia opened 4 years ago

jeetkapadia commented 4 years ago

Hi,

I have used this framework in my custom iOS framework. Now we want to add Mac Catalyst support but when I try to build for Mac Catalyst it gives me the following error:

Building for Mac Catalyst, but the linked library 'libidn.a' was built for iOS + iOS Simulator. You may need to restrict the platforms for which this library should be linked in the target editor, or replace it with an XCFramework that supports both platforms. (in target 'MyCustomFramework' from project 'MyCustomFramework')

Can you please let me a way to compile libidn for Mac Catalyst.

Thanks