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

Fix Swift code completion for Development Pods #4106

Merged
merged 6 commits into from
Nov 15, 2015

Conversation

segiddins
Copy link
Member

Closes #3777.

  • CHANGELOG
  • Tests
    • Add unit test
    • Fix existing specs

@neonichu neonichu self-assigned this Aug 30, 2015
@segiddins
Copy link
Member Author

@neonichu ping on this?

@segiddins
Copy link
Member Author

Actually, I'm not sure we can safely do this, as won't this make all the added paths absolute instead of relative? Can you double check?

@neonichu
Copy link
Member

Will do.

@segiddins
Copy link
Member Author

Scratch my previous comment, this should work

@segiddins
Copy link
Member Author

@neonichu ping on this?

@neonichu neonichu force-pushed the use-realpath-for-development-pods branch from acde0c3 to ca62bcd Compare November 15, 2015 21:31
neonichu added a commit that referenced this pull request Nov 15, 2015
@segiddins
Copy link
Member Author

👍

@neonichu neonichu force-pushed the use-realpath-for-development-pods branch from ca62bcd to 67e4aca Compare November 15, 2015 21:57
@@ -179,13 +179,13 @@ def pod_support_files_group(pod_name, dir)
# @return [PBXFileReference] The new file reference.
#
def add_file_reference(absolute_path, group, reflect_file_system_structure = false)
file_path_name = Pathname.new(absolute_path)
file_path_name = absolute_path.is_a?(Pathname) ? absolute_path : Pathname.new(absolute_path)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this change necessary?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really, but it made stubbing things on a specific Pathname instance possible :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha 👍

segiddins added a commit that referenced this pull request Nov 15, 2015
…pods

Fix Swift code completion for Development Pods
@segiddins segiddins merged commit dfd3ed6 into master Nov 15, 2015
@segiddins segiddins deleted the use-realpath-for-development-pods branch November 15, 2015 22:19
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

Successfully merging this pull request may close these issues.

2 participants