Xamarin.iOS MvvmCross template; can't open storyboard - xamarin.ios

I get the following error when I attempt to open a storyboard for a project I created from the "MvvmCross Single Page Native Application" template:
"Project /Users/username/Desktop/MyProject.iOS/obj/Xcode/0/MyProject.iOS.xcodeproj cannot be opened because the project file cannot be parsed."
Everything works fine if I use any of the iOS app templates.
I'm running the following environment:
Visual Studio Community 2017 for Mac (Preview)
Version 7.4 Preview (7.4 build 1026)
Installation UUID: d672627e-29b7-49bc-8b23-bb090208de99
Runtime:
Mono 5.8.0.127 (2017-10/1eac626536b) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 508000127
Xamarin.iOS
Version: 11.8.0.20 (Visual Studio Community)
Hash: 1c6f300e
Branch: d15-6
Build date: 2018-02-07 23:42:40-0500
I'm running preview so that I can target Android 8.1 for another project but I was having the same issue with the stable release.
Thanks for the help.

Upgrade your Visual Studio to Preview 8 , it should can solve the problem.
Refer to here.

Related

Kotlin Multiplatform Mobile - Issue while running ios app from Android studio

I'm exploring KMM, I have done with the setup in Android Studio. I could able to run the Android app perfectly, but when I try to run the ios app, facing an issue in configuration setup. Xcode project scheme Dropdown is empty. I have attached a screenshot for reference.
Android Studio v4.1.2
Xcode 11.4
Mac OS 10.15.4
Kotlin plugin version
1.4.20.
Note:
I tried specifying the Xcode project location. But no luck.
But when I launch the ios App directly from Xcode, the app is working perfectly.
For your Kotlin version, the KMM plugin version should be 0.2.0 in accord with this release page https://kotlinlang.org/docs/mobile/kmm-plugin-releases.html#release-details.
I solved using Kotlin v1.5.0 e KMM v0.2.4.

New install of Android Studio 3.2.1 create basic project error

Android Studio 3.2.1
Build #AI-181.5540.7.32.5056338, built on October 9, 2018
JRE: 1.8.0_152-release-1136-b06 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
When installing Android studio and then creating a basic project with a basic Activity this is what happens, look at the pictures:
Invalidating cache and Restart in the File menu makes no changes.
I uninstall Android Studio making sure all folders are gone like C:\Users\user.AndroidStudio3.2
Installing a fresh copy Android Studio 3.2.1 but still this error
ERROR OUTPUT
DUBLICATE MENU ITEMS
MISSING AVD and SDK
MAKE MAKE
Under Build, click on Build APK(s). If you do not have APKs installed, install them. There is Generate APK under Build too. Check your Gradle files for any added repositories you need to use. Also check that you have installed SDK of your choice.

Portable Class Library project - reference assemblies not installed?

I'm using Xamarin Studio Version 4.2.3 on a Mac (Starter Edition; Mono 3.2.6; Xamarin.Android Version 4.12.1; Xamarin.iOS Version 7.2.02).
I created a blank solution. I added an Android application project and an iPhone application project. Both build and run okay. Now I've added a Portable Class Library project which I want to link to from my application projects. However! My Portable Class Library project is showing up an error in my References folder for the .NET Portable Subset reference, as follows:
Framework not installed: .NETPortable,Version=v4.0,Profile=Profile136
How do I resolve this??
Additionally, when I open the Project Options window and navigate to the General section, the only Target Frameworks listed are:
.NET Framework 4,
Silverlight 4,
Windows Phone 7,
Xbox 360.
No Xamarin.Android and no Xamarin.iOS...
Please check you have the Mono MDK, not the MRE.
I installed the MDK (whatever that is??) from the following directory...
http://download.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-3.2.6.macos10.xamarin.x86.pkg
... and that fixed things for me. No need for an uninstall and reinstall of my Xamarin setup.
Note that I had to quit and restart Xamarin Studio for the change to take effect. I also restarted my Mac for good measure!
That's weird. I don't have Xbox as an option on my Mac. I have it as an option on Windows (Xamarin Studio & Visual Studio). What edition of Xamarin do you have installed?
Maybe you need to reinstall it?
My machine:
=== Xamarin Studio ===
Version 4.2.3 (build 60)
Runtime:
Mono 3.2.6 ((no/9b58377)
GTK+ 2.24.23 theme: Raleigh
GTK# (2.12.0.0)
Package version: 302060000
=== Apple Developer Tools ===
Xcode 5.1 (5084)
=== Xamarin.iOS ===
Version: 7.2.0.2 (Business Edition)
Hash: 58c3efa
=== Xamarin.Android ===
Version: 4.12.1 (Business Edition)
=== Xamarin.Mac ===
Xamarin.Mac: Not Installed

Get application version in Xamarin.iOS no longer working?

I'm using
string version = NSBundle.MainBundle.ObjectForInfoDictionary("CFBundleVersion").ToString();
to get my app's version. It is set to 1.2.0
However the code above returns 1.0. I have already recreated info.plist without success.
I know I used the same code in previous projects, so what changed?
Of course I have already tried to clean and rebuild.
Xamarin Studio Version 4.1.12 (build 6) Installation UUID:
b8bdc5a1-348b-4fad-8e4f-4632ee990c59 Runtime: Mono 3.2.3
((no/8d3b4b7) GTK+ 2.24.20 theme: Raleigh GTK# (2.12.0.0) Package
version: 302030000
Apple Developer Tools Xcode 5.0 (3332.25) Build 5A1413
Xamarin.iOS Version: 7.0.2.7 (Indie Edition) Hash: 57edee2 Branch:
Build date: 2013-04-10 18:05:51-0400
The "Version" entry in the UI actually maps to CFBundleShortVersionString just like Xcode does. The "Build" entry is what maps to CFBundleVersion.
Hope that helps.

Getting error with SDK on Visual Studio 2012

I am trying to make a windows 8 application using Visual Studio 2012. Its an RSS reader and i am using Split App - Javascript template. When i build the app i am getting this warning :
Warning : DEP0810 : This app references Microsoft.WinJS.1.0, version 1.0.8514.0, found in your SDK, but you have a higher version of Microsoft.WinJS.1.0 installed on the target machine, 1.0.9200.20602. If you continue to run this application, it will run against the currently installed version, Microsoft.WinJS.1.0, version 1.0.9200.20602. Consider updating your SDK to match the version of Microsoft.WinJS.1.0 that is installed.
I don't know how to update the SDK.
Any help is appreciated.
Try downloading the latest version of the 'Visual Studio 2012 Extensions for the Windows Library for JavaScript', below:
http://www.microsoft.com/en-us/download/details.aspx?id=30687
I had a similar problem with Visual Studio 2013 and MS WinJS.2.0 which I updated from the following web address which resolved the problem:
http://www.microsoft.com/en-gb/download/details.aspx?id=40793

Resources