Reputation: 321
I'm interested on Running this GitHub repository of an iOS Application: https://github.com/septadev/SEPTA-iOS I opened the iSEPTA.xcodeproj file on XCode from the iSEPTA folder, but I'm getting these Buildtime Errors. For example: No such module 'ReSwift', and this is the window I get prompted when I select any of the yellow alerts, I'm not sure if I should perform these changes, yet.
Could it be some incomparability with my XCode and Swift versions? Please, help!!
Upvotes: 0
Views: 1928
Reputation: 3074
This would be the correct solution if the project used Cocoapods. Since it uses Carthage, look to others answers unless you are referencing this answer to a similar issue.
You need to use Cocoapods to integrate the pods attached to the project. Often times projects will not come with them precompiled. Either you opened the blue project file with the *.xcodeproj extension instead of the white project file with the *.xcworkspace extension.... or you don't have the pods installed at all. In which case read below.
Instructions as follows:
sudo gem install cocoapods
pod repo update
pod install
After those steps are complete, the project should run normally.
Upvotes: -1
Reputation: 1731
This repository requires Carthage ( https://github.com/Carthage/Carthage ) - this is a dependency manager. You can install it using Homebrew (https://brew.sh/)
brew install carthage
then you have to run carthageBuild.sh
script (which runs carthage update
):
./carthageBuild.sh
and then you have to open: Septa.xcworkspace
file
Upvotes: 0
Reputation: 5266
Take a look at Cartfile
: it indicates this repo is using Carthage package manager. Follow their instructions to install dependent libraries
Upvotes: 1
Reputation: 41
This project uses Carthage as a dependency management system for using external dependencies.
You should install Carthage to your computer and then run carthage update
from the terminal in the root directory of the project. This will instal the dependencies and will allow you to run the project.
Upvotes: 1