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

New files added from AppCode aren't picked up #147

Closed
grav opened this issue Jun 5, 2019 · 1 comment
Closed

New files added from AppCode aren't picked up #147

grav opened this issue Jun 5, 2019 · 1 comment

Comments

@grav
Copy link

grav commented Jun 5, 2019

To reproduce:

  1. add Foobar.swift in AppCode
  2. run in AppCode
  3. change Foobar.swift and observe error:
💉 *** Could not locate compile command for /path/to/Foobar.swift
(Injection does not work with Whole Module Optimization.
There are also restrictions on characters allowed in paths.
All paths are also case sensitive is another thing to check.) ***

Resolution: run in Xcode after adding file (editing isn't necessary). Afterwards, running in AppCode and editing will work.

I guess it has something to do with DerivedData being out of sync?

@johnno1962
Copy link
Owner

You’ll need to rebuild in Xcode after adding to the to update the Xcode logs which Injection uses.

zenangst pushed a commit that referenced this issue Mar 1, 2020
* Add AppCode support (fixes #147, #49)

* Minor change for Xcode 11.4 beta 1

Co-authored-by: yeswolf <yeswolf@gmail.com>
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

2 participants