Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Enable App Extension Safe use of API's #670

Open
4 tasks done
OskarGroth opened this issue May 22, 2018 · 0 comments
Open
4 tasks done

Enable App Extension Safe use of API's #670

OskarGroth opened this issue May 22, 2018 · 0 comments

Comments

@OskarGroth
Copy link

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Description

If a target (in our case, a general UI framework we use internally) uses the Require Only App-Extension-Safe API flag, it is unable to include SlackTextViewController because it refuses to build since it uses UIApplication sharedApplication in various places.

Reproducible in:

  • This is reproducible in the sample project.

Steps to reproduce:

  1. Toggle Require Only App-Extension-Safe API to Yes.
  2. Try building

Expected result:

Project succeeds to build

Actual result:

Project fails to build

Attachments:

e.g. Logs, screenshots, screencast, sample project, funny gif, etc.

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

No branches or pull requests

1 participant