-
Notifications
You must be signed in to change notification settings - Fork 50
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
CocoaPods 0.17 #50
CocoaPods 0.17 #50
Conversation
❤️ Very nice, thanks! @siuying When you have a chance, would you mind running this against one of your apps? |
I having problem building a project:
Usually if i done above I would have build successfully, but this time they just would not build the pods part, as if cocoapod do not exists. |
@siuying Can you share your Pods config from your Rakefile? |
To be exact, the problem is: when a build failure occurred, even I To reproduce the issue:
Expected result
Actual result
Gemfilesource "http://rubygems.org"
gem "motion-cocoapods", :git => "https://github.com/irrationalfab/motion-cocoapods.git", :ref => "bd3b0ea1449f0d144b0d314c4078502ee0edb0fd"
gem "cocoapods", '0.17.0.rc5' Rakefile# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
require 'bundler'
Bundler.require
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'test'
app.pods do
pod 'QuickDialog'
# pod 'QuickDialog' , :head
end
end |
@siuying Great, thanks for the description! |
@siuying is the issue only related to building the Pods library? In other, words, is CocoaPods performing an installation before point |
it seems not:
|
The patch was vendoring the Pods project only during installation. @siuying Can you try with the last commit? |
Now the pod will always link, but it seems it never update. Even I remove the vendor/Pods/QuickDialog folder and while vendor/build* folders, it never fetch the repo again. I will have to remove whole vendor/Pods folder.
|
@siuying We've just pushed another fix to CocoaPods: CocoaPods/CocoaPods@a5b8aca. Can you double-check the fix? |
I have pushed the patches to a branch https://github.com/HipByte/motion-cocoapods/tree/CocoaPods-0.17. I wanted to run the tests, but my out-of-date RubyMotion is incompatible. If someone can run them, please do. |
Ok, I have merged the changes and pushed a 1.3.0.rc1 gem. Please re-open if these issues persist. |
This patch performs the following changes
I've not tested an actual installation.
@alloy, @lrz