-
Notifications
You must be signed in to change notification settings - Fork 196
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
PiranhaObjC : Unclear usage documentation #50
Comments
Unlike PiranhaJava and PiranhaSwift, PiranhaObjC properties are hardcoded currently. See the TODO here. The implementation has to be updated. Once #39 lands, we can take this up. Filed #51.
To optimize analysis time, I recommend doing a |
@mkr-plse Thanks for the response. I have another query actually :
But I get this error when running it :
Is there something else that needs to be run/installed to get started? Update : I tried using ./generate-piranha-artifact.sh, but get the following error (including complete log) :
|
|
Hi @mkr-plse Thanks a lot. FYI, I was able to setup Piranha on a different machine without the above error. Will the tool be able to parse iOS objC project files, with their imports spread across multiple packages/folders also? When trying out the tool on my project, and getting error :
TestHeader.h is present in a different folder. |
I don't think that should affect the refactoring. Can you do two things:
If both the steps above are successful and if the code in your codebase ( Also, feel free to message in the gitter channel to discuss any intermittent issues. |
@mkr-plse Thanks for the suggestions.
The issue is when I run it against my project file, the command fails with an error saying the header file is not found (as mentioned in the above comment). Is this a known issue? Please let me know. Thanks again! Will use the gitter channel for any further doubts. |
@Samhithgb Confirming that I am able to reproduce this problem. By adding a random "TestHeader.h" in one of the test files, I get a
I will see what can be done to address this. |
As a temporary fix, you can add the following to the The correct fix will be to call |
Hey @mkr-plse, thanks for your quick response. Adding header file path to the script maynot be a feasible option since we are planning to have an automated flow for this. Sure, will be waiting for the above issue resolution then. Thanks. |
@Samhithgb Once #67 is merged, can you verify whether you are able to run the refactoring. |
@mkr-plse, I am unfortunately still facing this issue after taking in the recent changes. The error message is :
Does the current fix also consider missing header files inside another header file? Please let me know if there is any workaround I can follow to avoid this. |
There seems to be a few things missing in Objective C documentation, like :
The text was updated successfully, but these errors were encountered: