2015-06-03 6 views
13

में यूनिटी 5 को मर्ज करने में असमर्थ हमारे पास एक बड़ा और जटिल एप्लीकेशन है और हम अपने 3 डी इंजन को एकता 5.0 में अपग्रेड करना चाहते हैं। लेकिन मुझे एकता को एकीकृत करने में परेशानी हो रही है।हमारे आईओएस एप्लिकेशन

मैं इन ट्यूटोरियल का पालन करने की कोशिश कर रहा हूं लेकिन निरंतर त्रुटियां जो भी मैं करता हूं उसे पॉप अप करते रहती हैं। 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/

मैं सिर्फ "पुस्तकालय" और "कक्षाएं" मेरी परियोजना में फ़ोल्डर जोड़ने, तो मैं एक अजीब राशि त्रुटियों मिलता है। यह प्रोजेक्ट में अन्य सी कोड के साथ उलझन में आता है (वास्तव में msgpack पसंद नहीं करता है) और गलत फ़ाइलों (आईएलसीपीपी फाइलों) को आयात करने का प्रयास करता है। अगर मैं प्रोजेक्ट से सभी अपमानजनक कोड हटा देता हूं तो मुझे मूल cstring कक्षा के साथ त्रुटियों की एक सूची है।

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);}

स्क्रीनशॉट: xcode errors

किसी को भी एक समाधान के बारे में पता? इस मामले में कोई भी मदद महान होगी क्योंकि मैं पूरी तरह से अटक गया हूं कि मुझे आगे क्या करना चाहिए।

संपादित करें: एक सादा परियोजना काम करती है, इसलिए यह एक शुरुआत है। लगता है कि पुस्तकालयों में से एक शायद हस्तक्षेप कर रहा है। कोड बेस बड़ा है इसलिए समस्या को कम करने में मदद की ज़रूरत है।

संपादित करें 2: यूनिटी 5.1, एक्सकोड 7 बीटा, साफ, हटाए गए डेरेटडेटा फ़ोल्डर को हटा दिया गया है और अभी भी कोई बदलाव नहीं है। एक बार मैं कहा, "-ferror सीमा = 1000" तो मैं 999+ बजाय त्रुटियों 30.

आम त्रुटियों देखा:

"दायरे में पहले से ही घोषणा का उपयोग करने का लक्ष्य के साथ घोषणा संघर्ष"।

" 'एक्स' पर की गई कॉल अस्पष्ट है" (क्योंकि, exp, प्लस्तर लगाना)

(फाउंडेशन, डार्विन) "मॉड्यूल 'एक्स' का निर्माण नहीं हो सका"

"कोई सदस्य नामित 'एक्स' में नाम स्थान "(memset, memcpy, memmove)

" अघोषित पहचानकर्ता का प्रयोग 'एक्स' "(strdup)

" अपेक्षित ';' शीर्ष स्तर declarator के बाद।: हमेशा खोजें उपयोगकर्ता पथ "" नहीं "XCode प्रोजेक्ट सेटिंग्स

लेकिन मैं कुछ अन्य समस्याएं आ रही"

संपादित 3 मैं सेट करके त्रुटियों का समाधान " ।

एकता अभी भी वैसे भी सीपीयू उपयोग कर रहा है जब मैं इसे रोक सकते हैं। है कि इस को हल करने के? मैं बोल रहा हूँ एकता की 'applicationDidBecomeActive "विधि। मैं भी सिर्फ बुला की कोशिश की" UnityPause "।

कॉलिंग एकता की' GetAppController() "मेरे अपने कोड में इसका कारण बनता है त्रुटि:

Undefined symbols for architecture armv7:

"_GetAppController", referenced from:

-[Test3d viewDidDisappear:] in Test3d.o ld: symbol(s) not found for architecture armv7

+0

यदि छवियां पढ़ने के लिए बहुत छोटी हैं, तो बस उन पर राइट क्लिक करें और नए टैब में खोलें। या ब्राउज़र ज़ूम इन करें। – Zammbi

+2

यूनिटी 3 डी प्लेटफ़ॉर्म समस्या की तरह गंध करता है। क्या आपने इसे यूनिटी 3 डी सेक्शन में पोस्ट किया है? – Aizen

+0

हां मेरे पास है। कहीं से भी बहुत मदद नहीं मिल रही है। – Zammbi

उत्तर

1

मेरे अधिकांश उत्तर प्रश्न में हैं। मूल समाधान XCode प्रोजेक्ट सेटिंग्स में "हमेशा खोज उपयोगकर्ता पथ" को "नहीं" पर सेट कर रहा था।

अंतिम संपादन के लिए, मुझे विश्वास है कि वे बग हैं। मैं GetAppController का उपयोग नहीं करता, इसके बजाय मेरे पास अपनी विधि है। मैंने सीपीयू मुद्दे की सूचना दी है, यह एक बड़ी समस्या नहीं है क्योंकि यह फोन और आईपैड पर केवल ~ 3% है।

0

मुझे हाल ही में एक समस्या आईओएस परियोजना में मेरी यूनिटी 5 परियोजना को एकीकृत करने की कोशिश कर रही है। मैं कैसे एकीकृत करने में कामयाब रहे

1) अपने iOS परियोजना में खींचें अपने Unity परियोजना से Class और Libraries फ़ाइलें है। -Nerd से ट्यूटोरियल की तरह ही। कॉपी आइटम अनचेक करें, और समूह रेडियो बॉक्स बनाएं चुनें।

2) Build Settings के तहत अपने Header Search Path और Library Search Path अपडेट करें। फ़ोल्डर को आपके Unity प्रोजेक्ट फ़ोल्डर को इंगित करना चाहिए।

हैडर खोजें पथ -> एकता की कक्षा फ़ोल्डर

लाइब्रेरी खोज पथ -> एकता की लाइब्रेरी फ़ोल्डर

इस भाग वास्तव में महत्वपूर्ण है, यह मुझे उन त्रुटियों का समाधान किया जाता है।

3) बिल्ड चरणों के तहत, एक रन स्क्रिप्ट बनाना याद रखें और सुनिश्चित करें कि स्क्रिप्ट एकता के Data फ़ोल्डर में सही पथ को इंगित करती है।

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) एकता की परियोजना और अपने वर्तमान आईओएस परियोजना से Build Settings की तुलना करें। सुनिश्चित करें कि आप सही सी ++ और सी कंपाइलर का चयन करें। आपका आईओएस प्रोजेक्ट यूनिटी में से एक से मेल खाना चाहिए। इसके अलावा Linker Flag सही क्रम में होना चाहिए।

-weak_framework 
CoreMotion 
-weak-lSystem 

है बस इतना ही मुझे अपने iOS परियोजना एकता परियोजना मैं के साथ संकलन करने के लिए किया था। मुझे उम्मीद है यह मदद करेगा।

+0

हाँ ये वही ट्यूटोरियल मूल रूप से कहा गया था। मैंने उस मुद्दे को हल किया। मैंने एक संपादन जोड़ा, शायद आपने ध्यान नहीं दिया, मैंने अपने नए मुद्दों पर मदद मांगी क्योंकि इसका मूल रूप से उत्तर नहीं दिया गया था। – Zammbi

+0

हाय, मैं वही करने की कोशिश कर रहा हूं। मुझे अभी भी सीस्ट्रिंग त्रुटि मिलती है। मैं भी-एनर्ड ट्यूटोरियल का पालन कर रहा हूं। लेकिन मैं एकता 4.6 का उपयोग कर रहा हूँ। क्या इस मामले में एकता 4.6 और 5 के बीच मतभेद हैं? धन्यवाद – m0j1

+0

आप एकता से परियोजना को निर्यात करना चाहते हैं, और इसे बनाने की कोशिश कर सकते हैं और सीधे निर्यात किए गए प्रोजेक्ट से इसे चलाने के लिए यह देख सकते हैं कि यह आपके डिवाइस पर काम करता है या नहीं। यदि ऐसा होता है, तो संकलन एक समस्या नहीं होनी चाहिए। आपको वास्तव में क्या करना है, उस प्रोजेक्ट के साथ निर्यातित एकता आईफोन/आईपैड प्रोजेक्ट की बिल्ड सेटिंग्स की तुलना करना है, जिसके साथ आप विलय करना चाहते हैं। बाकी के कदम वही हैं जैसा मैंने ऊपर वर्णित किया है। – Seeya

2

मैं यहाँ पर्याप्त प्रतिष्ठा टिप्पणी करने के लिए है न, तो मैं एक जवाब के रूप में यह लिखें: 3 के बाद संपादन मुझे यकीन है कि क्या समस्या अभी भी छोड़ दिया जाता है नहीं कर रहा हूँ ...

GetAppController UnityAppController.h में एक इनलाइन समारोह है यदि यह आपके प्रोजेक्ट से जुड़ा हुआ नहीं है, तो संभवतः आपने फ़ाइल को शामिल नहीं किया है (लेकिन इसके बजाय केवल GetAppController() को स्वयं घोषित किया है)।

अन्य त्रुटियां ऐसा लगता है कि आपके पास मूल सी-libs के साथ संघर्ष हैं। क्या आपका दूसरा कोड C++ std lib का उपयोग कर रहा है? और यदि हां, तो कौन सा? "सी ++ मानक लाइब्रेरी" के तहत आपकी बिल्ड सेटिंग में कौन सा बताया गया है? यह libC++

"हमेशा" उपयोगकर्ता खोज पथ "को" नहीं "स्विच करने के लिए" समाधान "को अन्य शामिल परियोजनाओं के साथ किसी समस्या की तरह लगता है।

+0

"3 संपादनों के बाद मुझे यकीन नहीं है कि कौन सी समस्याएं अभी भी बाकी हैं" मैं अन्य संपादन हटा दूंगा लेकिन मैंने उन्हें रखा ताकि अन्य भी उनके मुद्दों को हल कर सकें। मेरे पास भी एक इनाम था इसलिए मैं इसे एक नया मुद्दा बनाकर बर्बाद नहीं करना चाहता था। मैं UnityAppController.h में किसी भी विधि को कॉल कर सकता हूं लेकिन "GetAppController"। मैं अपने काम के लिए एक ही विधि को फिर से बना सकता हूं। "यह libC++ होना चाहिए" यह है। "अन्य शामिल परियोजनाओं के साथ किसी समस्या की तरह लगता है" शायद। मुझे इसके लिए अभी काम करना होगा। – Zammbi

संबंधित मुद्दे