Closed stankikween closed 6 years ago
Never mind I fixed it!! I tried building something without GVR and also got the same issues, so I realized it was a Unity - XCode problem. Basically that menu that recommends all those changes to your project when you first open it in XCode was messing everything up! So I just ignored that and it worked fine.
Summary: I'm working on my very first game! It's literally just a point and click type thing, very simple. That being said, I have no clue what I'm doing, so many apologies in advance! I successfully built and ran my game the other day for Android, and would like to also build it for iOS (considering I have an iPhone, which means I don't have to rely on my friends to test it for me). However, when I build for iOS, in XCode I get ERRORS EVERYWHERE!! I've been all over the internet trying fixes, but none of them work. I even tried making a new Unity project with just the GVR HelloVR demo and building that, but have been getting the exact same errors, so I'm sure it's something with XCode. I've been trying some of the Cocoapods fixes too but with no avail. Here are some examples of all the errors (these are all just from the HelloVR sample build):
self->_estimatedLength = contentLength > 0 && (self->_status / 100 != 3) ? contentLength : 0; self->_dataRecievd = 0; UnityReportWWWReceivedResponse(self.udata, (unsigned int)self->_estimatedLength); }
I get the warning: "Implicit conversion loses integer precision: 'long long' to 'size_t' (aka 'unsigned long')"
Unused Entity Issue in this bit of code: static void InitCrashReporter() { NSError *error; The warning reads "Unused function InitCrashReporter"
Apple Mach-o-Linker Warning bro idek what that one is talking about
Anyways, in total I have 463 warnings just for the HelloVR demo! There were probably around 530 in my project but they were all of the same type as these. I am very confused as there was nothing wrong with the code when I ran it into the Android Studios, and it builds successfully out of Unity. Also note I have been trying to research but I still really do not know anything about C# so I apologize if I'm asking a lot of really dumb questions! But PLEASE HELP!!! I will love you forever!! Oh also I have iOS Build Support for Unity, and am attempting on running this for Cardboard. Found using:
Steps to reproduce the issue:
Workarounds:
Additional comments: