Found a bug when using MKStoreKit as a pod in the project. When for any reason the script tries to remove StoreKit.framework, it does so by looking for a line containing "StoreKit.framework". This will result in finding the line with MKStoreKit.framework as well.
install_framework "${BUILT_PRODUCTS_DIR}/MKStoreKit/MKStoreKit.framework" will be picked up.
Found a bug when using MKStoreKit as a pod in the project. When for any reason the script tries to remove StoreKit.framework, it does so by looking for a line containing "StoreKit.framework". This will result in finding the line with
MKStoreKit.framework
as well.install_framework "${BUILT_PRODUCTS_DIR}/MKStoreKit/MKStoreKit.framework"
will be picked up.