davecom / SwiftGraph

A Graph Data Structure in Pure Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trouble Pushing 1.1.0 to CocoaPods

davecom opened this issue · comments

CocoaPods 1.0.1 with Xcode 8 Beta 3 seems to be rebasing the git repository for some bizarre reason:

Davids-Air:swiftgraph dave$ pod trunk push SwiftGraph.podspec
Updating spec repo `master`

CocoaPods 1.1.0.beta.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.1.0.beta.1

Validating podspec
 -> SwiftGraph (1.1.0)
    - ERROR | [iOS] unknown: Encountered an unknown error (Must be in the root of the repo (/Users/dave/.cocoapods/repos/master), instead in /Users/dave/Documents/Projects/SwiftGraph.) during validation.

[!] The spec did not pass validation, due to 1 error.

@davecom I think this may be caused by a cocoapods bug where pod repo update changes your git remote for the repository.

Try git remote -v and removing the cocoapods specs repo as a remote if it exists (git remote remove)

@peterjenkins Thanks for the insight! I'll try this as well as using the latest CocoaPods (1.1.0 RC 2).

SwiftGraph 1.1.1 should now be live on CocoaPods.