xcodebuild -workspace PULPulsate.xcworkspace -scheme PULPulsate -sdk iphonesimulator -configuration Release
xcodebuild -workspace PULPulsate.xcworkspace -scheme PULPulsate -sdk iphoneos -configuration Release
mkdir -p ${TARGET_BUILD_DIR}/../PULPulsate${CURRENT_PROJECT_VERSION}
cp -r ${TARGET_BUILD_DIR}/../Release-iphonesimulator/ ${TARGET_BUILD_DIR}/../PULPulsate${CURRENT_PROJECT_VERSION}
lipo -create "${TARGET_BUILD_DIR}/../Release-iphoneos/PULPulsate.framework/PULPulsate" "${TARGET_BUILD_DIR}/../Release-iphonesimulator/PULPulsate.framework/PULPulsate" -output "${TARGET_BUILD_DIR}/../PULPulsate${CURRENT_PROJECT_VERSION}/PULPulsate.framework/PULPulsate"