"Build Libraries For Distribute" option NOT working with @objc keyworkd

Hi,

I create ios universal framework with my swift project.
And set the "@objc" keyword to support our clients who use objective-c language in their projects.

I hope it will be working well, But It doesn't.

After create the framework, I put it into my test project.
And meet the below error messages.

I attached the screenshot images too.


Failed to build module 'MyFrameworkName' from its module interface; the compiler that produced it, 'Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)'

'MyFramework'sModelName' is not a member type of 'MyFrameworkName'



I couldn't attach the img file.. sorry.
One more thing.
I set the option "Excluded Architectures" like this.
  • debug & release : any ios simulator SDK , arm64

Hi! Have you been able to solve this issue?
"Build Libraries For Distribute" option NOT working with @objc keyworkd
 
 
Q