Posts: 613
Joined: Jul 2012
Reputation:
30
I have a couple ideas of what could be wrong...
Place a break point on the line that says "Error creating temp folder" and see what the values of tempTask.output and tempTask.status are
My guess is that for some reason mktemp may be returning an exit code of something other than 0 (which would cause the app to display that error message)
Alternatively, you could also try commenting out the return statement directly following the setStatus for the error message and that would continue (if mktemp is actually working properly that is)
Posts: 178
Joined: Feb 2011
Reputation:
2
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.
Posts: 758
Joined: Jun 2014
Reputation:
31
MrMC
Posting Freak
Posts: 758
* MrMC bets a dollar that your native tar does not support lzma
Posts: 178
Joined: Feb 2011
Reputation:
2
2015-11-10, 22:44
(This post was last modified: 2015-11-10, 23:39 by ChipsAhoy.)
I just pulled your latest source and it now gets all the way through the process and creates the ipa, but still gets the "application could not be verified" message when I try to install it. However, if I run the .ipa through iResign, it installs and runs perfectly.
Opening the packages, I see that iResign is adding the file: "embedded.mobileprovision"
Posts: 11
Joined: Oct 2015
Reputation:
0
slauz
Junior Member
Posts: 11
Hi Dan - Many thanks for your replies.
I am on OSX 10.11.1 with Xcode 7.1 and it looks like I don't have any certificates for iPhone Development. Keychain Access says certificate signed with unknown authority. The terminal command brings me 0 certificates.
I am not in a Apple developer program, just have an Apple ID. The document you linked seems like it's only applicable if you're on the developer program.
I am checking with Apple in this regard.
Posts: 2
Joined: Nov 2015
Reputation:
0
Which deb file do you use on step 7? Sorry for the questions just really excited about all this.
Posts: 448
Joined: May 2015
(2015-11-11, 05:42)slauz Wrote: Hi Dan - Many thanks for your replies.
I am on OSX 10.11.1 with Xcode 7.1 and it looks like I don't have any certificates for iPhone Development. Keychain Access says certificate signed with unknown authority. The terminal command brings me 0 certificates.
I am not in a Apple developer program, just have an Apple ID. The document you linked seems like it's only applicable if you're on the developer program.
I am checking with Apple in this regard.
Nope. Apple ID is fine. How I created mine.
Posts: 448
Joined: May 2015
(2015-11-11, 07:14)jammar Wrote: Which deb file do you use on step 7? Sorry for the questions just really excited about all this.
The deb file from here:
http://mirrors.kodi.tv/apt/ios/deb/
Posts: 70
Joined: Nov 2011
Reputation:
0
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.
Posts: 80
Joined: Jan 2015
Reputation:
0
where do I find my provisioning profile?
Posts: 80
Joined: Jan 2015
Reputation:
0
With Xcode 7.1.1 I followed the steps exactly I already have a developer account so its selected in app signer and now when I open iOS app signer, under the provisioning profile I don't see my: com.shawzborne.Kodi listed under provisioning profile. I can see my other Xcode provisioning files from other projects however.