-
Notifications
You must be signed in to change notification settings - Fork 414
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
update CocoaPods gem to 1.0 #569
Conversation
I appreciate the sentiment @orta, but 😞
|
@jpsim that now needs to go in the podfile as |
Sorry Sam, I can't seem to get this to work. Here's what I've tried: diff --git a/lib/jazzy/podspec_documenter.rb b/lib/jazzy/podspec_documenter.rb
index fc75c60..d918175 100644
--- a/lib/jazzy/podspec_documenter.rb
+++ b/lib/jazzy/podspec_documenter.rb
@@ -11,7 +11,12 @@ module Jazzy
def sourcekitten_output
sandbox = Pod::Sandbox.new(pod_config.sandbox_root)
+
installer = Pod::Installer.new(sandbox, podfile)
+ installer.installation_options.integrate_targets = false
+ installer.installation_options.deduplicate_targets = false
+ installer.installation_options.deterministic_uuids = false
+
installer.install!
stdout = Dir.chdir(sandbox.root) do
pod_targets.map do |t|
@@ -88,9 +93,6 @@ module Jazzy
Pod::Config.instance.tap do |c|
c.installation_root = Pathname(Dir.mktmpdir)
c.installation_root.rmtree if c.installation_root.exist?
- c.integrate_targets = false
- c.deduplicate_targets = false
- c.deterministic_uuids = false
end
end diff --git a/lib/jazzy/podspec_documenter.rb b/lib/jazzy/podspec_documenter.rb
index fc75c60..1d3466f 100644
--- a/lib/jazzy/podspec_documenter.rb
+++ b/lib/jazzy/podspec_documenter.rb
@@ -88,9 +88,6 @@ module Jazzy
Pod::Config.instance.tap do |c|
c.installation_root = Pathname(Dir.mktmpdir)
c.installation_root.rmtree if c.installation_root.exist?
- c.integrate_targets = false
- c.deduplicate_targets = false
- c.deterministic_uuids = false
end
end
@@ -124,6 +121,9 @@ module Jazzy
end
end
end
+ install! 'cocoapods', integrate_targets: false,
+ deduplicate_targets: false,
+ deterministic_uuids: false
end
end
end In both those cases, I get this execution output:
and it would appear the workspace is never actually generated:
Do you have any thoughts on what I might be doing wrong? |
Right, no workspace should be generated there |
I can try and get this working as soon as I get my laptop back from Apple |
Apple maketh. Apple taketh away. |
@jpsim done |
You can find it at CHANGELOG.md.
Generated by 🚫 danger |
Many many thanks, Sam! That change was more involved than I thought! 😬 CI failure is due to the |
Closes #568