This commit is contained in:
Ivan Matkov 2020-04-29 19:14:14 +03:00
Родитель 275703315a
Коммит ce0c555208
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -44,3 +44,6 @@ lipo \
"${SIMULATOR_DIR}/${FRAMEWORK_BINARY}" \
-create -output "${BUILT_PRODUCTS_DIR}/${FRAMEWORK_BINARY}"
echo "Final framework architectures: $(lipo -archs "${BUILT_PRODUCTS_DIR}/${FRAMEWORK_BINARY}")"
echo "Appending simulator to Info.plist"
plutil -insert CFBundleSupportedPlatforms.1 -string "iPhoneSimulator" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Info.plist"

Просмотреть файл

@ -44,3 +44,6 @@ lipo \
"${SIMULATOR_DIR}/${FRAMEWORK_BINARY}" \
-create -output "${BUILT_PRODUCTS_DIR}/${FRAMEWORK_BINARY}"
echo "Final framework architectures: $(lipo -archs "${BUILT_PRODUCTS_DIR}/${FRAMEWORK_BINARY}")"
echo "Appending simulator to Info.plist"
plutil -insert CFBundleSupportedPlatforms.1 -string "AppleTVSimulator" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Info.plist"