Using cpp-netlib on iOS Developpement - ios

I'm building a crossplateform application and I'm trying to do some network request using cpp-netlib on ios. So far so good, until I use the call back function of cpp-netlib to avoid waiting for an answer (and froze my user interface).
But when I tried to compile, I had an error I don't succeed to fix in Xcode.
No member named 'forward' in namespace 'std'
This error come from a deconstruct.hpp file of boost library. How can I fix it ?
I'm already compiling my application using GNU++11 (C++ Language Dialect) and libstdc++ (C++ Standart Library).
edit
I fixed the bug of std::forward by compiling with libc++ rather than libstdc++ (which include gnu). But i'm running against several error in boost file again.
If you want to have a look:
In file included from /Users/paris_j/Speechi/JeLèveLaMain/jllm-ios/jelevelamain/jelevelamain/AppDelegate.m:11:
In file included from ../../jllm-core/include/model/Model.hh:18:
In file included from ../../jllm-core/include/model/NetworkModel.hpp:11:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/client.hpp:13:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/request.hpp:18:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/message/wrappers/uri.hpp:10:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/uri.hpp:359:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/accessors.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/meta_compiler.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/meta_compiler.hpp:20:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:17:
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/detail/make_cons.hpp:45:48: error: expected a type
template <typename Car, typename Cdr = fusion::nil>
^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/detail/make_cons.hpp:45:48: error: expected ',' or '>' in template-parameter-list
In file included from /Users/paris_j/Speechi/JeLèveLaMain/jllm-ios/jelevelamain/jelevelamain/AppDelegate.m:11:
In file included from ../../jllm-core/include/model/Model.hh:18:
In file included from ../../jllm-core/include/model/NetworkModel.hpp:11:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/client.hpp:13:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/request.hpp:18:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/message/wrappers/uri.hpp:10:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/uri.hpp:359:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/accessors.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/meta_compiler.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/meta_compiler.hpp:20:
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:65:37: error: too few template arguments for class template 'make_cons'
typedef typename result_of::make_cons<value>::type elements;
^
In file included from /Users/paris_j/Speechi/JeLèveLaMain/jllm-ios/jelevelamain/jelevelamain/AppDelegate.m:11:
In file included from ../../jllm-core/include/model/Model.hh:18:
In file included from ../../jllm-core/include/model/NetworkModel.hpp:11:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/client.hpp:13:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/request.hpp:18:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/message/wrappers/uri.hpp:10:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/uri.hpp:359:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/accessors.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/meta_compiler.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/meta_compiler.hpp:20:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:17:
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/detail/make_cons.hpp:46:16: note: template is declared here
struct make_cons
^
In file included from /Users/paris_j/Speechi/JeLèveLaMain/jllm-ios/jelevelamain/jelevelamain/AppDelegate.m:11:
In file included from ../../jllm-core/include/model/Model.hh:18:
In file included from ../../jllm-core/include/model/NetworkModel.hpp:11:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/client.hpp:13:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/request.hpp:18:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/message/wrappers/uri.hpp:10:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/uri.hpp:359:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/accessors.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/meta_compiler.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/meta_compiler.hpp:20:
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:65:55: error: expected a qualified name after 'typename'
typedef typename result_of::make_cons<value>::type elements;
^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:65:59: error: expected ';' at end of declaration list
typedef typename result_of::make_cons<value>::type elements;
^
;
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:73:40: error: use of undeclared identifier 'elements'
result<make_component_(elements, Data)>::type
^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:73:58: error: non-friend class member 'type' cannot have a qualified name
result<make_component_(elements, Data)>::type
~~^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:73:58: error: typedef declarator cannot be qualified
result<make_component_(elements, Data)>::type
~~^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:73:62: error: expected ';' at end of declaration list
result<make_component_(elements, Data)>::type
^
;
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:76:9: error: unknown type name 'result_type'
result_type operator()(
^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:94:37: error: too few template arguments for class template 'make_cons'
typedef typename result_of::make_cons<value>::type elements;
^
In file included from /Users/paris_j/Speechi/JeLèveLaMain/jllm-ios/jelevelamain/jelevelamain/AppDelegate.m:11:
In file included from ../../jllm-core/include/model/Model.hh:18:
In file included from ../../jllm-core/include/model/NetworkModel.hpp:11:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/client.hpp:13:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/request.hpp:18:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/message/wrappers/uri.hpp:10:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/uri.hpp:359:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/accessors.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/meta_compiler.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/meta_compiler.hpp:20:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:17:
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/detail/make_cons.hpp:46:16: note: template is declared here
struct make_cons
^
In file included from /Users/paris_j/Speechi/JeLèveLaMain/jllm-ios/jelevelamain/jelevelamain/AppDelegate.m:11:
In file included from ../../jllm-core/include/model/Model.hh:18:
In file included from ../../jllm-core/include/model/NetworkModel.hpp:11:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/client.hpp:13:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/request.hpp:18:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/message/wrappers/uri.hpp:10:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/uri.hpp:359:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/accessors.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/meta_compiler.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/meta_compiler.hpp:20:
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:94:55: error: expected a qualified name after 'typename'
typedef typename result_of::make_cons<value>::type elements;
^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:94:59: error: expected ';' at end of declaration list
typedef typename result_of::make_cons<value>::type elements;
^
;
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:99:40: error: use of undeclared identifier 'elements'
result<make_component_(elements, Data)>::type
^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:99:58: error: non-friend class member 'type' cannot have a qualified name
result<make_component_(elements, Data)>::type
~~^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:99:58: error: typedef declarator cannot be qualified
result<make_component_(elements, Data)>::type
~~^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:99:62: error: expected ';' at end of declaration list
result<make_component_(elements, Data)>::type
^
;
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:102:9: error: unknown type name 'result_type'
result_type operator()(
^
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:147:28: error: too few template arguments for class template 'make_cons'
result_of::make_cons<child_component>::type
^
In file included from /Users/paris_j/Speechi/JeLèveLaMain/jllm-ios/jelevelamain/jelevelamain/AppDelegate.m:11:
In file included from ../../jllm-core/include/model/Model.hh:18:
In file included from ../../jllm-core/include/model/NetworkModel.hpp:11:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/client.hpp:13:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/request.hpp:18:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/protocol/http/message/wrappers/uri.hpp:10:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/uri.hpp:359:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/network/uri/accessors.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/include/qi.hpp:16:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/action/action.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/qi/meta_compiler.hpp:14:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/meta_compiler.hpp:20:
In file included from /usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/make_component.hpp:17:
/usr/local/Cellar/boost/1.55.0_1/include/boost/spirit/home/support/detail/make_cons.hpp:46:16: note: template is declared here
struct make_cons
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

Related

Unsupported architecture error on initializing React Native app

It's so weird, yesterday morning everything works well, but after trying to install on a physical iOS device, I even cannot initiate a React Native project, right after the npx react-native init MyNewApp command I get this error:
clang: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/lib/libc++.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/lib/libc++.tbd (4 slices)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/lib/libSystem.tbd, missing required architecture x86_64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/lib/libSystem.tbd (4 slices)
clang: warning: using sysroot for 'iPhoneOS' but targeting 'MacOSX' [-Wincompatible-sysroot]
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:52:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv/errno.h:25:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/errno.h:31:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/errno.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/errno.h:72:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
#error Unsupported architecture
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_types.h:27:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:71:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_types.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'; did you mean
'__int128_t'?
typedef __int64_t __darwin_blkcnt_t; /* total blocks */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean
'__int128_t'?
typedef __int32_t __darwin_blksize_t; /* preferred block size */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean
'__int128_t'?
typedef __int32_t __darwin_dev_t; /* dev_t */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean
'__uint128_t'?
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean
'__uint128_t'?
typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'; did you mean
'__int128_t'?
typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean
'__int128_t'?
typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean
'__int128_t'?
typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
^
note: '__int128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
^
note: '__uint128_t' declared here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
^
note: '__uint128_t' declared here
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:71:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean
'__uint128_t'?
typedef __uint32_t __darwin_wctype_t;
^
note: '__uint128_t' declared here
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:75:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types/_va_list.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:55:
In file included from /Users/amerllica/Library/Caches/node-gyp/12.18.0/include/node/uv.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:107:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/_stdio.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/_types/_va_list.h:32:9: error: unknown type name
'__darwin_va_list'
typedef __darwin_va_list va_list;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/amerllica/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.5.0
gyp ERR! command "/Users/amerllica/.nvm/versions/node/v12.18.0/bin/node" "/Users/amerllica/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/amerllica/.npm/_npx/15892/lib/node_modules/react-native/node_modules/fsevents
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
I tried many ways, even I uninstall XCode and then re-install XCode. set everything from scratch but I get this error for initializing React Native application.
With the following steps everything back on track:
Logging out
Restarting
It's so weird, but fully shut down the system without keeping open programs states was the solution.

Error while building flutter app in IOS simulator using android studio

I have built a flutter app in IOS simulator using android studio.Here it throws bunch of errors which is related to my app's plugins.I have also installed cocoa pods and installed it. This is the error I'm getting. Please help me out. Thanks in advance.
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET FirebaseStorage OF PROJECT Pods WITH CONFIGURATION Debug ===
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/FIRMessagingConnection.m:19:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/Protos/GtalkCore.pbobjc.h:27:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:44:
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:40:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#impo
rt <Protobuf/Any.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Any.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:41:10: warning: non-portable path to file '<protobuf/Duration.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Duration.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Duration.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:42:10: warning: non-portable path to file '<protobuf/Timestamp.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Timestamp.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Timestamp.pbobjc.h>
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/FIRMessagingConnection.m:19:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/Protos/GtalkCore.pbobjc.h:27:
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:55:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Any.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Any.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:56:10: warning: non-portable path to file '<protobuf/Api.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Api.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Api.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:57:10: warning: non-portable path to file '<protobuf/Duration.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Duration.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Duration.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:58:10: warning: non-portable path to file '<protobuf/Empty.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Empty.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Empty.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:59:10: warning: non-portable path to file '<protobuf/FieldMask.pbobjc.h>'; specified path differs in case from file name on d
isk [-Wnonportable-include-path]
#import <Protobuf/FieldMask.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/FieldMask.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:60:10: warning: non-portable path to file '<protobuf/SourceContext.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/SourceContext.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/SourceContext.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:61:10: warning: non-portable path to file '<protobuf/Struct.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Struct.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Struct.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:62:10: warning: non-portable path to file '<protobuf/Timestamp.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Timestamp.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Timestamp.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:63:10: warning: non-portable path to file '<protobuf/Type.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Type.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Type.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:64:10: warning: non-portable path to file '<protobuf/Wrappers.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Wrappers.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Wrappers.pbobjc.h>
13 warnings generated.
=== BUILD TARGET FirebaseStorage OF PROJECT Pods WITH CONFIGURATION Debug ===
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/FIRMessagingDataMessageManager.m:19:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/Protos/GtalkCore.pbobjc.h:27:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:44:
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:40:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:41:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:42:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/FIRMessagingDataMessageManager.m:19:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/Protos/GtalkCore.pbobjc.h:27:
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:55:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:56:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:57:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:58:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:59:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:60:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:61:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:62:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:63:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Type.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Type.pbobjc.h>
#import <Protobuf/Any.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Any.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:56:10: warning: non-portable path to file '<protobuf/Api.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Api.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Api.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:57:10: warning: non-portable path to file '<protobuf/Duration.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Duration.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Duration.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:58:10: warning: non-portable path to file '<protobuf/Empty.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Empty.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Empty.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:59:10: warning: non-portable path to file '<protobuf/FieldMask.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/FieldMask.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/FieldMask.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:60:10: warning: non-portable path to file '<protobuf/SourceContext.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/SourceContext.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/SourceContext.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:61:10: warning: non-portable path to file '<protobuf/Struct.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Struct.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Struct.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:62:10: warning: non-portable path to file '<protobuf/Timestamp.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Timestamp.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Timestamp.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:63:10: warning: non-portable path to file '<protobuf/Type.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Type.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Type.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:64:10: warning: non-portable path to file '<protobuf/Wrappers.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Wrappers.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Wrappers.pbobjc.h>
13 warnings generated.
=== BUILD TARGET FirebaseStorage OF PROJECT Pods WITH CONFIGURATION Debug ===
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/FIRMessagingRmq2PersistentStore.m:27:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/Protos/GtalkCore.pbobjc.h:27:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:44:
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:40:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Any.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Any.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:41:10: warning: non-portable path to file '<protobuf/Duration.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Duration.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Duration.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:42:10: warning: non-portable path to file '<protobuf/Timestamp.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Timestamp.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Timestamp.pbobjc.h>
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/FIRMessagingRmq2PersistentStore.m:27:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/Protos/GtalkCore.pbobjc.h:27:
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:55:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Any.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Any.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:56:10: warning: non-portable path to file '<protobuf/Api.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Api.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Api.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:57:10: warning: non-portable path to file '<protobuf/Duration.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Duration.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Duration.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:58:10: warning: non-portable path to file '<protobuf/Empty.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Empty.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Empty.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:59:10: warning: non-portable path to file '<protobuf/FieldMask.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/FieldMask.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/FieldMask.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:60:10: warning: non-portable path to file '<protobuf/SourceContext.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/SourceContext.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/SourceContext.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:61:10: warning: non-portable path to file '<protobuf/Struct.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Struct.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Struct.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:62:10: warning: non-portable path to file '<protobuf/Timestamp.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Timestamp.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Timestamp.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:63:10: warning: non-portable path to file '<protobuf/Type.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Type.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Type.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:64:10: warning: non-portable path to file '<protobuf/Wrappers.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Wrappers.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Wrappers.pbobjc.h>
13 warnings generated.
=== BUILD TARGET FirebaseStorage OF PROJECT Pods WITH CONFIGURATION Debug ===
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/FIRMessagingRmqManager.m:25:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/FirebaseMessaging/Firebase/Messaging/Protos/GtalkCore.pbobjc.h:27:
In file included from /Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBProtocolBuffers.h:44:
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:40:10: warning: non-portable path to file '<protobuf/Any.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Any.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Any.pbobjc.h>
/Users/deepan/smart-school-nise-update_31_03_19/ios/Pods/Headers/Private/Protobuf/GPBWellKnownTypes.h:41:10: warning: non-portable path to file '<protobuf/Duration.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Duration.pbobjc.h>
3 warnings and 8 errors generated.

Unable to merge Unity 5 into our iOS application

We have a large and complicated application and we are looking to upgrade our 3d engine to Unity 5.0. But I am having trouble integrating Unity.
I been trying to follow these tutorials but constant errors keep poping up whatever I do.
http://www.the-nerd.be/2014/09/08/sandbox-unity-app-in-existing-ios-app/
http://www.makethegame.net/unity/add-unity3d-to-native-ios-app-with-unity-5-and-vuforia-4-x/
http://www.markuszancolo.at/2014/05/integrating-unity-into-a-native-ios-app/
If I just add the "Libraries" and the "Classes" folders into my project, I get an odd amount errors. It gets confused with other c code in the project(really doesn't like msgpack) and tries to import the wrong files (ILCPP files). If I remove all offending code from the project I still have a list of errors with the native cstring class.
CompileC
/Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Intermediates/CricHQ.build/Debug-iphoneos/CricHQ.build/Objects-normal/armv7/main-5D1DD4E92C87F57A.o
Classes/Other/main.mm normal armv7 objective-c++
com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/jess/Projects/GIT/CricHQ-iPhone
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x objective-c++ -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -fobjc-arc -fmodules -fmodules-cache-path=/Users/jess/Library/Developer/Xcode/DerivedData/ModuleCache
-fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/jess/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation
-fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -O0 -Werror=incompatible-pointer-types -Wmissing-field-initializers -Wmissing-prototypes -Wno-return-type -Wimplicit-atomic-properties -Wno-receiver-is-weak -Warc-repeated-use-of-weak -Wexplicit-ownership-type -Wimplicit-retain-self -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wexit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wint-conversion -Wno-bool-conversion -Wenum-conversion -Wassign-enum -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wstrict-selector-match -Wno-undeclared-selector -Wdeprecated-implementations -Wc++11-extensions -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
-fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -I/Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Intermediates/CricHQ.build/Debug-iphoneos/CricHQ.build/CricHQ\
Next.hmap
-I/Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Products/Debug-iphoneos/include
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
-I/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/include/libxml2
-I/Users/jess/Projects/GIT/CricHQ-iPhone/../CricHQ-3d/iOS-export/Classes
-I/Users/jess/Projects/GIT/CricHQ-iPhone/../CricHQ-3d/iOS-export/Libraries/bdwgc/include
-I/Users/jess/Projects/GIT/CricHQ-iPhone/../CricHQ-3d/iOS-export/Libraries/libil2cpp/include
-I/Users/jess/Projects/GIT/CricHQ-iPhone/../CricHQ-3d/iOS-export/Classes/Native
-I/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/CricEngine/source -I/Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Intermediates/CricHQ.build/Debug-iphoneos/CricHQ.build/DerivedSources/armv7
-I/Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Intermediates/CricHQ.build/Debug-iphoneos/CricHQ.build/DerivedSources
-F/Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Products/Debug-iphoneos
-F/Users/jess/Projects/GIT/CricHQ-iPhone -mno-thumb -DINIT_SCRIPTING_BACKEND=1 -include /Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch
-MMD -MT dependencies -MF /Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Intermediates/CricHQ.build/Debug-iphoneos/CricHQ.build/Objects-normal/armv7/main-5D1DD4E92C87F57A.d
--serialize-diagnostics /Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Intermediates/CricHQ.build/Debug-iphoneos/CricHQ.build/Objects-normal/armv7/main-5D1DD4E92C87F57A.dia
-c /Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/main.mm -o /Users/jess/Library/Developer/Xcode/DerivedData/CricHQ-bsrxghpplcwahnadlgmwxmzwbxff/Build/Intermediates/CricHQ.build/Debug-iphoneos/CricHQ.build/Objects-normal/armv7/main-5D1DD4E92C87F57A.o
In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:70:9:
error: no member named 'memcpy' in the global namespace; did you mean
'wmemcpy'? using ::memcpy;
~~^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:435:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:90:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/include/wchar.h:152:10:
note: 'wmemcpy' declared here wchar_t *wmemcpy(wchar_t * __restrict,
const wchar_t * __restrict, size_t);
^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:71:9:
error: no member named 'memmove' in the global namespace; did you mean
'wmemmove'? using ::memmove;
~~^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:435:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:90:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/include/wchar.h:153:10:
note: 'wmemmove' declared here wchar_t *wmemmove(wchar_t *, const
wchar_t *, size_t);
^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:72:9:
error: no member named 'strcpy' in the global namespace using
::strcpy;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:73:9:
error: no member named 'strncpy' in the global namespace using
::strncpy;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:74:9:
error: no member named 'strcat' in the global namespace using
::strcat;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:75:9:
error: no member named 'strncat' in the global namespace using
::strncat;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:76:9:
error: no member named 'memcmp' in the global namespace; did you mean
'wmemcmp'? using ::memcmp;
~~^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:435:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:90:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/include/wchar.h:151:5:
note: 'wmemcmp' declared here int wmemcmp(const wchar_t *, const
wchar_t *, size_t);
^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:77:9:
error: no member named 'strcmp' in the global namespace using
::strcmp;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:78:9:
error: no member named 'strncmp' in the global namespace using
::strncmp;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:79:9:
error: no member named 'strcoll' in the global namespace; did you mean
'strtoll'? using ::strcoll;
~~^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:13:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/include/assert.h:44:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/include/stdlib.h:169:3:
note: 'strtoll' declared here
strtoll(const char *, char **, int);
^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:80:9:
error: no member named 'strxfrm' in the global namespace using
::strxfrm;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:82:9:
error: no member named 'memchr' in the global namespace; did you mean
'wmemchr'? using ::memchr;
~~^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:435:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:90:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/include/wchar.h:150:10:
note: 'wmemchr' declared here wchar_t *wmemchr(const wchar_t ,
wchar_t, size_t);
^ In file included from :353: In file included from :4: In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Classes/Other/CricHQ_Prefix.pch:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from
/Users/jess/Projects/GIT/CricHQ-iPhone/Libraries/../../CricHQ-3d/iOS-export/Libraries/libil2cpp/include/os/Locale.h:4:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:436:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:84:9:
error: no member named 'strchr' in the global namespace using
::strchr;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:86:9:
error: no member named 'strcspn' in the global namespace using
::strcspn;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:88:9:
error: no member named 'strpbrk' in the global namespace using
::strpbrk;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:90:9:
error: no member named 'strrchr' in the global namespace using
::strrchr;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:92:9:
error: no member named 'strspn' in the global namespace using
::strspn;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:94:9:
error: no member named 'strstr' in the global namespace using
::strstr;
~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:98:87:
error: no member named 'strchr' in the global namespace; did you mean
simply 'strchr'? inline _LIBCPP_INLINE_VISIBILITY char strchr(
char* __s, int __c) {return ::strchr(__s, __c);}
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:98:46:
note: 'strchr' declared here inline _LIBCPP_INLINE_VISIBILITY
char* strchr( char* __s, int __c) {return ::strchr(__s, __c);}
Screenshot:
Anyone know of a solution? Any help in this matter would be great as I'm totally stuck on what I should try next.
Edit: A plain project worked, so that is a start. Sounds like one of libraries is interfering maybe. The code base is large so need help narrowing the issue down.
Edit 2: Updated to Unity 5.1, xcode 7 beta, clean, deleted the DerivedData folder and still no change.
Once I added "-ferror-limit=1000" then I saw 999+ errors instead of 30.
Common errors:
"Declaration conflicts with target of using declaration already in scope".
"Call to 'X' is ambiguous" (cos, exp, ceil)
"Could not build module 'X'" (Foundation, Darwin)
"No member named 'X" in namespace" (memset, memcpy, memmove)
"Use of undeclared identifier 'x'" (strdup)
"Expected ';' after top level declarator"
Edit 3:
I solve the errors by setting "Always Search User Paths" to "No" in the XCode project settings.
But I'm having a few other issues.
Unity is still using CPU when I pause it. Is there anyway to solve this? I am calling Unity's "applicationDidBecomeActive" method. I also tried just calling "UnityPause".
Calling Unity's "GetAppController()" in my own code causes this error:
Undefined symbols for architecture armv7:
"_GetAppController", referenced from:
-[Test3d viewDidDisappear:] in Test3d.o
ld: symbol(s) not found for architecture armv7
I dont have enough reputation here to comment, so i write it as an answer:
After 3 Edits i am not sure what problems are still left...
GetAppController is an inline function in UnityAppController.h If it isnt linked to you project, you probably didnt include the file (but instead only declared GetAppController() somewhere yourself).
The other errors looks like you have conflicts with the basic c-libs. Is your other code using the c++ std lib? and if yes, which one? Which one is stated in Your BuildSettings under "C++ Standard Library"? It should be libc++
The "Solution" to switch "Always Search User Paths" to "No" sounds even more like a problem with other included projects.
Most of my answers are in the question. The core solution was setting "Always Search User Paths" to "No" in the XCode project settings.
As for the last edit, I believe they are bugs. I don't use GetAppController, instead I have my own method. I have reported the CPU issue, it isn't a major problem as it is only ~3% on phones and ipads.
I've this problem too recently trying to integrate my Unity 5 project into an existing iOS project.
How I managed to integrate is
1) Drag Class and Libraries files from your Unity project into your iOS project. Same like the tutorial from the-nerd. Uncheck copy items, and select create group radio box.
2) Update your Header Search Path and Library Search Path under Build Settings. The folders should point to your Unity project folder.
Header Search Path -> Unity's Classes folder
Library Search Path -> Unity's Library folder
This part is really important, it made me solve those errors.
3) Under Build Phases, remember to create a run script and make sure the script points to the correct path in Unity's Data folder.
rm -rf "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Data"
cp -Rf "$PROJECT_DIR/../CHANGE THIS TO YOU PATH/Data" "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Data"
4) Compare the Build Settings from the Unity's project and your current iOS project. Make sure you select the correct C++ and C compiler. Your iOS project should match the one of Unity. Also the Linker Flag have to be in the correct order.
-weak_framework
CoreMotion
-weak-lSystem
That is all I did to make my iOS project compile with the Unity project I have. I hope it helps.

building live555 library for iphoneos

I read a lot of discussions about building live555 lib for iOS platform. I successfully built lib for simulator using ./genMakefiles iphone-simulator and then make, but can not build it for device. ./genMakefiles iphoneos did not warn me about anything, but running make after it fails. It always produces error like unknown type name …. I tried many times with freshest sources, and I also tried to make clean before doing make - not helped.
From the log I see some weird stuff, like path to MacOSX, and I think that this is the root of the problem, but not sure what should I fix/change in the script to make it work.
Here is complete log:
$ make
cd liveMedia ; /Applications/Xcode.app/Contents/Developer/usr/bin/make
/usr/bin/xcrun clang -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DBSD=1 -O2 -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -arch armv7 --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk -Wall Media.cpp
In file included from Media.cpp:21:
In file included from include/Media.hh:33:
In file included from ../UsageEnvironment/include/UsageEnvironment.hh:28:
In file included from ../groupsock/include/NetCommon.h:94:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/types.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/cdefs.h:680:2: error:
Unsupported architecture
#error Unsupported architecture
^
In file included from Media.cpp:21:
In file included from include/Media.hh:33:
In file included from ../UsageEnvironment/include/UsageEnvironment.hh:28:
In file included from ../groupsock/include/NetCommon.h:94:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/types.h:78:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/machine/types.h:37:2: error:
architecture not supported
#error architecture not supported
^
In file included from Media.cpp:21:
In file included from include/Media.hh:33:
In file included from ../UsageEnvironment/include/UsageEnvironment.hh:28:
In file included from ../groupsock/include/NetCommon.h:94:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/types.h:79:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/machine/_types.h:34:2: error:
architecture not supported
#error architecture not supported
^
In file included from Media.cpp:21:
In file included from include/Media.hh:33:
In file included from ../UsageEnvironment/include/UsageEnvironment.hh:28:
In file included from ../groupsock/include/NetCommon.h:94:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/types.h:79:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:55:9: error:
unknown type name '__int64_t'
typedef __int64_t __darwin_blkcnt_t; /* total blocks */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:56:9: error:
unknown type name '__int32_t'
typedef __int32_t __darwin_blksize_t; /* preferred block size */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:57:9: error:
unknown type name '__int32_t'
typedef __int32_t __darwin_dev_t; /* dev_t */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:60:9: error:
unknown type name '__uint32_t'
typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:61:9: error:
unknown type name '__uint32_t'
typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:62:9: error:
unknown type name '__uint64_t'
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:68:9: error:
unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:70:9: error:
unknown type name '__uint16_t'
typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:71:9: error:
unknown type name '__int64_t'
typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:72:9: error:
unknown type name '__int32_t'
typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:73:9: error:
unknown type name '__uint32_t'
typedef __uint32_t __darwin_sigset_t; /* [???] signal set */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:74:9: error:
unknown type name '__int32_t'
typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:75:9: error:
unknown type name '__uint32_t'
typedef __uint32_t __darwin_uid_t; /* [???] user IDs */
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_types.h:76:9: error:
unknown type name '__uint32_t'
typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
^
In file included from Media.cpp:21:
In file included from include/Media.hh:33:
In file included from ../UsageEnvironment/include/UsageEnvironment.hh:28:
In file included from ../groupsock/include/NetCommon.h:94:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/types.h:81:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/machine/endian.h:37:2: error:
architecture not supported
#error architecture not supported
^
In file included from Media.cpp:21:
In file included from include/Media.hh:33:
In file included from ../UsageEnvironment/include/UsageEnvironment.hh:28:
In file included from ../groupsock/include/NetCommon.h:94:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/types.h:95:9: error:
unknown type name 'u_int64_t'
typedef u_int64_t u_quad_t; /* quads */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [Media.o] Error 1
make: *** [all] Error 2
I hope somebody can help me with solving this problem. Thanks in advance!
I think you could install Xcode command line tool first. Then redo everything for building live555. It's work for me. Just type "xcode-select --install" in your terminal to installation.

Include AVFoundation Framework in Theos application

I am writing an application for my iPhone 5 using Theos tools and I want to use AVFoundation framework.
I've included AVFoundation in FRAMEWORKS section of my Makefile:
include theos/makefiles/common.mk
APPLICATION_NAME = appName
appName_FILES = main.m appNameApplication.mm RootViewController.mm StandardPlaybackVC.mm
appName_FRAMEWORKS = UIKit CoreGraphics AVFoundation
include $(THEOS_MAKE_PATH)/application.mk
But it doesn't seem to work and give the following error:
error: unknown type name 'AVAudioPlayer'
I've also tried to include this line in my header file:
#import <AVFoundation/AVFoundation.h>
But this gives a lot of confusing errors:
In file included from RootViewController.mm:3:
In file included from ./StandardPlaybackVC.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/objc/NSObjCRuntime.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/objc/objc.h:31:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/types.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/cdefs.h:680:2: error:
Unsupported architecture
#error Unsupported architecture
^
In file included from RootViewController.mm:3:
In file included from ./StandardPlaybackVC.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/objc/NSObjCRuntime.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/objc/objc.h:31:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/types.h:78:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/machine/types.h:37:2: error:
architecture not supported
#error architecture not supported
^
In file included from RootViewController.mm:3:
In file included from ./StandardPlaybackVC.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/objc/NSObjCRuntime.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/objc/objc.h:31:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/types.h:79:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/_types.h:33:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/machine/_types.h:34:2: error:
architecture not supported
#error architecture not supported
^
In file included from RootViewController.mm:3:
In file included from ./StandardPlaybackVC.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/objc/NSObjCRuntime.h:9:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/objc/objc.h:31:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/types.h:81:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/machine/endian.h:37:2: error:
architecture not supported
#error architecture not supported
^
In file included from RootViewController.mm:3:
In file included from ./StandardPlaybackVC.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/limits.h:38:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/limits.h:64:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/machine/limits.h:8:2: error:
architecture not supported
#error architecture not supported
^
In file included from RootViewController.mm:3:
In file included from ./StandardPlaybackVC.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioBuffer.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioTypes.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/signal.h:63:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/signal.h:81:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/machine/signal.h:34:2: error:
architecture not supported
#error architecture not supported
^
In file included from RootViewController.mm:3:
In file included from ./StandardPlaybackVC.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioBuffer.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioTypes.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/signal.h:63:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/sys/signal.h:145:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/machine/_mcontext.h:31:2: error:
architecture not supported
#error architecture not supported
^
In file included from RootViewController.mm:3:
In file included from ./StandardPlaybackVC.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioBuffer.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioTypes.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/include/libkern/OSByteOrder.h:45:10: fatal error:
'libkern/machine/OSByteOrder.h' file not found
#include <libkern/machine/OSByteOrder.h>
^
8 errors generated.
I do not use #import pragmas for UIKit and Core Graphics so I thought that modifying the Makefile should be enough...
What am I doing wrong here? And what is the right way of including frameworks in Theos? I'm using iPhone SDK 8.1.
Thank you!
I had same error on my tweaks,but solved this error.
Cause is the StandardPlaybackVC file.
UIKit CoreGraphics AVFoundation,
Don't write all "#import Framework" in StandardPlaybackVC.

Resources