Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'@objc' instance method in extension of subclass of 'BaseClient' requires iOS 13.0.0 #68

Open
rohitphogat19 opened this issue Oct 13, 2020 · 4 comments

Comments

@rohitphogat19
Copy link

Describe the bug
I am getting an error when running the project. '@objc' instance method in extension of subclass of 'BaseClient' requires iOS 13.0.0. I am using

pod 'VirgilE3Kit', '2.2.0'

My Project is in Swift 4.2. I have tried using this fix also, but still getting this error


post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
          if target.name == "VirgilE3Kit"
            config.build_settings['SWIFT_VERSION'] = '5.0'
          else
            config.build_settings['SWIFT_VERSION'] = '4.2'
          end
        end
    end
    installer.pods_project.build_configurations.each do |config|
      config.build_settings.delete('CODE_SIGNING_ALLOWED')
      config.build_settings.delete('CODE_SIGNING_REQUIRED')
    end
end

Screenshot:

@Jason-Stan-Lee
Copy link

Perhaps the BUILD_LIBRARY_FOR_DISTRIBUTION lead to this case

@rohitphogat19
Copy link
Author

@Jason-Stan-Lee
Yes we are using it in our SDK for providing .xcframework files. So what would be the solution for this?

@parthkanani93
Copy link

++

1 similar comment
@whendon
Copy link

whendon commented Jul 18, 2022

++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants