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

Lots of Errors When Trying to Use This Project #14

Open
JimLynchCodes opened this issue Mar 2, 2020 · 4 comments
Open

Lots of Errors When Trying to Use This Project #14

JimLynchCodes opened this issue Mar 2, 2020 · 4 comments

Comments

@JimLynchCodes
Copy link

Hi, I tried following in the guide in the README, but I'm getting lots of errors.

Here's what I did:

  1. cloned the repo

  2. ran the carthage command: carthage update --no-build && carthage checkout

console output:

*** Fetching ReSwift-Router
*** Fetching ReSwift
*** Checking out ReSwift-Router at "5231c3e645317c32977b8514aeee6f6f8e3aa16e"
*** Checking out ReSwift at "e623331b63cd0b65e04cdb7a031fc42a41e5f558"
*** Checking out ReSwift-Router at "5231c3e645317c32977b8514aeee6f6f8e3aa16e"
*** Checking out ReSwift at "e623331b63cd0b65e04cdb7a031fc42a41e5f558"

When I open the project in xcode and hit the play button though I get 15 errors:
build time output:

ReSwiftRouter project Group
Validate Project Settings Group
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/Carthage/Checkouts/ReSwift-Router/ReSwiftRouter.xcodeproj Update to recommended settings
SwiftLintIntegration Group
Target Integrity Group
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/Carthage/Checkouts/ReSwift/ReSwift.xcodeproj The file “Pods-SwiftLintIntegration.debug.xcconfig” couldn’t be opened because there is no such file. (/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/Carthage/Checkouts/ReSwift/Pods/Target Support Files/Pods-SwiftLintIntegration/Pods-SwiftLintIntegration.debug.xcconfig)
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/Carthage/Checkouts/ReSwift/ReSwift.xcodeproj The file “Pods-SwiftLintIntegration.release.xcconfig” couldn’t be opened because there is no such file. (/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/Carthage/Checkouts/ReSwift/Pods/Target Support Files/Pods-SwiftLintIntegration/Pods-SwiftLintIntegration.release.xcconfig)
ReSwiftRouter-iOS Group
Warning Group
Directory not found for option '-F/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/Carthage/Checkouts/ReSwift-Router/Carthage/Build/iOS'
ReSwiftCounterExample Group
Warning Group
Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the ReSwiftCounterExample editor.
Swift Compiler Error Group
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/ViewControllers/StatsViewController.swift:19:55: Use of undeclared type 'RouteElementIdentifier'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/ViewControllers/StatsViewController.swift:21:38: Use of undeclared type 'RoutingCompletionHandler'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/ViewControllers/StatsViewController.swift:32:40: Use of undeclared type 'RouteElementIdentifier'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/ViewControllers/StatsViewController.swift:34:38: Use of undeclared type 'RoutingCompletionHandler'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:58:35: Use of undeclared type 'RouteElementIdentifier'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:60:38: Use of undeclared type 'RoutingCompletionHandler'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:67:35: Use of undeclared type 'RouteElementIdentifier'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:69:38: Use of undeclared type 'RoutingCompletionHandler'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:97:51: Use of undeclared type 'RouteElementIdentifier'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:98:13: Use of undeclared type 'RouteElementIdentifier'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:100:38: Use of undeclared type 'RoutingCompletionHandler'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:115:35: Use of undeclared type 'RouteElementIdentifier'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:117:38: Use of undeclared type 'RoutingCompletionHandler'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:131:61: Use of undeclared type 'RouteElementIdentifier'
/Users/jim/Git-Projects/CounterExample-Navigation-TimeTravel/ReSwiftCounterExample/AppDelegate.swift:133:38: Use of undeclared type 'RoutingCompletionHandler'

Are there any other commands I need to run?

Thanks! ❤️

@hejtom
Copy link

hejtom commented Mar 28, 2020

They are changed to as RoutingCompletion, RouteElement respectively.

@JimLynchCodes
Copy link
Author

Thanks @hejtom, but I'm not understanding your comment. what are you suggesting I do to get it working?

@ursasoft
Copy link

use

github "ReSwift/ReSwift" ~> 5.0.0
github "ReSwift/ReSwift-Router" ~> 0.7.1

in Cartfile

@DivineDominion
Copy link
Contributor

Anyone who got this working: PR's would be very welcome :)

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