Parcourir la source

remove build-frameworkds.sh script #239. Script is outdated.

Marcin Krzyżanowski il y a 9 ans
Parent
commit
e9fcf456fe
2 fichiers modifiés avec 1 ajouts et 35 suppressions
  1. 1 5
      README.md
  2. 0 30
      build-frameworks.sh

+ 1 - 5
README.md

@@ -95,11 +95,7 @@ In the project, you'll find three targets, configured for each supported SDK:
 
 
 You may need to choose the one you need to build `CryptoSwift.framework` for your application.
 You may need to choose the one you need to build `CryptoSwift.framework` for your application.
 
 
-####CryptoSwift.framework
-
-Alternatively, you can build the Universal Framework and link it in your Xcode project. To do that please run `build.sh` script and find resulting frameworks in `Framework` directory.
-
-Looking for version for Swift 1.2? check branch **swift12**, it's there.
+Looking for version for Swift 1.2? please check branch **swift12**.
 
 
 ####CocoaPods
 ####CocoaPods
 
 

+ 0 - 30
build-frameworks.sh

@@ -1,30 +0,0 @@
-#!/bin/sh
-
-TARGET_NAME="CryptoSwift iOS"
-FRAMEWORK_NAME="CryptoSwift"
-INSTALL_DIR="Frameworks/iOS"
-FRAMEWORK="${INSTALL_DIR}/${FRAMEWORK_NAME}.framework"
-
-if [ -d "${INSTALL_DIR}" ]
-then
-rm -rf "${INSTALL_DIR}"
-fi
-
-mkdir -p "${INSTALL_DIR}"
-
-WRK_DIR="build"
-DEVICE_DIR="${WRK_DIR}/Release-iphoneos/${FRAMEWORK_NAME}.framework"
-SIMULATOR_DIR="${WRK_DIR}/Release-iphonesimulator/${FRAMEWORK_NAME}.framework"
-
-xcodebuild -configuration "Release" -target "${TARGET_NAME}" -sdk iphoneos SYMROOT=$(PWD)/${WRK_DIR}
-xcodebuild -configuration "Release" -target "${TARGET_NAME}" -sdk iphonesimulator SYMROOT=$(PWD)/${WRK_DIR}
-
-lipo -create "${DEVICE_DIR}/${FRAMEWORK_NAME}" "${SIMULATOR_DIR}/${FRAMEWORK_NAME}" -output "${DEVICE_DIR}/${FRAMEWORK_NAME}"
-
-cp -R "${DEVICE_DIR}" "${INSTALL_DIR}/"
-
-if [ -d "${SIMULATOR_DIR}/Modules/${FRAMEWORK_NAME}.swiftmodule/" ]; then
-    cp -f -R "${SIMULATOR_DIR}/Modules/${FRAMEWORK_NAME}.swiftmodule/" "${FRAMEWORK}/Modules/${FRAMEWORK_NAME}.swiftmodule/" | echo
-fi
-
-rm -r "${WRK_DIR}"