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

Runs fine for the first time #2

Open
schmitzoide opened this issue Jan 9, 2017 · 8 comments
Open

Runs fine for the first time #2

schmitzoide opened this issue Jan 9, 2017 · 8 comments

Comments

@schmitzoide
Copy link

The first time I run this (InjectedCount = 1), all runs well, all other consequent attempts fail with the sign code issue.

Error loading /Users/marcelschmitz/Library/Developer/Xcode/DerivedData/winespots-agamduxrctmuerhhpopnmsqgxyta/Logs/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle7.bundle/InjectionBundle:  dlopen(/Users/marcelschmitz/Library/Developer/Xcode/DerivedData/winespots-agamduxrctmuerhhpopnmsqgxyta/Logs/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle7.bundle/InjectionBundle, 265): no suitable image found.  Did find:
	/Users/marcelschmitz/Library/Developer/Xcode/DerivedData/winespots-agamduxrctmuerhhpopnmsqgxyta/Logs/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle7.bundle/InjectionBundle: required code signature missing for '/Users/marcelschmitz/Library/Developer/Xcode/DerivedData/winespots-agamduxrctmuerhhpopnmsqgxyta/Logs/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle7.bundle/InjectionBundle'

I've code sign the bundle project, hence working for the first time. Don't know how to sign the consequent bundles.

Any thoughts?

@johnno1962
Copy link
Owner

johnno1962 commented Jan 10, 2017

Stange problem. Can you delete the injection project and try again without changing the codesigning. It should be fine ad-hoc. I can TeamView if you want me to take a look.

@schmitzoide
Copy link
Author

Let me try that and come back to you. Really, teamviewer? You're awesome!

@schmitzoide
Copy link
Author

Guess that didn't work :(

@schmitzoide
Copy link
Author

Can you delete the injection project

How do I do that?

@johnno1962
Copy link
Owner

If you send your TeamViewer co-ord to injectionapp at johnholdsworth.com I can take a look

@sibljon
Copy link

sibljon commented Jan 13, 2017

I'm experiencing the same issue (first injection works, subsequent fail with a no suitable image found error), but I'm able to resolve it by rm -rf ./iOSInjectionProject within the .../DerivedData/.../Logs/Build/... directory that is printed in the Injection Console. @johnno1962 this is what you were asking @schmitzoide to try, right?

However, I'm not sure that this is a complete solution, as I am not able to get injection fully working as I subsequently experience an issue which I've detailed in #10 after the swizzling stage.

@schmitzoide
Copy link
Author

That was it yes @sibljon, I'll try to do what you've done. But do you do it all the time that you inject?

@sibljon
Copy link

sibljon commented Jan 15, 2017 via email

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

3 participants