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

Error on install, executable was signed with invalid entitlements #36

Open
aaronash opened this issue Oct 4, 2017 · 2 comments
Open

Comments

@aaronash
Copy link

aaronash commented Oct 4, 2017

Hey,

Excellent work on this, great tool!

I've had success with installing an .ipa on a jailbroken device, but when I try to install it on a non-jailbroken device, I get the following output:

==> Unpacking com.asdf.asdf-iOS8.0-(Clutch-2.0.4).ipa…
==> Setting bundle ID…
==> Setting display name…
==> Copying dependencies…
==> Injecting dependencies…
==> Signing asdf.app…
==> Repacking asdf.app…
==> Waiting for iOS device to be connected…
==> Using 7e963f9b0cc0ecbcfc0ce4d8146b59d982df1ef7 (D101AP, iPhone 7, iphoneos, arm64) a.k.a. 'iPhone'.…
==> Installing: 70%
==> Error: Error 0xe8008016: The executable was signed with invalid entitlements. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)

It appears to be using the wildcard app id, which might be missing some entitlements. I signed into developer.apple.com and enabled all the Application Services I could for the wildcard app id, but many were greyed-out in their UI. When I run make info, it tells me I need the Wallet and App Groups capabilities. Is there some way I can add those to my wildcard app id, or am I missing the root of the issue entirely?

Thanks, and again, awesome work!

@aaronash
Copy link
Author

aaronash commented Oct 4, 2017

To answer my own question, some entitlements can't be added for wildcard app IDs. I'd love to find a way to create the proper entitlements to inject a .dylib and resign apps in an entirely automated way, without having to create an Xcode project to setup entitlements.

@kabiroberai
Copy link
Owner

Hey! It’s possible to auto-generate provisioning profiles using fastlane, but unfortunately I haven’t found time to implement it yet (and I’m not sure whether it works with free developer accounts).

If you wish to add fastlane support yourself, feel free to give it a shot. Pull requests are welcome 🙂

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

No branches or pull requests

2 participants