QuickBirdEng / XCoordinator

🎌 Powerful navigation library for iOS based on the coordinator pattern
MIT License
2.24k stars 176 forks source link

Carthage Installation (RxSwift Error) #180

Open AdautoP opened 4 years ago

AdautoP commented 4 years ago

im getting this error when running carthage update

Screen Shot 2020-06-26 at 11 13 40

also here is the log

error: Build input file cannot be found: '/Users/adauto.pinheiro/Desktop/CodeSample/Carthage/Checkouts/XCoordinator/.build/checkouts/RxSwift/Sources/RxSwift/String+Rx.swift' (in target 'RxSwift' from project 'XCoordinator')

** ARCHIVE FAILED **

The following build commands failed:
    CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(1 failure)

It's my first time trying to use Carthage, so i don't have a lot of knowledge of what's happening.

pauljohanneskraft commented 4 years ago

Unfortunately, you will need to specify the platform to build for as iOS, i.e. running carthage update --platform iOS and sometimes building fails randomly due to the random order of targets to build - I sadly could not resolve these two issues yet, since I'm not too familiar with Carthage myself. Please let me know if this resolves your issue - thanks!

AdautoP commented 4 years ago

Unfortunately, you will need to specify the platform to build for as iOS, i.e. running carthage update --platform iOS and sometimes building fails randomly due to the random order of targets to build - I sadly could not resolve these two issues yet, since I'm not too familiar with Carthage myself. Please let me know if this resolves your issue - thanks!

I tried, did not work. Seems to exist an open PR fixing this issue: Fix