-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
demo can not run #2227
Comments
just read README, install Realm, and recompile |
@liuxuan30 thanks for your reply, I already follow README, but I also get maybe I did something wrong, would you mind provide some suggestion for me? thanks for your time. |
it can't be... you sure you downloaded and installed Realm? Can you see ChartsRealm files? |
@liuxuan30 thanks for your patience, I ensure execute I think I finish all step from README, and I don't know how to fix the dependency of |
hmm.. Do you install Realm Swift? I am not sure either. However I used to run carthage bootstrap to install. Never tried check out. But it should install RealmSwift for you.. |
@liuxuan30 thanks again for your reply :) I ensure that then I drag them to Embedded Binaries without copy if needed I clean and compile project again, but also encounter 2 not found error like below image show. I'm not ensure that I'm on right workflow to build, but how should I fix it? regards. |
I think the issue because "Incompatible Swift version - framework was built with 3.0.1 and the local version is 3.0.2.", so the build script can't find the swift file in the build folder of carthage. How to fix it for me ? I opened the Cartfile and Cartfile.resolved files, change 2.1.1 to 2.4.4 , then carthage checkout again, it works for me. tip: |
@petester42 do you think we could delete Cartfile.resolved to let Carthage generate it up to date? Seeing Cartfile.private, Cartfile etc. |
That's an option. I'll look into it when I have time. |
@L-Jovi I've encountered the same problem. I'm just going to install the CocoaPod and look at the code in the demo project. I wish it were easier to run the demo project without having to jump through a bunch of installation hoops. Once I installed Carthage, I ran into a bunch of Realm warnings. |
@AdrianBinDC Carthage is a bit different with CocoaPod, the latter more automatic. if you encounter the same issue, I suggest that you could notice the solution from @elanpang , although I also failed :( |
seems like ignoring the cartfile.resolved is not a great idea. #2199 should fix demo issues. if not then clean the project and try again |
hi, I download the new project, but demo can not run...“No such module 'RealmSwift'”.what's problem? |
@lidaren read README |
@liuxuan30 thanks, Due to the error:Incompatible Swift version |
I follow this issue and finish carthage step, but I also encounter below error as image show.
how should I fix it?
thanks for your time.
The text was updated successfully, but these errors were encountered: