XCode 7.2 and Unity 5.3.0f iOS build issue - xcode

After several attempts at downloading 5.3.1 version of Unity3D, and not being able to do it successfully, ended up downloading 5.3.0 version from the torrents link pointed to by the unity3d download page.
Now have the environment setup to 5.3.0 of Unity 3D and XCode 7.2
Downloaded the cardboard unitypackage as specified in the link #https://developers.google.com/cardboard/unity/get-started-ios
When I imported the package, I got a bunch of errors but was able to fix them by moving the required files into the MonoDevelop IDE.
Now I exported this as an iOS project using build settings, it did create a folder with iOS corresponding code. However seeing the following issues, which I've been trying to fix since 3 days. Tried several alternatives like switching to different versions etc, tampering with Build Settings on XCode but no luck. Can anyone please help me?

Related

Found conflicts between different versions of "System.Numerics.Vectors" in Xamarin Forms 5 project

I'm building a new Xamarin Forms 5 app using VS 2022 17.1.1. Everything in the project appears to be up-to-date.
I've been working on this project for a while and never had this issue. All of a sudden it just appeared today. The last action I took was to install the Plugin.InAppBilling package, thought the package in question is not used by the Plugin.InAppBilling package.
The error is as follows:
All I can see is that the shared project is using System.Numerics.Vectors version 4.5.0 and it seems to be dependency of Xamarin.Essentials which is version 1.7.1 in my project.
However, the version number of System.Numerics.Vectors seems to be 2.0.5.0 in the Android and iOS projects.
I found the GitHub issue here but I'm not seeing any clear resolution to this issue. Even though it appears to be a warning, in my case, I can no longer run the app because I keep getting deployment error to the Android Emulator or actual device. It simply refuses to deploy my app to the device/emulator. So, it's really NOT a warning in my case. It's a show-stopper. I'm a bit surprised about how lightly the Xamarin Essentials folks seem to have taken this issue on GitHub.
Has anyone actually resolved this issue? If so, what's the solution?
BTW, in my case both the Android and the iOS projects are throwing this error/warning and both use System.Numberics.Vectors version 2.0.5.0 even though the shared project has version 4.5.0 installed as a dependency undre Xamarin Esssentials.
I'd appreciate some pointers on how to make this issue disappear. Thanks.
At first, you can try to update the Xamarin.Essentials package in the Android and IOS project with the nuget package manager to the version 1.7.1.
And then, if the error is still here, you can right click the reference and remove the reference of the System.Numberics.Vectors 2.0.5.0 both in your Android and IOS project. Then download the System.Numberics.Vectors 4.5.0 in the nuget package manager both too.

Couldn't load Flutter project in Xcode

This Question can be repeated, but i have tried with all solutions available on web.
I'm trying to open flutter project in xcode by opening Runner.xcworkspace file from ios folder,
but facing following issue.
Couldn't load Runner.xcodeproj
Couldn't load Pods.xcodeproj
P.S have tried installing Pods
P.S Have multiple build flavors
EDIT
Today is i got the error popup with following message
The project at '/Users/nikhilsawant/StudioProjects/zingoy-flutter/ios/Runner.xcodeproj' cannot be opened because it is in a future Xcode project file format. Adjust the project format using a compatible version of Xcode to allow it to be opened by this version of Xcode
Anyone have any idea how can i fix this without update xcode, As i don't have any free space.

Issue with Fabric Unity setup. Cannot get past 1st step

I've been trying to setup Fabric on my unity project for analytics and fastlane, but it will not get past Step 1 of the setup.
I have Unity 5.6.3f1 and the plugin installation got through without a hitch on Unity, but it's like the dashboard will not recognize the installation.
I also installed (and reinstalled multiple times) Android Studio with the Android SDK and still nothing.
As per the instructions from Unity, I Built my prototype and ran it on my phone and it worked OK, but still no progress on the Setup.
The Android SDK and JDK point to the correct file path on Unity's preferences as well.
I wanted to try to reinstall the Fabric plugin, but the uninstall instructions on the site's knowledge base is only applicable for Macs and I use a PC. I don't have an option to "quit fabric" nor does it appear in my Android SDK plugin list.
I'm not too sure what to do next.
If I'm missing any info, please let me know.
Thanks!
Edit: forgot to add the screenshot
Screenshot: https://imgur.com/a/JOQuP

error : Error initializing task XamlG: Not registered task XamlG

I am developing a Xamarin Forms (PCL) application for IOS and Android Platform.
My Xamarin Studio version is 5.5.4 (Build 15). I am on stable channel.
My Xamarin Forms dll version is 1.3.0.6292.
I have also added a Xamarin Forms Labs reference from NuGet, v1.2.0.
Since yesterday, whenever i am building the solution, i get following error:
error : Error initializing task XamlG: Not registered task XamlG.
Any possible resolution for this error? I have tried clean and build multiple time. Even deleted the entire source code and redownloaded everything from source control but same error.
This error can occur if you have upgraded from an older version of Xamarin.Forms to a newer version. The underlying problem is that the wrong Xamarin.Forms.Build.Tasks.dll is being loaded compared with the one that the custo MSBuild Xamarin.Forms.targets file is expecting.
There is a bug in Xamarin Studio where the old build Xamarin.Forms build tasks are still used after the NuGet package has been upgraded. You can workaround this by closing and re-opening the solution.
However you say you have deleted the source code and downloaded everything again so it sounds like you have a different problem. It may be that your project is trying to use two different versions of Xamarin.Forms at the same time. I would look at your project files (.csproj) in a text editor and make sure they are all using one version of Xamarin.Forms. Check that they are all referencing a single version of Xamarin.Forms.targets and it is the same version.
This is silly.
I just recloned the project in a new fresh folder and build it from scratch and it worked. The more i am using Xamarin Forms, the more buggy and unbaked it seems. There are random issues which get fixed just by rebuilding the project. Or like Matt pointed in his answer below, by just restarting the studio. In my programming experience with different IDEs and platforms, only Xamarin seems to have these problems regularly.

Error comes while unity3d project opens in Xcode

My unity project creates error while opens in Xcode.
The error is
clang: error: linker command failed with exit code 1
(use -v to see invocation)
So project not opens in xcode.
Xcode Version : xcode5.0
Unity Version : unity4.0
How can i escape from this issue?
I started getting a similar linking error after I had upgraded to Unity 4.2.2 (I've only ever used XCode 5 with Unity for iOS).
To fix it - I just wiped out my whole XCode project directory and re-did the build from Unity. Everything started working for me again.
So I suggest you just try wiping out your XCode directory and re-creating it from Unity.
If you've got custom code in your XCode project - maybe try generating a new XCode project in a different place just to see if it works.
Unity does not support Xcode 5 (last tested with Unity 4.2.1). I am guessing you also are encountering the following issue when you try to build and run your unity project:
UnityException: Launching iOS project via Xcode4 failed. Check editor log for details.
In order to resolve your issue, you will need to re-install Xcode 4. I recommend downloading XCode 4.6.3 by searching for it at https://developer.apple.com/downloads/. While it is possible to run multiple versions of Xcode side-by-side (i.e. 5 and 4.6.3), my experience is that Unity will always launch Xcode 5, and I wasn't able to able to find a way to change this behaviour even with renaming the 2 Xcode apps (perhaps someone else knows a way?). In my case, I had no other need for Xcode besides building Unity projects, so I just removed version 5.

Resources