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

Spike re-signer issues #216

Closed
Mindstrial opened this issue Oct 10, 2019 · 9 comments
Closed

Spike re-signer issues #216

Mindstrial opened this issue Oct 10, 2019 · 9 comments

Comments

@Mindstrial
Copy link

Mindstrial commented Oct 10, 2019

I have issues with Spike re-signer. I'm using MacOS Catalina, Xcode 11.0, iOS 13.1.1 and WatchOS 6.0.1. I'm going with the installation tutorial on your page and there are 2 problems:

  1. There is no HealthKit capabilityin Spike app (I don't really care about this much, but I think it's good to let you know)
  2. After configuring identifiers and group for app, selecting my personal free Apple Account I run spike-resigner.sh but it fails installation with error:
    Can't find watch extension's mobileprovision file. Please make sure you performed all Xcode steps correctly. Aborting!
    For now I've installed app using cydia impactor but I would love to have an app on my watch - right now it's impossible to do.
@m-a-v
Copy link
Collaborator

m-a-v commented Oct 10, 2019

https://spike-app.com/install-spike-using-xcode

Search for the following text: "can’t find mobile provision error" in the troubleshooting section. This should solve the issue.

Currently, it is not clear why this error happens. Let me know if it fixes your issue.

@Mindstrial
Copy link
Author

Mindstrial commented Oct 10, 2019

Oh wow, I feel stupid for missing that, sorry. Yes, this fixed my issue, thanks a lot.

On the other hand, the HealthKit Capability is still missing.

@m-a-v
Copy link
Collaborator

m-a-v commented Oct 10, 2019

Do you use a free account?

"Free accounts will not have the iCloud section enabled, only HealthKit and App Groups."

If no try to repeat all steps. Probably you missed something.

@Spikey72
Copy link

Oh wow, I feel stupid for missing that, sorry. Yes, this fixed my issue, thanks a lot.

On the other hand, the HealthKit Capability is still missing.

Like you, I am having the same error, can you tell me how your's was resolved?
I'm Using MacOS Catalina with Xcode 11.1, iOS 13.1.3, WatchOS 6.0.1

Was it:
4. For some unknown reason, sometimes even selecting the same Apple account in both Terminal and Xcode results in the “can’t find mobile provision error”. If that’s the case you might try opening the Spike Re-Signer file with TextEdit, add a # at the begging of:
Line 366: if [ “$CODE_SIGN_IDENTITY” = “$MOBILEPROVISION_IDENTITY_NAME” ]; then
Line 423: fi
Now save the Re-Signer file in TextEdit and run it again in Terminal.

Or:
Building the App on a Device that already has Spike Installed

Thank you

@Spikey72
Copy link

Oh wow, I feel stupid for missing that, sorry. Yes, this fixed my issue, thanks a lot.

On the other hand, the HealthKit Capability is still missing.

I noticed that too, I went through the setup three times.
There is a +Capability option at the top were you can add Healthkit but unsure if this is the correct way way of doing it. Looks like Xcode has changed in v11.1?

@Dissolver
Copy link

Can't find watch extension's mobileprovision file. Please make sure you performed all Xcode steps correctly. Aborting!

Faced the same with paid developer account, used dev certificate and provisions for signing.
MacOS Mojave (10.14.6), Xcode 11.3

@benfiscal
Copy link

benfiscal commented Mar 15, 2020

I added the HealthKit capability by the instruction @Spikey72 mentioned above. Then I had to comment out
Line 366: if [ “$CODE_SIGN_IDENTITY” = “$MOBILEPROVISION_IDENTITY_NAME” ]; then
Line 423: fi
in the spike_resigner shell script as per the instructions in the troubleshooting section of the install-spike-using-xcode guide.

That fixed it for me.
I'm running macOS Catalina 10.15.3 and Xcode 11.1

@m-a-v m-a-v closed this as completed in 8512fb0 Nov 25, 2020
@florisi
Copy link

florisi commented Oct 27, 2021

I'm running a M1 Mac, same problem.
Try to find the line described (line 366) but this a complete different line.
Any update on this?

@m-a-v
Copy link
Collaborator

m-a-v commented Oct 31, 2021

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

6 participants