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

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.

Related

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)

Settings bundle is not displayed in iOS Settings app

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.

Error when generating ios publication file in visual studio 2017

I'm going to publish an application in the apple store, where I already created the certificate for mac, I already have an apple account. What I am not getting and generate the .ipa file to attach to the project by visual studio 2017 on windows. I checked some tutorials and they told me to put the project as ad-hoc but it generates the following error
Severity Code Description Project File Line Suppression State
Error The OutputPath property is not set for project 'App39.csproj'.
Please check to make sure that you have specified a valid combination of
Configuration and Platform for this project. Configuration='Ad-Hoc'
Platform='iPhoneSimulator'. This error may also appear if some other
project is trying to follow a project-to-project reference to this project, this
project has been unloaded or is not included in the solution, and the
referencing project does not build using the same or an equivalent
Configuration or Platform. App39

ipa file is generated in the release mode but not in ad-hoc mode

I am trying to generate my ipa via Mac agent in Visual Studio. When I choose the release mode, it is ok and the Visual Studio shows me this message:
The ipa file should be visibile on the build server.
But when I try it in ad-hoc mode, it just tells me this error:
ipa file was not generated. please check the project configuration
I tried the different solutions, for example, I change some configurations in info.plist. But the error is still there. Do you have any suggestion?
Ensure that you have enabled the build in the project configuration.
open project properties
select iOS IPA Options
change configuration to Ad-Hoc
change platform to iPhone
enable Build ad-hoc/enterprise package (IPA)
After investigating the problem for some hours I found - in my case - there were some problem with my Apple developer account handling in Visual Studio and that's why VS could not find any certificates to sign / generate ipa.
So, pls check your Apple developer account settings in VS options (Tools/Options/Xamarin/Apple accounts) After reentering my credentials IPA is generated in my case.

No IPA file found when building with Visual Studio

I'm developing my project in Visual Studio 2012 using Xamarin Monotouch.
I choose profile Ad-Hoc, specify signing information (provision profile, identity etc) and build my project.
But I see no IPA file generated neither on my PC, nor on Mac. I tried to find it, but it was unsuccessful. It happens even in new HelloWorld project. Where can I find IPA file?
'Show IPA file' toolbar button in Visual Studio is always inactive.
When I do the same thing in Xamarin Studio on Mac it's ok, I get my IPA file.
I have a Distribution configuration setup that I use. On either Mac or Win my IPA is created in the "\bin\iPhone\Distribution" folder. For my configuration, under "iOS IPA Options", I have the option checked for: "Build ad-hoc/enterprise package (IPA)". Are you a registered Enterprise Apple developer? You may need to research if that is required or not. I also assume you have a the Xamarin.iOS Business license too?

Resources