diff options
author | 2018-01-13 10:31:04 -0800 | |
---|---|---|
committer | 2018-01-13 10:31:04 -0800 | |
commit | 7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1 (patch) | |
tree | f9da032208d24376893e3b5af3b0b7f30deaec03 | |
parent | 296fd38eaec86c17bf93de6343b4c1c98b630ec5 (diff) | |
download | ldid-7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1.tar.gz ldid-7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1.tar.zst ldid-7b048e81b44e9bfa427bb97cfbd6b1aa7c078ff1.zip |
Fix compilation via macOS 10.12 targetting iOS 11.
-rw-r--r-- | ldid.cpp | 2 | ||||
-rwxr-xr-x | make.sh | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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) { @@ -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++) |