-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Injection doesn't seem work when foldername starts with an uppercase character #95
Comments
Hi, looks like you found the answer. The recompilation in injection is case sensitive. |
Will you fix this for the next version ? |
It is not possible to fix this. You need to make sure your project/workspace follows the correct capitalisation when you add the file. |
You mean that I need to rename all my folders in my project? e.g. rename ==== |
Renaming the folder is probably going to cause you confusion with git. The easier thing to do is carefully edit the 'project.pbxproj' project file in your project/workspace. They have to be the same. |
Okay I found it. I saw the "wrong" path in the XCode Inspector on the right side. I re add all files which causes this problem and now a new problem occur: 💉 *** Link failed, check /Users/XXXX/Library/Containers/com.johnholdsworth.InjectionIII/Data/command.sh Any ideas ? Thanks for your help. |
I’m sorry but I’ve never seen an error like that before. What version of Xcode is this. If you do a |
XCode Version 10.1 (10B61) $ ld -v
|
Using App Store Version, XCode 10.1, macOS mojave
When I am saving the swift file the following error is shown in the console:
💉 *** Compiling /Users/XXXXX/Documents/git/project/MainCell.swift ***
💉 *** Re-compilation failed (/Users/XXXX/Library/Containers/com.johnholdsworth.InjectionIII/Data/command.sh)
:0: error: error opening input file '/Users/XXXX/Documents/git/editor/SelectionViewController.swift' (No such file or directory)
The path to the
SelectionViewController
is '/Users/XXXX/Documents/git/Editor/SelectionViewController.swift'The foldername starts with an uppercase character ->
E
(Editor)The text was updated successfully, but these errors were encountered: