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

Does not compiled when imported into app extension #275

Open
thijsnado opened this issue Jul 12, 2018 · 2 comments
Open

Does not compiled when imported into app extension #275

thijsnado opened this issue Jul 12, 2018 · 2 comments
Labels

Comments

@thijsnado
Copy link

Steps to reproduce:

  1. Add new target to iOS app for "Share Extension"
  2. Add: import p2_OAuth2 to ShareViewController.swift
  3. Compile
  4. Expected results: it compiles
  5. Actual results: In OAuth2Authorizer+iOS.swift, line 66, get: 'openURL' is unavailable error
@p2
Copy link
Owner

p2 commented Jul 12, 2018

This came up in #133 and at one point did work after #212 , guess it's no longer compiling.

@ossus-lib
Copy link
Collaborator

You should be able to define the P2_APP_EXTENSIONS compiler flag and that line won't be compiled. Does that work?

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

No branches or pull requests

3 participants