Hello,
I'm trying to compile the example apps following this guide: https://instagram.github.io/IGListKit/
I download the current IGListKit version, then I run "./scripts/setup.sh" but I see this error:
Setting up example projects...
Setting up iOS examples...
Analyzing dependencies
2020-01-19 14:46:39.693 defaults[10716:3505260]
The domain/default pair of (/Users/ricardo/Downloads/IGListKit-master/Source/Info, CFBundleShortVersionString) does not exist
[!] The `IGListDiffKit` pod failed to validate due to 1 error:
- ERROR | version: A version is required.
Any advice? What should I do to compile the iOS example app?
Thanks a lot.
README and documentationIGListKit version: 4.0.0I encountered the same problem. This may be caused by the MAC OS 10.15 shell.
I'm not familiar with shell, I just used a little trick to solve this problem. After all, just run the demo, there is no need to spend too much time.
Just modify the IGListDiffKit.podspec 銆両GListKit.podspec銆両GListSwiftKit.podspec files
s.version = scripts/version.sh to s.version = '4.1.0'

Just to highlight here. Fixed in this commit https://github.com/Instagram/IGListKit/pull/1423/commits/9253d54cc639759f6a7fc52fded80a95bac03c29
Thanks for surfacing this @JackieQi !
+1 definitely a demo project should take less than a minute to run.
I see your PR was closed @damozhang, did you open a new one that complies to the repo's conventions?
To me, the master branch still creates this issue... Paging @JackieQi as well?
This issue is reproducible on macOS 11.1 / 11.2, @JackieQi 's patch does fix it.
Most helpful comment
I encountered the same problem. This may be caused by the MAC OS 10.15 shell.
I'm not familiar with shell, I just used a little trick to solve this problem. After all, just run the demo, there is no need to spend too much time.
Just modify the IGListDiffKit.podspec 銆両GListKit.podspec銆両GListSwiftKit.podspec files
s.version = scripts/version.sh to s.version = '4.1.0'