Hi,
I have been running Kodi on my apple tv4 without any problems up until last week when it suddenly did not work any more.
When I tried to re-install it I got the following error notification; A valid provisioning profile for this executable was not found.
I've checked all my provisioning profiles on the developer centre member page and also on the device and they all seem to be in order.
Although when the app is signed it looks as though it's getting a different app ID prefix assigned to it instead of the one on my XC Wildcard.
However, I don't know if this is the root of my problem as I am not an experienced developer.
By posting the log from X-Code I'm hoping someone can help me out.
Any help would be greatly appreciated!.
Thanks in advance.
Kind regards,
Manolo
May 29 21:56:38 Apple-TV syslog_relay[140] <Notice>: syslog_relay found the ASL prompt. Starting...
May 29 21:57:23 Apple-TV atvcached[111] <Notice>: #T:[0x16e087000] #Notice #TVCDSERVICE : Application (null) querying applications state.
May 29 21:57:23 Apple-TV installd[44] <Notice>: 0x16e087000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/kodi-20160303-4836337-yab-tvos.ipa" type Customer (LSInstallType = (null)) requested by mobile_installation_proxy (pid 133)
May 29 21:57:24 Apple-TV installd[44] <Notice>: 0x16e087000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=org.xbmc.kodi-tvos; Version=r####, ShortVersion=17.0.alpha1>
May 29 21:57:24 Apple-TV misagent[104] <Notice>: MIS: attempt to install invalid profile: 0xe8008012
May 29 21:57:24 Apple-TV installd[44] <Error>: 0x16e087000 -[MIInstallableBundle _installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008012 (This provisioning profile cannot be installed on this device.)
May 29 21:57:24 Apple-TV securityd[84] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
May 29 21:57:24 Apple-TV securityd[84] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
May 29 21:57:24 Apple-TV installd[44] <Error>: SecTrustEvaluate [leaf CheckIntermediateMarkerOid CheckLeafMarkerOid]
May 29 21:57:33 Apple-TV securityd[84] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
May 29 21:57:33 Apple-TV securityd[84] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
May 29 21:57:33 Apple-TV installd[44] <Error>: SecTrustEvaluate [leaf CheckIntermediateMarkerOid CheckLeafMarkerOid]
May 29 21:57:33 Apple-TV securityd[84] <Error>: CFReadStream domain: 12 error: 8
May 29 21:57:33 Apple-TV installd[44] <Error>: 0x16e087000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 142: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.k1tvMk/extracted/Payload/Kodi.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)
May 29 21:57:33 Apple-TV installd[44] <Error>: 0x16e087000 -[MIInstaller performInstallationWithError:]: Verification stage failed
May 29 21:57:34 Apple-TV mobile_installation_proxy[133] <Error>: 0x16e1bb000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.k1tvMk/extracted/Payload/Kodi.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)" UserInfo={LibMISErrorNumber=-402620395, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=142, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.k1tvMk/extracted/Payload/Kodi.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)}
May 29 21:57:34 Apple-TV mobile_installation_proxy[133] <Error>: 0x16e12f000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=ApplicationVerificationFailed, ErrorDetail=-402620395, ErrorDescription=Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.k1tvMk/extracted/Payload/Kodi.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)}
May 29 21:57:34 Apple-TV kernel[0] <Notice>: socketIsClosed sock_receive returned errno 54
May 29 21:57:34 Apple-TV com.apple.xpc.launchd[1] (lockdown.171854844977.com.apple.springboardservices[178]) <Warning>: Could not find and/or execute program specified by service: 2: No such file or directory: /usr/libexec/springboardservicesrelay
May 29 21:57:34 Apple-TV com.apple.xpc.launchd[1] (lockdown.171854844977.com.apple.springboardservices[178]) <Notice>: Service setup event to handle failure and will not launch until it fires.
May 29 21:57:34 Apple-TV kernel[0] <Notice>: socketIsClosed sock_receive returned errno 54
May 29 21:57:34 Apple-TV com.apple.xpc.launchd[1] (lockdown.171856845600.com.apple.springboardservices[179]) <Warning>: Could not find and/or execute program specified by service: 2: No such file or directory: /usr/libexec/springboardservicesrelay
May 29 21:57:34 Apple-TV com.apple.xpc.launchd[1] (lockdown.171856845600.com.apple.springboardservices[179]) <Notice>: Service setup event to handle failure and will not launch until it fires.
May 29 21:58:01 Apple-TV networkd[83] <Notice>: -[NETInterfaceManager updateInterfaces] nwi_state_copy() returned NULL
May 29 21:58:25 Apple-TV kernel[0] <Notice>: 007211.156568 wlan0.A[53] configurePrivateMACForScans@2428:PRIVATE MAC 96:be:48:a0:64:f7