Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Not working in share extension with flags set #1133

@borys-tkachenko-hs

Description

@borys-tkachenko-hs

I'm trying to add progress hud to mu share extension.
Here's what I'm doing:

  1. I added a library as an SPM
  2. I added a preprocessing flag for my extension target
  3. I called SVProgressHUD.setViewForExtension(view) in the viewDidLoad of my extension VC.

4 When I debug my extension, I still stop at a breakpoint for #if !defined(SV_APP_EXTENSIONS)
Screenshot 2024-04-18 at 4 08 41 PM

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions