OAuth2 icon indicating copy to clipboard operation
OAuth2 copied to clipboard

Does not compiled when imported into app extension

Open thijsnado opened this issue 7 years ago • 2 comments

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

thijsnado avatar Jul 12 '18 14:07 thijsnado

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

p2 avatar Jul 12 '18 16:07 p2

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

ossus-lib avatar Feb 08 '24 12:02 ossus-lib