Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rebundling apps with app extensions (.share only for now) #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trufae
Copy link
Member

@trufae trufae commented Jun 3, 2021

No description provided.

throw new Error('Invalid parameters for adjustInfoPlist');
}
if (file.indexOf('.appex/') != -1) {
bundleid += '.share';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

network extensions may use: .network-extension so this is just a partial fix.

Probably the way to go is to check for the NSExtension array and see which is the NSExtensionPrincipalClass used for each appex

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.SiriExtension for NSExtension.NSExtensionPointIdentifier == com.apple.intents-service

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

com.apple.networkextension.packet-tunnel -> network-extension

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this happen only if bundleId is defined? AFAIK overriding the bundle id is optional

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL for the single letter contributor

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.

3 participants