johnno1962 / InjectionApp

Issue Tracking Repo for Injection as an App
MIT License
111 stars 7 forks source link

Error: Could not open filemap #25

Closed igortxito closed 7 years ago

igortxito commented 7 years ago

Hi. Everytime I try to inject source I get this error. After a lot of try I can't go further. Thanks for your great work!

version: XCode 8.3.1 Could not open filemap ‘/Users/[...]/Library/Developer/Xcode/DerivedData/CartaGin-ftrserdhowecsafpagutmyzoxnrl/Build/Intermediates/XXX.build/Debug-iphonesimulator/Cartasc

eligat commented 7 years ago

I seem to have the same issue. More info from Injection Console: at .../Injection.app/Contents/Resources/common.pm line 61.
 main::error('Could not open filemap ×sers/eligat/Library/Develope...') called at .../Injection.app/Contents/Resources/injectSource.pl line 269

johnno1962 commented 7 years ago

Do you have spaces in your path to the project?

eligat commented 7 years ago

No, only latin letters, _ and -

johnno1962 commented 7 years ago

Odd.. can you send a complete copy of console window to injection at johnholdsworth.com please?

eligat commented 7 years ago

Sent email. Thanks for your work, btw)

zenangst commented 7 years ago

I seemed to have run into the same issue here. I had a space in the target name. I renamed it to use a dash instead of a space. Looks like that fixed it, but I'm unsure. @eligat maybe you could do the same to confirm or deny my hypothesis.

zenangst commented 7 years ago

@johnno1962 @eligat seems like I can reproduce this consistently. If the target name has a space in it, it will fail. If I switch that out to use a dash, it works.

AppName Staging doesn't work. AppName-Staging works.

@johnno1962 you reckon this would be easy to handle in InjectionApp?

johnno1962 commented 7 years ago

@zenangst, thanks for really boxing this in so I could replicate it. I’ve pushed a new version of the Injection App that seems to have this fixed to http://johnholdsworth.com/injection.html

zenangst commented 7 years ago

@johnno1962 My pleasure mate! I'll take it for a spin today, keep you posted! ❤️

zenangst commented 7 years ago

@johnno1962 everything seems good now with the new version 🚀

johnno1962 commented 7 years ago

Excellent.

Rnorback commented 7 years ago

Love this app btw. And this thread solved my problem, thanks for the fix John!