aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2018-01-13 10:31:04 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2018-01-13 10:31:04 -0800
commit7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1 (patch)
treef9da032208d24376893e3b5af3b0b7f30deaec03
parent296fd38eaec86c17bf93de6343b4c1c98b630ec5 (diff)
downloadldid-7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1.tar.gz
ldid-7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1.tar.zst
ldid-7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1.zip
Fix compilation via macOS 10.12 targetting iOS 11.
-rw-r--r--ldid.cpp2
-rwxr-xr-xmake.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/ldid.cpp b/ldid.cpp
index 6a16aa8..7d933b6 100644
--- a/ldid.cpp
+++ b/ldid.cpp
@@ -2405,7 +2405,7 @@ static Hash Sign(const uint8_t *prefix, size_t size, std::streambuf &buffer, Has
auto data(temp.str());
HashProxy proxy(hash, save);
- return Sign(data.data(), data.size(), proxy, identifier, entitlements, requirements, key, slots, flags, platform, percent);
+ return Sign(data.data(), data.size(), proxy, identifier, entitlements, requirements, key, slots, flags, platform, progress);
}
Bundle Sign(const std::string &root, Folder &folder, const std::string &key, std::map<std::string, Hash> &remote, const std::string &requirements, const Functor<std::string (const std::string &, const std::string &)> &alter, const Progress &progress) {
diff --git a/make.sh b/make.sh
index d574ae7..d88a8b0 100755
--- a/make.sh
+++ b/make.sh
@@ -10,16 +10,16 @@ else
shift
fi
+export DEVELOPER_DIR=/Applications/Xcode-5.1.1.app
+
if "${ios}"; then
out=ios
-sudo xcode-select --switch /Applications/Xcode-4.6.3.app
-flags=(cycc -- -miphoneos-version-min=2.0 -arch armv6)
+flags=(cycc -- -miphoneos-version-min=2.0 -arch armv6 -arch arm64)
else
out=out
-sudo xcode-select --switch /Applications/Xcode-5.1.1.app
if which xcrun &>/dev/null; then
flags=(xcrun -sdk macosx g++)