Settings bundle is not displayed in iOS Settings app - xamarin

I have created a brand new Xamarin app, added Settings.bundle folder and Root.plist inside:
But in the emulator there is nothing in Settings app under my test application:
What do I miss or do wrong?

I could get it working with a help of Xcode: create a project there and add Settings bundle item
It will create a file with a correct XML structure (Visual Studio doesn't do it even if you add new Property List file). Then just copy and paste the Settings.bundle file physically to your Xamarin iOS project and edit in Visual Studio as needed.

Related

How to open existing flutter project from Xcode?

I have an existing flutter project, which coded with VS Code. Now I want to open it from Xcode to do some configurations in Runner.xcworkspace. But it was unable to open the project from Xcode and it shows the above warning. So, how can I open my existing project from Xcode now?
If you want to make changes in the Runner.xcworkspace and you are using VSCode, I would suggest you open the project in VSCode and Right-Click on the ios folder.
Here you will see an option: Open in Xcode.
Select that option and the iOS project of the Flutter project will open in Xcode and you can carry on with the changes as you want
One thing to note is that like Android Studio, Xcode is not supported for Flutter Development as of now so if you try to open the whole project it will not let you.
Note! Unlike Android studio, flutter isn't supported to XCode yet, you have to open iOS folder of Flutter project only and solely.
1- Open XCode
2- Select 'Open existing Projects'
3- Search your project through search bar in window or search manually through directory.
4- From your Flutter Project, open the iOS folder.
And here we go! You have opened it.
I successfully open the AppFrameworkInfo.plist file with Xcode as follows.
Open the project with Android Studio
Select the iOS > Runner folder
Navigate to Tools > Flutter > Open iOS Module in Xcode

Xamarin Android Archieve is showing Empty

I want to create apk file using Xamarin in Visual Studio. I change build type to Release and I open the Archieve but I cant see anything in this screen. Help me please. Error Image
You need to archive your app fist then you can see those archive in the Archive Manager.
There are detailed steps about how to archive the app in the document:
Right-click the project in Solution Explorer and select the Archive... context menu item:

How to create .ipa file in visual studio 2017?

I am working on a Xamarin.Forms app. I can create the .apk file for Android by right-clicking on project and then click on Archive. I wonder how to generate the .ipa file for iOS using Visual Studio. If I right click on my iOS project, the Archive option is present, but it is disabled. I followed a few articles on this issue in few I found that connect to macOS on the remote. I don't want to run my project, only I need to generate the .ipa file which I will install on my iPhone. Please help me
There are detailed steps in Official document about how to create a .ipa file in Visual Studio 2017:
Read this document will help: creating-an-ipa
And here are documents about app-distribution: app-distribution
By assuming you've done all provisioning and mac connection(if don't see this article).
Set project configuration to Ad-Hoc or AppStore
Select iOS project as Startup Project
Right click and Build iOS project
At the end you'll have .ipa file in build folder({project location}/{project}.iOS/bin/Ad-Hoc/yourAppName.ipa)

Entitlements.plist file missing when creating project in Visual studio Xamarin

When creating a project in Xamarin Studio on our Build mac there is a entitlements.plist file in the root of the project.
Apparently this file is needed when a customer wants to resign the app we created for them with their own provisioning profile. if im not wrong the file is obsolete in a appstore deploy, however the client wants to test it before releasing it with their adhoc profile.
When we create a project in Visual Studio 2010 it seems to be missing. might this be a bug in the Visual studio plugin?
You will only get this file if you add it to the iOS project by enabling entitlements.
Go to the project's properties in the solution explorer and in there to "iOS Application".
There's a checkbox for the entitlements. Tick it and the plist file will be added to your project.

Running new MonoGame project with Xamarin Studio

I am trying to start a new project for mac using MonoGame. I have installed everything I believe is required but when I run the new project (mono game logo should pop up) I get these two lines in the output:
Loaded assembly: /Users/Kristin/Projects/Test/Test/bin/Debug/Test.app/Contents/MonoBundle/Test.exe
Loaded assembly: /Users/Kristin/Projects/Test/Test/bin/Debug/Test.app/Contents/MonoBundle/MonoMac.dll [External]
and the new application that is started hangs without popping up a window. I tried following the steps on this page: http://jamie.ly/wordpress/programming/software/setting-up-a-monogame-mac-application-with-xamarin-studio/
but nothing seems to be solving my problem. Any ideas?
I know its late but I just joint monogame and found the solution:
To make it work follow the following steps:
Install the latest xamarin studio from http://xamarin.com/studio
Next download the monogame files from https://monogame.codeplex.com/releases/view/102870
choose the xamarin version on mac
Next install the templates by opening xamarin studio. Next click on the top Mac menu "Xamarin Studio" Addin Manger and choose install from file and select your donwloaded file...
so far so good but your png files will not be loaded from here... so solve this issue follow the next steps:
visit the git page from monogame and download it: https://github.com/mono/MonoGame
after Downloading and unpacking the zip file go into the folder and look open the following file by using xamarin studio
MonoGame.Framework.MacOS.sln
Now Xamarin studio should open up and include 2 Projects: Lidgren. ... and Monogame.Framework.MacOS
on the top of Xamarin studio (besides the play button you should see Debug click on it and change it to Release
now do a right click on the Monogame.Framework.MacOS project and build it new
This should be done without any errors but you may get warnings... we do not pay attention on them :D
next do you need to go again to the downloaded Monogame folder from where you opened the MonoGame.Framework.MacOS.sln project.
But this time you need to dive more deep into the folder structure: look for the following folder --> MonoGame.Framework/bin/MacOS/Release
the files in the release folder are now your new libraries...
You can copy this libraries where ever you want but you should know where they are because you need to add them to your new monogame project.
Next open up Xamarin studio and create a new Monogame project by using the already installed templates...
Choose the Monogame Mac Application Template
We are now almost done:
Look for the reference "folder in the project tree inside of Xamarin studio" and do a right click on Monogame to delete the reference...
Now you need to add new references by right click on reference.
Access the .Net-Assemblies and add your files from the MonoGame.Framework/bin/MacOS/Release/- folder (make sure that you add all of them)
The final step now is to expand your Content folder in Xamarin studio and do a left click on the logo.png file.
on the left side of the IDE you can find Properties. In the properties change 3rd from top to content instead of none.
If you run now the template the graphic should be loaded without any problems :D
I TESTED IT ON SEVERAL MACHINES IT WORKS THAT WAY!!!!
ENJOY
regards
Schreda

Resources