Hello,
I built a xcode project with Unity 2018.3.0f2.
I create a new xcode project and import Data, Classes, Libraries (which from unity).
I can success Native app with unity scene wrapped.
I followed this link. How to embed a Unity game into an iOS native Swift App | by IronEqual | Medium
and this link. Integrate Unity 5 in a native iOS app with Xcode 7 - the-nerd
I want to build ios framework from Unity built xcode project, but I failed.
I searched from this keyword, but I have no clue.
Expected function body after function declarator
Unknown type name ‘_LIBCPP_INLINE_VISIBILITY’ at stdlib.h
inline _LIBCPP_INLINE_VISIBILITY long abs( long __x) _NOEXCEPT {return labs(__x);}
...
Unkown type name ‘_LIBCPP_PUSH_MACROS’ at limits c++
_LIBCPP_PUSH_MACROS
#include <__undef_macros>
#include <__cxx_version>
...
Unkown type name ‘_LIBCPP_CONSTEXPR’ at limits c++
static _LIBCPP_CONSTEXPR const bool is_specialized = false;
...
No template named ‘is_arithmetic’ at limits c++
template <class _Tp, bool = is_arithmetic<_Tp>::value>
class __libcpp_numeric_limits
{
...
I doubt xcode build settings about c++ compiler, but I can’t solve yet.
Apple Clang - Language - C++
C++ Language Dialect : GNU++11 [-std=gnu++11]
C++ Standard Library : libc++ (LLVM C++ standard library with C++11 support)
My Unity version is 2018.3.0f2 and Xcode version is 11.5.
I researched UaaL (Unity as a Library) in Unity 2019 version, but I have to use 2018 version for dependency.
Thank you.