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

pod install fail with message "CocoaPods could not find compatible versions for pod RxNimble/RxTest" #37

Closed
acevif opened this issue Nov 7, 2018 · 9 comments

Comments

@acevif
Copy link

acevif commented Nov 7, 2018

Hi.
Thanks for creating the nice library.

I'm in trouble now with pod install.

After adding a line pod 'RxNimble/RxTest' to Podfile, pod install fails with an error below:

[!] CocoaPods could not find compatible versions for pod "RxNimble/RxTest":
In Podfile:
RxNimble/RxTest

None of your spec sources contain a spec satisfying the dependency: RxNimble/RxTest.

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.
❌️ ERROR 31

How can I fix it?

Thanks in advance.

@fernandocruz
Copy link

Same here :/

@gobetti
Copy link
Contributor

gobetti commented Nov 7, 2018

Looks like the last available version in the CocoaPods master repo is still 4.2.0: https://cocoapods.org/pods/RxNimble

@ashfurrow or anyone, how have you been managing pod trunk push? Could someone please push 4.4.0? Thanks!

@acevif @fernandocruz until then you can install the pod by manually referencing the repository:
pod 'RxNimble/RxTest', :git => 'https://github.com/RxSwiftCommunity/RxNimble.git'

@ashfurrow
Copy link
Member

Ah, yeah 4.4.0 was never related. I'll do that now.

@ashfurrow
Copy link
Member

I tried pushing this but it failed to compile. @gobetti I made this change to fix it: a4d5f90 Looks like we were only using that one struct, so I just copied it. I'll let you know how the new push goes.

@ashfurrow
Copy link
Member

Okay, I can't get this to pass. Can someone else try running this on their machine?

pod lib lint --allow-warnings

I keep getting this error:

 -> RxNimble (4.4.0)
    - ERROR | [RxNimble/Core,RxNimble/RxBlocking] xcodebuild: Returned an unsuccessful exit code.
    - NOTE  | [RxNimble/Core, RxNimble/RxBlocking, RxNimble/RxTest, and more...] xcodebuild:  note: Using new build system
    - NOTE  | [RxNimble/Core, RxNimble/RxBlocking, RxNimble/RxTest, and more...] xcodebuild:  note: Planning build
    - NOTE  | [RxNimble/Core, RxNimble/RxBlocking, RxNimble/RxTest, and more...] xcodebuild:  note: Constructing build description
    - NOTE  | [RxNimble/Core, RxNimble/RxBlocking, RxNimble/RxTest, and more...] xcodebuild:  warning: Skipping code signing because the target does not have an Info.plist file. (in target 'App')
    - NOTE  | [iOS] xcodebuild:  error:
    - NOTE  | [tvOS] xcodebuild:  clang: error:
    - NOTE  | [RxNimble/Core,RxNimble/RxBlocking] xcodebuild:  clang: error: linker command failed with exit code 1 (use -v to see invocation)
    - NOTE  | [RxNimble/Core,RxNimble/RxBlocking] xcodebuild:  error: linker command failed with exit code 1 (use -v to see invocation)

@gobetti
Copy link
Contributor

gobetti commented Nov 7, 2018

ah sorry for that @testable thing, it built fine for me and also when building with Carthage in the carthage PR :/

I can check this tomorrow, but just for sanity check, pod lib lint is fine in your machine if you try it at the 4.3.0 tag? (that version happens to be unreleased as well)

@ashfurrow
Copy link
Member

No worries! Okay, looks like something was up, but I fixed the linker error but explicitly requiring XCTest. Not sure how this was working before, but it's working now! I've released 4.4.0 to CocoaPods, let me know how it goes 👍

@ashfurrow
Copy link
Member

The commit is here btw: bb17e40

@acevif
Copy link
Author

acevif commented Nov 8, 2018

Thanks, @ashfurrow @gobetti!
Now pod install succeeds for me!
I close this issue now.
Thanks a lot.

@fernandocruz Please reopen this issue in case it doesn't work fine for you.

@acevif acevif closed this as completed Nov 8, 2018
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