You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to add source (class & header) with specific path ? #33
Activity
jasperblues commentedon Feb 12, 2014
I think not currently, though it should be very simple to support.
iziz commentedon Feb 12, 2014
I was edited in XCGroup
But fail in XCTarget addMember (invalid path)
Could you give me some help ?
jasperblues commentedon Feb 12, 2014
There's a different flag for relative vs absolute file paths.
iziz commentedon Feb 12, 2014
Ah, I did not want to add with absolute path. (sorry didn't mentioned that before)
I tried to add with relative path.
Anyways, Thank for your answer.
jasperblues commentedon Feb 12, 2014
Did you try running all of the tests? There's a sample project that gets unpacked into /tmp
You can observe the updates there by opening that project in Xcode.
iziz commentedon Feb 13, 2014
Yes. I think it need support for
or
or
instead of
in
jasperblues commentedon May 2, 2014
Its possible to add the source with a specific path, if you create groups as needed as you go. Will this work for you?
iziz commentedon May 21, 2014
Sorry for late ACK
I'm using below with edited XCGroup file
XCGroup.h
XCGroup.m
jasperblues commentedon May 21, 2014
You mean its working OK for you now?
What is the edit? Something you went merged into the main XcodeEditor branch?
iziz commentedon May 21, 2014
Yep! OK
I will create merge request~
jasperblues commentedon May 21, 2014
Ok, glad to hear it's working for you now.
abhisheksaatal commentedon Jul 1, 2016
Hi iziz/jasper,
I am not able to find this api with the parameter withPath,
is it available in some other branch?
[group addSourceFile:newSourceFile withPath:TARGET_NAME];