-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add option to add plist to target or not #43
base: master
Are you sure you want to change the base?
Conversation
👍 Looks good, yeah, can you please add some tests and a CHANGELOG, then this is good to go - thanks! |
Hi, when I was doing local tests for my own project, I found that the new
When I am using the 6469aeb (tag 1.1.2), I got:
When I am using the eadb277 commit, I got:
I got no file or folder error:
My guess is that cocoapods's working folder is the root |
@orta Could you please merge this pull request? |
I wasn't sure if @JustinFincher was finished with it? happy to do so if he is |
The basic functionality is done. but I haven’t done the tests and changelog part because late on I abandoned my project 🤣. |
@orta Hi, can you give me some examples about how to test this plugin? Because I found the repo seems doesn't have test files or patterns for me to follow. Should I provide a sample iOS project? |
I assume that I used to run it against my iOS projects, the no-tests is a shame yeah - you're welcome to add an example iOS app to work against |
I just gave this branch a go on our project when master was failing to add the plist files with the correct path to the Xcode project and this fixed our issues 👍 Maybe that is the testing you were needing? |
Sorry I spoke too soon :( It appeared to fix the issue but after cleaning things up and running fresh I still had the same issues |
I just proposed #65, which does something similar (makes project integration optional) by handling the installer's If it's accepted, my change could further be extended with a plugin-level option to explicitly enable this behavior, which would match this PR, although the implicit behavior might be enough to handle most cases on its own. |
When I uses this plugin, I encountered a situation where the plist bundled in settings.bundle is better not added to target’s
Copy Bundle Resources
process.So I made some changes to
lib/cocoapods_acknowledgements.rb
, and by settings:settings_bundle => true, :add_to_target => false
, plist will not be automatically added toCopy Bundle Resources
process.