I think I messed something up. Using iPhoneOS11.2 as SDK.
> Making all for tweak AmericanDadHack…
==> Compiling Tweak.xm (arm64)…
In file included from Tweak.xm:1:
In file included from /Users/aarivex/americandadhack/Macros.h:1:
In file included from /Users/aarivex/americandadhack/ModMenu.h:11:
In file included from /Users/aarivex/americandadhack/Hack.h:10:
In file included from /Users/aarivex/theos/include/vector:66:
In file included from /Users/aarivex/theos/include/bits/stl_algobase.h:66:
/Users/aarivex/theos/include/cstring:102:12: error: cannot initialize return object of type 'void *' with an rvalue of type 'const void *'
{ return memchr(const_cast<const void*>(__p), __c, __n); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Tweak.xm:1:
In file included from /Users/aarivex/americandadhack/Macros.h:1:
In file included from /Users/aarivex/americandadhack/ModMenu.h:11:
In file included from /Users/aarivex/americandadhack/Hack.h:10:
In file included from /Users/aarivex/theos/include/vector:66:
In file included from /Users/aarivex/theos/include/bits/stl_algobase.h:68:
/Users/aarivex/theos/include/cstdlib:143:3: error: declaration conflicts with target of using declaration already in scope
abs(long __i) { return labs(__i); }
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:111:44: note: target of using declaration
inline _LIBCPP_INLINE_VISIBILITY long abs( long __x) _NOEXCEPT {return labs(__x);}
^
/Users/aarivex/theos/include/cstdlib:110:11: note: using declaration
using ::abs;
^
/Users/aarivex/theos/include/cstdlib:146:3: error: declaration conflicts with target of using declaration already in scope
div(long __i, long __j) { return ldiv(__i, __j); }
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:116:42: note: target of using declaration
inline _LIBCPP_INLINE_VISIBILITY ldiv_t div( long __x, long __y) _NOEXCEPT {return ldiv(__x, __y);}
^
/Users/aarivex/theos/include/cstdlib:117:11: note: using declaration
using ::div;
^
In file included from Tweak.xm:1:
In file included from /Users/aarivex/americandadhack/Macros.h:1:
In file included from /Users/aarivex/americandadhack/ModMenu.h:11:
In file included from /Users/aarivex/americandadhack/Hack.h:10:
In file included from /Users/aarivex/theos/include/vector:66:
In file included from /Users/aarivex/theos/include/bits/stl_algobase.h:70:
In file included from /Users/aarivex/theos/include/iosfwd:49:
In file included from /Users/aarivex/theos/include/bits/postypes.h:46:
/Users/aarivex/theos/include/cwchar:212:12: error: cannot initialize return object of type 'wchar_t *' with an rvalue of type 'const wchar_t *'
{ return wcschr(const_cast<const wchar_t*>(__p), __c); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aarivex/theos/include/cwchar:218:12: error: cannot initialize return object of type 'wchar_t *' with an rvalue of type 'const wchar_t *'
{ return wcspbrk(const_cast<const wchar_t*>(__s1), __s2); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aarivex/theos/include/cwchar:224:12: error: cannot initialize return object of type 'wchar_t *' with an rvalue of type 'const wchar_t *'
{ return wcsrchr(const_cast<const wchar_t*>(__p), __c); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aarivex/theos/include/cwchar:230:12: error: cannot initialize return object of type 'wchar_t *' with an rvalue of type 'const wchar_t *'
{ return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/aarivex/theos/include/cwchar:236:12: error: cannot initialize return object of type 'wchar_t *' with an rvalue of type 'const wchar_t *'
{ return wmemchr(const_cast<const wchar_t*>(__p), __c, __n); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Tweak.xm:1:
In file included from /Users/aarivex/americandadhack/Macros.h:1:
In file included from /Users/aarivex/americandadhack/ModMenu.h:11:
In file included from /Users/aarivex/americandadhack/Hack.h:10:
In file included from /Users/aarivex/theos/include/vector:66:
In file included from /Users/aarivex/theos/include/bits/stl_algobase.h:71:
/Users/aarivex/theos/include/bits/stl_pair.h:96:22: error: no template named 'pair'
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:96:49: error: no template named 'pair'
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:102:21: error: no template named 'pair'
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:102:48: error: no template named 'pair'
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:109:22: error: no template named 'pair'
operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:109:49: error: no template named 'pair'
operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:115:21: error: no template named 'pair'
operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:115:48: error: no template named 'pair'
operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:121:22: error: no template named 'pair'
operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:121:49: error: no template named 'pair'
operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
/Users/aarivex/theos/include/bits/stl_pair.h:127:22: error: no template named 'pair'
operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [/Users/aarivex/americandadhack/.theos/obj/debug/arm64/Tweak.xm.ca397b12.o] Error 1
make[2]: *** [/Users/aarivex/americandadhack/.theos/obj/debug/arm64/AmericanDadHack.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [AmericanDadHack.all.tweak.variables] Error 2