+++ /dev/null
-#!/bin/bash
-
-# Cycript - Optimizing JavaScript Compiler/Runtime
-# Copyright (C) 2009-2013 Jay Freeman (saurik)
-
-# GNU General Public License, Version 3 {{{
-#
-# Cycript is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published
-# by the Free Software Foundation, either version 3 of the License,
-# or (at your option) any later version.
-#
-# Cycript is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Cycript. If not, see <http://www.gnu.org/licenses/>.
-# }}}
-
-export DYLD_ROOT_PATH=$(xcode-select --print-path)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk
-export DYLD_FALLBACK_LIBRARY_PATH=/usr/lib
-export DYLD_FALLBACK_FRAMEWORK_PATH=/System/Library/Frameworks
-
-exec arch -i386 cycript "$@"
+++ /dev/null
-#!/usr/bin/env bash
-
-# Cycript - Optimizing JavaScript Compiler/Runtime
-# Copyright (C) 2009-2013 Jay Freeman (saurik)
-
-# GNU General Public License, Version 3 {{{
-#
-# Cycript is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published
-# by the Free Software Foundation, either version 3 of the License,
-# or (at your option) any later version.
-#
-# Cycript is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Cycript. If not, see <http://www.gnu.org/licenses/>.
-# }}}
-
-set -e
-
-rm -rf sysroot.sim
-mkdir -p sysroot.sim
-
-xsp=$(xcode-select --print-path)
-plt=iPhoneSimulator
-dev=${xsp}/Platforms/${plt}.platform/Developer
-sdk=${dev}/SDKs/${plt}6.1.sdk
-mac=${xsp}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
-
-mkdir -p sysroot.sim/usr/include
-cp -a "${mac}"/usr/include/ffi sysroot.sim/usr/include
-
-mkdir -p sysroot.sim/usr/lib
-cp -a /usr/lib/libffi.dylib sysroot.sim/usr/lib
-cp -a /usr/lib/libapr-1.* sysroot.sim/usr/lib
-
-ln -s /System/Library/Frameworks/WebKit.framework/Versions/A/Headers sysroot.sim/usr/include/WebKit
-
-mkdir -p sysroot.sim/Library/Frameworks/JavaScriptCore.framework
-ln -s "${sdk}"/System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore sysroot.sim/Library/Frameworks/JavaScriptCore.framework
-ln -s /System/Library/Frameworks/JavaScriptCore.framework/Headers sysroot.sim/Library/Frameworks/JavaScriptCore.framework
-
-export CC=/usr/bin/clang
-export CXX=/usr/bin/clang++
-export OBJCXX=/usr/bin/clang++
-
-flags=(-arch i386)
-flags+=(-isysroot "${sdk}")
-flags+=(-Fsysroot.sim/Library/Frameworks)
-
-cflags=("${flags[@]}")
-cflags+=(-Isysroot.sim/usr/include)
-cflags+=(-fobjc-abi-version=2)
-cflags+=(-Wno-overloaded-virtual)
-cflags+=(-Wno-unneeded-internal-declaration)
-
-lflags=("${flags[@]}")
-lflags+=(-Lsysroot.sim/usr/lib)
-lflags+=(-F"${sdk}"/System/Library/PrivateFrameworks)
-lflags+=(-framework WebCore)
-
-cflags=${cflags[*]}
-export CFLAGS=${cflags}
-export CXXFLAGS=${cflags}
-export OBJCXXFLAGS=${cflags}
-
-export OBJCXXFLAGS="${OBJCXXFLAGS} -fobjc-legacy-dispatch"
-
-lflags=${lflags[*]}
-export LDFLAGS=${lflags}
-
-tflags=()
-for flag in "${flags[@]}"; do
- tflags+=("-Xcompiler ${flag}")
-done
-
-tflags=${tflags[*]}
-export LTFLAGS=${tflags}
-
-export DYLD_ROOT_PATH=${sdk}
-export DYLD_FALLBACK_LIBRARY_PATH=/usr/lib
-export DYLD_FALLBACK_FRAMEWORK_PATH=/System/Library/Frameworks
-
-./configure "$@"