Instagram / IGListKit

A data-driven UICollectionView framework for building fast and flexible lists.
https://instagram.github.io/IGListKit/
MIT License
12.84k stars 1.54k forks source link

setup error for examples #1505

Open loilee opened 3 years ago

loilee commented 3 years ago

When running ./scripts/setup.sh , I get the error below: XCode 12.3

_The domain/default pair of (/Users/loileebooztolentino/Downloads/IGListKit-master/Source/Info, CFBundleShortVersionString) does not exist [!] The IGListDiffKit pod failed to validate due to 1 error:

X-man-rascal commented 3 years ago

Xcode 12.4 same error

tamarous commented 3 years ago

Modify scripts/version.sh will work. @loilee @X-man-rascal

#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

cd "$(dirname "$(dirname "$0")")" || exit 1

exec /usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$(pwd)/Source/Info.plist"