I would like to use SocketIO as a dynamic dependency of my xcframework
I have checked your project and see that you don't use option BUILD_LIBRARY_FOR_DISTRIBUTION:
why?
This option
Ensures that your libraries are built for distribution. For Swift, this enables support for library evolution and generation of a module interface file
P.S. Also these issues have relation to the ticket #1356 #1269
Current workaround is to add at the end of project's Podfile where Socket-IO integrated:
# Socket.IO-Client-Swift
post_install do |lib|
lib.pods_project.targets.each do |target|
if target.name == 'Socket.IO-Client-Swift'
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
end
end
Hello,
I would like to use SocketIO as a dynamic dependency of my xcframework
I have checked your project and see that you don't use option BUILD_LIBRARY_FOR_DISTRIBUTION:
why?
This option
https://xcodebuildsettings.com
Without forcing this option in Pods project there's the following error in runtime:
I can confirm this error running project with the dependencies under Rosetta with some of these options used:
P.S. Also these issues have relation to the ticket #1356 #1269
Current workaround is to add at the end of project's Podfile where Socket-IO integrated:
and remove if used: