• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 76
iOS App Signer - Install Kodi without Jailbreak (iOS and tvOS)
#76
If you go into Xcode preferences and view your account details, is the provisioning profile downloaded?

The app searches ~/Library/MobileDevice/Provisioning Profiles/ for profiles
Reply
#77
(2015-11-13, 23:50)DanTheMan827 Wrote:
(2015-11-13, 22:25)chrisjohnson83 Wrote: ill get to very end, ill click windows, devices, then choose iPhone 6 plus. At the point where it installs IPA i get "The executable was signed with invalid entitlements.The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016). Where am i going wrong? i have had zero issues using Xcode with apple tv but don't have the same luck with the iPhone.

Could you let me know what version of OS X you're running? I'll take a look and see if I can replicate the problem

Hey I'm running El Capitan on iMac 2011
Reply
#78
(2015-11-14, 05:49)chrisjohnson83 Wrote:
(2015-11-13, 23:50)DanTheMan827 Wrote:
(2015-11-13, 22:25)chrisjohnson83 Wrote: ill get to very end, ill click windows, devices, then choose iPhone 6 plus. At the point where it installs IPA i get "The executable was signed with invalid entitlements.The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016). Where am i going wrong? i have had zero issues using Xcode with apple tv but don't have the same luck with the iPhone.

Could you let me know what version of OS X you're running? I'll take a look and see if I can replicate the problem

Hey I'm running El Capitan on iMac 2011

hmm, that definitely should be working then...

Could you please pull the latest git version, run it in Xcode, and post the output?
Reply
#79
Just logged in to thank DanTheMan. Just tried this with my non jailbroken 6s, and the step by step worked a treat.

Bring on tvOS Smile
Reply
#80
(2015-11-10, 22:24)ChipsAhoy Wrote: tempTask.status is 1 instead of 0
tempTask.output is "mktemp: mkdtemp failed on com.DanTheMan827.AppSigner.xxxxxxxxxx: File exists\n"

I had previously tried commenting out the return statement, but that fails because mktemp is not actually creating the folder.

However, the File exists message, was helpful. Apparently at some point, the folder was created but never cleaned up, and so it was actually failing because it already existed. However, after trashing it, I get a new error: Error unpacking data.tar

It gets as far as unpacking the .deb and moving it (I can see it in the path /Users/David/Library/Developer/Xcode/DerivedData/iOS_App_Signer-bwbyfgmmbcldethbtdsxlcdbvibk/Build/Products/Debug/com.DanTheMan827.AppSigner.xxxxxxxxxx/deb/data.tar.lzma), but after that it fails to unpack the tar.
output String "tar: Error opening archive: Failed to open 'com.DanTheMan827.AppSigner.xxxxxxxxxx/deb/data.tar.lzma'\n"

Permissions issue perhaps? It does now seem to be cleaning up after itself.

The fix for me was to simply remove the error check. See my attached screenshot, I removed the grey marked area.
Please note that I have zero experience with iOS and / or OS X development, but this seemed a simple hack to try out and I'm glad it worked for me.
After this it ran fine and installed onto my iPad 4 (iOS 9.1, not jailbroken) and runs perfectly fine.

Image
Image

The reason I'm not using El Capitan is that I have a Hackintosh and am happy the way it works now.

Greetings,

Arjan
Reply
#81
(2015-11-14, 06:53)DanTheMan827 Wrote:
(2015-11-14, 05:49)chrisjohnson83 Wrote:
(2015-11-13, 23:50)DanTheMan827 Wrote: Could you let me know what version of OS X you're running? I'll take a look and see if I can replicate the problem

Hey I'm running El Capitan on iMac 2011

hmm, that definitely should be working then...

Could you please pull the latest git version, run it in Xcode, and post the output?


So i tried downloading new git and still getting same error. Posting screen shot EDIT: removed screenshot
Reply
#82
Reply
#83
Okay, so I made a few changes and successfully tested the app on 10.10.5 and 10.11.1

The app created the temp folder just fine and successfully signed the app from both Yosemite and El Capitan

If you are still having and issues, download the source code from git, run the app in Xcode, and please copy and paste the output log as I also added a bit of error logging to the latest release.
Reply
#84
holy crap , i finally got it to work. I had so many different provisioning profiles under provisioning profile and went through each of them until i found the right one that worked & now its installed on my 6 plus. Thanks so much for the tips & tricks & help. How would i go about removing those provisioning profiles so i don't have so many?
Reply
#85
(2015-11-15, 01:44)chrisjohnson83 Wrote: holy crap , i finally got it to work. I had so many different provisioning profiles under provisioning profile and went through each of them until i found the right one that worked & now its installed on my 6 plus. Thanks so much for the tips & tricks & help. How would i go about removing those provisioning profiles so i don't have so many?

If you go into Xcode preferences > Accounts > Details

You can right click on one of the provisioning profiles and click show in finder

You can (if you want) delete all of these files since Xcode can re-download them provided you have access to the account that created them
Reply
#86
(2015-11-15, 02:10)DanTheMan827 Wrote:
(2015-11-15, 01:44)chrisjohnson83 Wrote: holy crap , i finally got it to work. I had so many different provisioning profiles under provisioning profile and went through each of them until i found the right one that worked & now its installed on my 6 plus. Thanks so much for the tips & tricks & help. How would i go about removing those provisioning profiles so i don't have so many?

If you go into Xcode preferences > Accounts > Details

You can right click on one of the provisioning profiles and click show in finder

You can (if you want) delete all of these files since Xcode can re-download them provided you have access to the account that created them

excellent thanks so much Dan. Much appreciated.
Reply
#87
(2015-11-15, 02:11)chrisjohnson83 Wrote:
(2015-11-15, 02:10)DanTheMan827 Wrote:
(2015-11-15, 01:44)chrisjohnson83 Wrote: holy crap , i finally got it to work. I had so many different provisioning profiles under provisioning profile and went through each of them until i found the right one that worked & now its installed on my 6 plus. Thanks so much for the tips & tricks & help. How would i go about removing those provisioning profiles so i don't have so many?

If you go into Xcode preferences > Accounts > Details

You can right click on one of the provisioning profiles and click show in finder

You can (if you want) delete all of these files since Xcode can re-download them provided you have access to the account that created them

excellent thanks so much Dan. One thing i am seeing on this version of Kodi anytime i start up i get error "failed to start common cache", is this a custom kodi by chance? if not, any idea how to fix that? i tried rebooting already as well.

The deb files from http://mirrors.kodi.tv/apt/ios/deb/ are the official deb files that get installed from cydia

My app does nothing but sign the files in the app so that they run on an iOS device that isn't jailbroken

I'd try deleting and re-installing the IPA file in case something got messed up with configuration

Other than that, I would probably go to another topic with a Kodi bug

Did you install Kodi 15.2 or some other version?
Reply
#88
Code:
Nov 14 19:12:36 my-iPhone kernel[0] <Notice>: AppleKeyStore: operation failed (pid: 12025 sel: 26 ret: e00002e2 '-536870174')
Nov 14 19:12:36 my-iPhone UserEventAgent[11993] <Error>:  LockStateNotifier aksNotificationCallback posting notification: com.apple.mobile.keybagd.lock_status
Nov 14 19:12:36 my-iPhone MobileMail[12135] <Warning>: Key bag transitioning from unlocked to locking
Nov 14 19:12:36 my-iPhone UserEventAgent[11993] <Notice>: (Note ) PIH: Lock status changed.
Nov 14 19:12:36 my-iPhone SpringBoard[12025] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Nov 14 19:12:36 my-iPhone backupd[12716] <Warning>: INFO: Scheduling next backup at 11/15/15, 12:43:18 AM
Nov 14 19:12:46 my-iPhone kernel[0] <Notice>: AppleKeyStore:Sending lock change 1 for handle 0
Nov 14 19:12:46 my-iPhone UserEventAgent[11993] <Error>:  LockStateNotifier aksNotificationCallback posting notification: com.apple.mobile.keybagd.lock_status
Nov 14 19:12:46 my-iPhone UserEventAgent[11993] <Notice>: (Note ) PIH: Lock status changed.
Nov 14 19:12:46 my-iPhone MobileMail[12135] <Warning>: Key bag transitioning from locking to locked
Nov 14 19:12:47 my-iPhone backboardd[12027] <Notice>: [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 255->6 (deferring until bootloaded)
Nov 14 19:12:47 my-iPhone SpringBoard[12025] <Warning>: [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
Nov 14 19:12:47 my-iPhone SpringBoard[12025] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Nov 14 19:12:47 my-iPhone backboardd[12027] <Notice>: [HID] [MT] MTSimpleHIDManager::deviceDidBootload device bootloaded
Nov 14 19:12:47 my-iPhone backboardd[12027] <Notice>: [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 6->6
Nov 14 19:12:47 my-iPhone kernel[0] <Notice>: AppleKeyStore:Sending lock change 0 for handle 0
Nov 14 19:12:47 my-iPhone UserEventAgent[11993] <Error>:  LockStateNotifier aksNotificationCallback posting notification: com.apple.mobile.keybagd.lock_status
Nov 14 19:12:47 my-iPhone UserEventAgent[11993] <Notice>: (Note ) PIH: Lock status changed.
Nov 14 19:12:47 my-iPhone MobileMail[12135] <Warning>: Key bag transitioning from locked to unlocked
Nov 14 19:12:47 my-iPhone SpringBoard[12025] <Notice>: -[UABestAppSuggestionManager notifyBestAppChanged:type:options:bundleIdentifier:activityType:dynamicIdentifier:when:confidence:deviceName:deviceIdentifier:deviceType:] (null) UASuggestedActionType=0 (null)/(null) opts=(null) when=2015-11-15 00:12:47 +0000 confidence=1 from=(null)/(null) (UABestAppSuggestionManager.m #319)
Nov 14 19:12:47 my-iPhone backboardd[12027] <Notice>: [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 6->3
Nov 14 19:12:47 my-iPhone locationd[12031] <Warning>: notify name "com.apple.locationd.DumpDiagnostics" has been registered 40 times - this may be a leak
Nov 14 19:13:13 my-iPhone mobile_installation_proxy[12585] <Warning>: LaunchServices: installing app with unknown bundleID
Nov 14 19:13:13 my-iPhone installd[12495] <Notice>: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/kodiios.ipa" type Customer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 12585)
Nov 14 19:13:13 my-iPhone installd[12495] <Notice>: 0x16e1bb000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.ios.kodi; Version=1.0, ShortVersion=(null)>
Nov 14 19:13:13 my-iPhone profiled[12533] <Notice>: (Note ) MC: Provisioning profiles changed
Nov 14 19:13:13 my-iPhone profiled[12533] <Notice>: (Note ) MC: Updating MIS trust...
Nov 14 19:13:13 my-iPhone securityd[12241] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
Nov 14 19:13:13 my-iPhone securityd[12241] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
Nov 14 19:13:13 my-iPhone installd[12495] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Nov 14 19:13:23 my-iPhone installd[12495] <Notice>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: com.kd.Kodi'
Nov 14 19:13:23 my-iPhone installd[12495] <Notice>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: com.kodi.kodi'
Nov 14 19:13:23 my-iPhone installd[12495] <Notice>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: org.xbmc.kd'
Nov 14 19:13:23 my-iPhone installd[12495] <Notice>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: com.kodi.xbmc'
Nov 14 19:13:23 my-iPhone installd[12495] <Error>: 0x16e1bb000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 142: Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.zubP3L/extracted/Payload/Kodi.app : 0xe8008016 (The executable was signed with invalid entitlements.)
Nov 14 19:13:23 my-iPhone installd[12495] <Error>: 0x16e1bb000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Nov 14 19:13:24 my-iPhone mobile_installation_proxy[12585] <Error>: 0x16e12f000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.zubP3L/extracted/Payload/Kodi.app : 0xe8008016 (The executable was signed with invalid entitlements.)" UserInfo={LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=142, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.zubP3L/extracted/Payload/Kodi.app : 0xe8008016 (The executable was signed with invalid entitlements.)}
Nov 14 19:13:24 my-iPhone mobile_installation_proxy[12585] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Nov 14 19:13:24 my-iPhone mobile_installation_proxy[12585] <Error>: 0x16e2d3000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=ApplicationVerificationFailed, ErrorDetail=-402620394, ErrorDescription=Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.zubP3L/extracted/Payload/Kodi.app : 0xe8008016 (The executable was signed with invalid entitlements.)}

Haven't been able to install the application. Getting entitlement error.
Reply
#89
(2015-11-15, 02:22)rotateclockwise Wrote:
Code:
Nov 14 19:12:36 my-iPhone kernel[0] <Notice>: AppleKeyStore: operation failed (pid: 12025 sel: 26 ret: e00002e2 '-536870174')
Nov 14 19:12:36 my-iPhone UserEventAgent[11993] <Error>:  LockStateNotifier aksNotificationCallback posting notification: com.apple.mobile.keybagd.lock_status
Nov 14 19:12:36 my-iPhone MobileMail[12135] <Warning>: Key bag transitioning from unlocked to locking
Nov 14 19:12:36 my-iPhone UserEventAgent[11993] <Notice>: (Note ) PIH: Lock status changed.
Nov 14 19:12:36 my-iPhone SpringBoard[12025] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Nov 14 19:12:36 my-iPhone backupd[12716] <Warning>: INFO: Scheduling next backup at 11/15/15, 12:43:18 AM
Nov 14 19:12:46 my-iPhone kernel[0] <Notice>: AppleKeyStore:Sending lock change 1 for handle 0
Nov 14 19:12:46 my-iPhone UserEventAgent[11993] <Error>:  LockStateNotifier aksNotificationCallback posting notification: com.apple.mobile.keybagd.lock_status
Nov 14 19:12:46 my-iPhone UserEventAgent[11993] <Notice>: (Note ) PIH: Lock status changed.
Nov 14 19:12:46 my-iPhone MobileMail[12135] <Warning>: Key bag transitioning from locking to locked
Nov 14 19:12:47 my-iPhone backboardd[12027] <Notice>: [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 255->6 (deferring until bootloaded)
Nov 14 19:12:47 my-iPhone SpringBoard[12025] <Warning>: [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
Nov 14 19:12:47 my-iPhone SpringBoard[12025] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Nov 14 19:12:47 my-iPhone backboardd[12027] <Notice>: [HID] [MT] MTSimpleHIDManager::deviceDidBootload device bootloaded
Nov 14 19:12:47 my-iPhone backboardd[12027] <Notice>: [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 6->6
Nov 14 19:12:47 my-iPhone kernel[0] <Notice>: AppleKeyStore:Sending lock change 0 for handle 0
Nov 14 19:12:47 my-iPhone UserEventAgent[11993] <Error>:  LockStateNotifier aksNotificationCallback posting notification: com.apple.mobile.keybagd.lock_status
Nov 14 19:12:47 my-iPhone UserEventAgent[11993] <Notice>: (Note ) PIH: Lock status changed.
Nov 14 19:12:47 my-iPhone MobileMail[12135] <Warning>: Key bag transitioning from locked to unlocked
Nov 14 19:12:47 my-iPhone SpringBoard[12025] <Notice>: -[UABestAppSuggestionManager notifyBestAppChanged:type:options:bundleIdentifier:activityType:dynamicIdentifier:when:confidence:deviceName:deviceIdentifier:deviceType:] (null) UASuggestedActionType=0 (null)/(null) opts=(null) when=2015-11-15 00:12:47 +0000 confidence=1 from=(null)/(null) (UABestAppSuggestionManager.m #319)
Nov 14 19:12:47 my-iPhone backboardd[12027] <Notice>: [HID] [MT] MTSimpleHIDManager::setPropertyInternal detection mode: 6->3
Nov 14 19:12:47 my-iPhone locationd[12031] <Warning>: notify name "com.apple.locationd.DumpDiagnostics" has been registered 40 times - this may be a leak
Nov 14 19:13:13 my-iPhone mobile_installation_proxy[12585] <Warning>: LaunchServices: installing app with unknown bundleID
Nov 14 19:13:13 my-iPhone installd[12495] <Notice>: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/kodiios.ipa" type Customer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 12585)
Nov 14 19:13:13 my-iPhone installd[12495] <Notice>: 0x16e1bb000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.ios.kodi; Version=1.0, ShortVersion=(null)>
Nov 14 19:13:13 my-iPhone profiled[12533] <Notice>: (Note ) MC: Provisioning profiles changed
Nov 14 19:13:13 my-iPhone profiled[12533] <Notice>: (Note ) MC: Updating MIS trust...
Nov 14 19:13:13 my-iPhone securityd[12241] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
Nov 14 19:13:13 my-iPhone securityd[12241] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
Nov 14 19:13:13 my-iPhone installd[12495] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Nov 14 19:13:23 my-iPhone installd[12495] <Notice>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: com.kd.Kodi'
Nov 14 19:13:23 my-iPhone installd[12495] <Notice>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: com.kodi.kodi'
Nov 14 19:13:23 my-iPhone installd[12495] <Notice>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: org.xbmc.kd'
Nov 14 19:13:23 my-iPhone installd[12495] <Notice>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'iOS Team Provisioning Profile: com.kodi.xbmc'
Nov 14 19:13:23 my-iPhone installd[12495] <Error>: 0x16e1bb000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 142: Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.zubP3L/extracted/Payload/Kodi.app : 0xe8008016 (The executable was signed with invalid entitlements.)
Nov 14 19:13:23 my-iPhone installd[12495] <Error>: 0x16e1bb000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Nov 14 19:13:24 my-iPhone mobile_installation_proxy[12585] <Error>: 0x16e12f000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.zubP3L/extracted/Payload/Kodi.app : 0xe8008016 (The executable was signed with invalid entitlements.)" UserInfo={LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=142, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.zubP3L/extracted/Payload/Kodi.app : 0xe8008016 (The executable was signed with invalid entitlements.)}
Nov 14 19:13:24 my-iPhone mobile_installation_proxy[12585] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Nov 14 19:13:24 my-iPhone mobile_installation_proxy[12585] <Error>: 0x16e2d3000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=ApplicationVerificationFailed, ErrorDetail=-402620394, ErrorDescription=Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.zubP3L/extracted/Payload/Kodi.app : 0xe8008016 (The executable was signed with invalid entitlements.)}

Haven't been able to install the application. Getting entitlement error.

Is the provisioning profile a wildcard profile?

If it is I don't have one to test my app against as I'm not in a paid developer program

Could you download the source code for the app signed, run it in Xcode, and post the debugger output?

And you don't mind, could you extract the ipa file and send me (in a PM) the embedded.mobileprovision file which is located in payload/kodi.app?
Reply
#90
Yes it is a wildcard provisioning profile. Got it working by keeping the package bundle id the same and using wildcard. Thank you for the resigning program!
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 76

Logout Mark Read Team Forum Stats Members Help
iOS App Signer - Install Kodi without Jailbreak (iOS and tvOS)8