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

Unable to Install RxSwift on xcode 8 and swift 3.0 #898

Closed
learnwithgabbar opened this issue Sep 19, 2016 · 8 comments
Closed

Unable to Install RxSwift on xcode 8 and swift 3.0 #898

learnwithgabbar opened this issue Sep 19, 2016 · 8 comments

Comments

@learnwithgabbar
Copy link

Due to the previous naïve CocoaPods resolver, you were using a pre-release version of RxCocoa, without explicitly asking for a pre-release version, which now leads to a conflict. Please decide to either use that pre-release version by adding the version requirement to your Podfile (e.g. pod 'RxCocoa', '= 3.0.0-beta.1') or revert to a stable version by running pod update RxCocoa.

@dasoga
Copy link

dasoga commented Sep 20, 2016

Hey @techmehra I complied my project:

I just add this to my Podfile

pod 'RxSwift',    '~> 3.0.0-beta.1'
pod 'RxCocoa',    '~> 3.0.0-beta.1'
pod 'RxDataSources', '~> 1.0.0-beta.2'

I hope can help u.

@learnwithgabbar
Copy link
Author

@dasoga I have already done this

@kzaher
Copy link
Member

kzaher commented Sep 24, 2016

sudo gem install cocoapods --pre

@learnwithgabbar
Copy link
Author

done all thing
I am using cocoapods version 1.1.0 rc 2

@kzaher
Copy link
Member

kzaher commented Sep 29, 2016

Hi @techmehra ,

then I would suggest cleaning all caches and trying on some other computer. It seems that this could be some local cache issue.

@kzaher
Copy link
Member

kzaher commented Oct 1, 2016

I guess the gist would be:

  • make sure you have CocoaPods 1.1.0.rc.2 sudo gem install cocoapods --pre
  • make sure you've clean all of your caches (DerivedData, .cocoapods)

If that doesn't work, maybe some other pod is causing issues by specifying exact version, I would suggest:

  • using fixed version
pod 'RxSwift',    '3.0.0-beta.1'
pod 'RxCocoa',    '3.0.0-beta.1'
pod 'RxDataSources', '1.0.0-beta.2'

if that doesn't work, try using master branch directly

pod 'RxSwift',  :git => 'git@github.com:ReactiveX/RxSwift.git', :branch => 'master'
pod 'RxCocoa',   :git => 'git@github.com:ReactiveX/RxSwift.git', :branch => 'master'
pod 'RxDataSources', :git => 'git@github.com:ReactiveX/RxSwift.git', :branch => 'master'

Other then that, have no idea what could be wrong.

@kzaher
Copy link
Member

kzaher commented Oct 22, 2016

Not sure what to do with this one. We've pushed some fix to master branch that could have fixed this.

#949

@kzaher kzaher closed this as completed Oct 22, 2016
@SaraBasemAwad
Copy link

SaraBasemAwad commented Feb 17, 2017

I am trying to configure RXSwift using pods

  • pods version : 1.1.1
  • xcode version: 8.1
    I used the below to do so:

use_frameworks!

target 'YOUR_TARGET_NAME' do
pod 'RxSwift', '3.0'
pod 'RxCocoa', '3.0'

target 'YOUR_TARGET_NAME' do
inherit! :search_paths
# Pods for testing
end

end

The following error has occurred:
[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master.
You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

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

No branches or pull requests

4 participants