Skip to content

Postinstall script breaks CI (and possibly non-Mac environments) #78

@aurelienshz

Description

@aurelienshz

Hi,

The linkSKAdNetwork.sh post-install script is breaking yarn install on our (linux-based) CI environment, and would probably also break on a Linux development environment (I don't have one available to test, but I don't think there is a Linux version of the plutil command).

I'm thinking the script could be updated with the following logic:

  1. Test whether the plutil command is available using which
  2. If the command is not available, output a message telling the user that the SKAdNetwork could not be autolinked and that they have to manually check that the property is present in their info.plist
  3. If the command is available, keep going with the current implementation

Would you accept a PR implementing this logic?

Thanks a lot!

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