Skip to content

Add Apple app store flag to remove APIs prohibited in App Store distributions - #424

Merged
GuillaumeGomez merged 4 commits into
GuillaumeGomez:masterfrom
complexspaces:app-store-flag
Feb 3, 2021
Merged

Add Apple app store flag to remove APIs prohibited in App Store distributions#424
GuillaumeGomez merged 4 commits into
GuillaumeGomez:masterfrom
complexspaces:app-store-flag

Conversation

@complexspaces

Copy link
Copy Markdown
Contributor

This PR changes two things with sysinfo:

  1. Process information for Apple platforms has been moved to be MacOS only. The iOS sandbox prevents applications from fetching this information at all.
  2. Adds an apple-app-store flag that disables MacOS process information when enabled. The APIs used by sysinfo are considered "internal only" by Apple and get flagged during the App Store review process.

The second point is the more unfortunate one. Even if the an application does not use sysinfo's process functionality, the symbols still exist and are flagged, preventing applications using sysinfo from being put on the App store at all. The flag is not enabled by default, instead requiring users to opt in because the process APIs and functions are still valid to use in third-party distributed apps.

iOS apps are sandboxed and unable to fetch this information at all
Comment thread README.md
Comment thread README.md
@GuillaumeGomez

Copy link
Copy Markdown
Owner

That's a bit disappointing but I guess we can't do anything about it... Can you add a CI suite for it to ensure that it compiles fine with this feature enabled please?

@complexspaces

Copy link
Copy Markdown
Contributor Author

I just pushed CI that runs the Apple targets with the feature flag.

@GuillaumeGomez

Copy link
Copy Markdown
Owner

You broke the CI apparently. 😆

@complexspaces
complexspaces force-pushed the app-store-flag branch 2 times, most recently from d252232 to 6773277 Compare February 3, 2021 14:32
@complexspaces

Copy link
Copy Markdown
Contributor Author

CI is passing again. The new job looks like this and only runs on Apple targets:
image

@GuillaumeGomez

Copy link
Copy Markdown
Owner

Thanks a lot! For the next release, I'll wait for your other PR to be merged if you don't mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants