-
Notifications
You must be signed in to change notification settings - Fork 565
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
Code injection failed due to multiple certificates #41
Comments
HI, you’re nearly there. Use "Product//Open Bundle” to open the bundle project inside which you can select the specific identity. This value is cached in a file <project_root>/isoInjectionProject//identiy.txt. delete it so it gets refreshed. The value in that file is that passed to codesign on the command line. |
OK thanks. Maybe you could add this in the documentation. |
I had to specify the specific signing certificate in the bundle project and put the full name of my signing certificate in identity.txt - i.e. "iPhone Developer: My Name (XX4XXXXX64)" to get it to work. |
WonderFul Solution, Recommending mention this in README.md, I spent a lot of time to solve this problem. |
I was just about to fix this and it seems this is resolved in Xcode 7.2 GM as the CODE_SIGN_IDENTITY now contains the (XX4XXXXX64) section. Let me know if you still have dificulties after deleteing the iOSInjectionProject/arm64/identity.txt file. |
Thanks, I would upgrade Xcode to the latest version in two days. And deleting the identity.txt cannot solve it, instead adding signing certificate in identity.txt - i.e. "iPhone Developer: My Name (XX4XXXXX64)" does for me. |
thanks for @johnno1962 providing such an genius plugin!!! I run this in simulator, but when it comes to my iPhone device, I received the same problem with @jonathantribouharet ,then as you suggested, I deleted the iOSInjectionProject/arm64/identity.txt file.but it still pops the same problem(ambiguous code identity...). |
blew is my problem:
|
As we discuss above, This problem can be solved by edit the file iOSInjectionProject/arm64/identity.txt file |
do not delete it, you should modify the last line As troya2 said that 👍 put the full name of my signing certificate in identity.txt - i.e. "iPhone Developer: My Name (XX4XXXXX64)" to get it to work. iOSInjectionProject/x86_64/identity.txt file |
unfortunately, I recent change to realm which does not support injection. |
Realm also Support Injection Now, and I am back for Injection, 👍 |
SomeTimes it need to delete the same name identity in the keychain. Hoping to make a default chose, or a choice options. |
Hello, since I have multiple signing identities I manually specified required identity in iOSInjectionProject/arm64/identity.txt Anyway, I see this error when I try to inject changes: |
I’m afraid I don’t know. Try the sodesigning command from the command line and work from there. |
thanks, I solve this problem last year. |
Hi I am still facing this problem. but not find out any solution for this. I am using Xcode 9.3. So can anyone please suggest me what should I do. |
Please try the new App store Version of the App https://itunes.apple.com/us/app/injectioniii/id1380446739?ls=1&mt=12 |
Hi,
I cannot inject code. I installed the plugin by cloning the git and built it with xcode (6.3 last version).
When I launch my app I see:
So I supposed the project is ready for injection.
But when I want to inject some code, I have got this error:
I supposed the bug is because I have multiple certificate (multiple teams on, one personal (developer), one entreprise, and others from my clients) and
codesign
don't know which one choose.I don't know if you indicate to
codesign
to use the same certificate I use for building my app with xcode.The text was updated successfully, but these errors were encountered: