Navigation Menu

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

'shared' is unavailable: not available on iOS (App Extension) on Xcode 13 beta 3 #1824

Closed
garanda21 opened this issue Jul 17, 2021 · 3 comments

Comments

@garanda21
Copy link

garanda21 commented Jul 17, 2021

Describe the bug
Not compiling IQKeyboardManager on Xcode 13 beta 3, shows this error: 'shared' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead

To Reproduce
Steps to reproduce the behavior:

  1. Open your project using Xcode 13 beta 3
  2. Clean project
  3. Build Project
  4. See error

Expected behavior
Compile successfully

Versions

Xcode: 13.0 beta 3 (13A5192j)
Mac OS: 11.4
Library Version: 6.5.6 using SPM

Additional context
On swift official forums exists a thread related with issue: https://forums.swift.org/t/set-application-extension-api-only-on-a-spm-package/39333/17

@SebastianKumor
Copy link

same issue here

@LaurentiuUngur
Copy link

Same here, also on Xcode 13.0 beta 4

@paulmesa-paypal
Copy link

paulmesa-paypal commented Jul 28, 2021

I do have a resolution here which builds on the beta here master...paulmesa-paypal:pm/july/SteelThread

I bumped the swift-tools-version due to some compilation issues and didnt have time to actually figure out what was occurring

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

Successfully merging a pull request may close this issue.

4 participants