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 workspace schemes doesn't match the result of xcodebuild -list -workspace #869

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dongdonggaui
Copy link

No description provided.

@dongdonggaui dongdonggaui changed the title Fix workspace schemes doesn't match the result of xcodebuild -list -workspace #797 Fix workspace schemes doesn't match the result of xcodebuild -list -workspace Dec 31, 2021
@dongdonggaui
Copy link
Author

fix #797

@dongdonggaui dongdonggaui mentioned this pull request Apr 7, 2022
@dnkoutso
Copy link
Contributor

dnkoutso commented Apr 7, 2022

@dongdonggaui can you please add a test case? thank you!

@dongdonggaui
Copy link
Author

@dnkoutso got it,thanks for the reply

@dnkoutso
Copy link
Contributor

ping @dongdonggaui if possible please add a test

@@ -82,6 +82,14 @@ def self.new_from_xcworkspace(path)
def self.from_s(xml, workspace_path = '')
document = REXML::Document.new(xml)
instance = new(document)
# Load projects reference in "Pods/" if needed
pods_path = "#{File.expand_path("..", workspace_path)}/Pods"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this project doesnt know about "Pods". This fix might be better in CocoaPods gem instead.

@kaporn1990
Copy link

sudo gem install cocoapods

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.

3 participants