-
Notifications
You must be signed in to change notification settings - Fork 498
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
Example app cannot run. #261
Comments
I hit the same issue a couple of days ago. |
How can I set the cl setting to the release version? |
xcode --> preferences --> locations --> command line tools: select the xcode 10 release version |
This is a bit different from the problem, but I could not run the example file either. seonghoui-MacBookPro:RxDataSources seongho$ ls
CHANGELOG.md LICENSE.md RxDataSources.podspec
Cartfile Package.resolved RxDataSources.xcodeproj
Cartfile.resolved Package.swift Sources
Differentiator.podspec Podfile Tests
Examples README.md
seonghoui-MacBookPro:RxDataSources seongho$ pod install
Analyzing dependencies
[!] Unable to find a target named `Example`, did find `RxDataSources`, `Differentiator`, and `Tests`.
seonghoui-MacBookPro:RxDataSources seongho$ |
I've forgot to remote the Podfile. We are using git submodules now. Supporting multiple integration methods took too much time. |
You need to run |
@kzaher hi, thank you for your comment. seonghoui-MacBookPro:dev seongho$ cd /Users/seongho/Documents/dev/RxDataSources/Examples
seonghoui-MacBookPro:Examples seongho$ /Users/seongho/Documents/dev/RxDataSources/Examples/dependencies.sh
Submodule path 'RxSwift': checked out 'd158e7700655114e990313948d2de561d50e1115'
HEAD is now at e8aa1d89 Release 4.4.0 Here is the project file https://drive.google.com/file/d/11mv22zSYxNlIlSulAgCFSw8VL4aqfavC/view?usp=sharing. @lm2343635 hello, I also tried seonghoui-MacBookPro:RxDataSources seongho$ cd Examples/
seonghoui-MacBookPro:Examples seongho$ pod install
[in /Users/seongho/Documents/dev/RxDataSources]
Analyzing dependencies
[!] Unable to find a target named `Example`, did find `RxDataSources`, `Differentiator`, and `Tests`. |
|
@lm2343635 I've changed the current folder location, but the result is the same. seonghoui-MacBookPro:Example seongho$ cd /Users/seongho/Documents/dev/RxDataSources/Examples/Example
seonghoui-MacBookPro:Example seongho$ pod install
[in /Users/seongho/Documents/dev/RxDataSources]
Analyzing dependencies
[!] Unable to find a target named `Example`, did find `RxDataSources`, `Differentiator`, and `Tests`. First of all, as mentioned #261 (comment), the Podfile has been removed based on the current master branch. f54c744 |
Run |
$ carthage update --platform iOS
*** Fetching RxSwift
*** Checking out RxSwift at "4.4.0"
*** xcodebuild output can be found in /var/folders/8t/bj9zpqgd73s3tcsmmrcvzf700000gn/T/carthage-xcodebuild.iGhvH2.log
*** Downloading RxSwift.framework binary at "Atomic" @lm2343635 thank you for your help. but it also doesn't work. Have you tested on your current master branch? |
Try to move the RxDataSources.xcodeproj to your project. |
@lm2343635 Where do I have to move RxDataSources.xcodeproj file? @kzaher If a client need to install Carthage and move the files into the example files, I think we need to provide a guide document or change the structure. |
Open Finder and drop it into your Xcode. |
If you checked the project with git, run
|
After deleting all the files and cloning again, I went to the example file and ran the dependencies.sh file so that I could build it. Thank you. /Users/user/Documents/Code/RxDataSources/Examples/dependencies.sh |
As of today, when i clone the project, I don't see any dependencies.sh. The same error keeps showing. No such module RXSwift. Plus there is no podfile to run a pod install!! |
@AjinkyaSharma, looks like the example is using carthage. Just run
at the root of the project (where the |
You will also likely need to change minimum versions of deployment targets to get it to run |
This should be the accepted answer as it is working and it should be closed. |
It would be helpful if the README included instructions on how to run the example in Xcode 14.1.
|
I have downloaded the repository with git clone and installed the dependencies with Carthage update.

When I tried to run the Example, I found that there is no Rx.xcodeproj (it is red).
I moved the RxDataSources.xcodeproj behind the Rx.xcodeproj and the demo app was launched.
However, the demo was crashed.
The text was updated successfully, but these errors were encountered: