orta / cocoapods-keys

A key value store for storing per-developer environment and application keys
MIT License
1.55k stars 92 forks source link

MyprojectxcodeprojKeys.h vs MyprojectKeys.h being generated #151

Open JonnyLinja opened 8 years ago

JonnyLinja commented 8 years ago

On one setup, pod keys set InstabugKey foobar MyProject results in MyprojectKeys.h being generated. This is correct.

On another setup, pod keys set InstabugKey foobar MyProject results in MyprojectxcodeprojKeys.h being generated. This is incorrect and prevents the project from being built off the same codebase.

How do I resolve this? Thanks!

orta commented 8 years ago

No idea, maybe try add the :targetoption

JonnyLinja commented 8 years ago

The target is already there. :(

I don't think it's an issue on pod install though. I think it's an issue on pod keys set InstabugKey foobar MyProject because the output of that is different.

It's the difference between Saved InstabugKey to MyProject. and Saved InstabugKey to MyProject.xcodeproj.

Is there a verbose command or such that I can use to figure it out?

tkuichooseyou commented 7 years ago

Found out that the issue was that the .yml file already existed with the wrong project name, and needed to be manually deleted so that the .yml file would be generated again with the correct project name.