From 7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 13 Jan 2018 10:31:04 -0800 Subject: [PATCH] Fix compilation via macOS 10.12 targetting iOS 11. --- ldid.cpp | 2 +- make.sh | 6 +++--- 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 &remote, const std::string &requirements, const Functor &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++) -- 2.47.2