Ruby Kousinovali
Ruby Kousinovali

Reputation: 347

IPA file is not created in Xamarin.IOS

I have problem creating the IPA file for Xamarin.IOS project. In properties of the project i've selected the certificate and the provision and also selected the "create IPA file". The build finishing succesfully but no IPA file there. The project is on Release mode. Any ideas?

I also tried to make archive from the Mac but i am getting errors "file not found" because the icons folder have extention of .app and its not recognised by Mac

Upvotes: 3

Views: 2199

Answers (5)

Hamorabi
Hamorabi

Reputation: 1

  • Close Visual Studio
  • Delete %LOCALAPPDATA%\Microsoft\VisualStudio\17.0_d8613546\ComponentModelCache
  • Start Visual Studio
  • Build the project
  • the IPA created

Upvotes: 0

Ruby Kousinovali
Ruby Kousinovali

Reputation: 347

I've unistalled VS and installed again and the file created

Upvotes: 0

Luca Ziegler
Luca Ziegler

Reputation: 4164

Select Release (Solution Configuration)/iPhone (Solution Platform)/Remote Device, then right click on the iOS project and click on "Archive...".

The IPA is now building.

Upvotes: 1

Anthony
Anthony

Reputation: 75

Could be a bug, turning the option off and on again for building the IPA file in IPA options worked for me.

Upvotes: 0

FreakyAli
FreakyAli

Reputation: 16562

In the following link of Microsoft docs, it shows you the steps you need to take for creating an IPA.

  • In the Solution Explorer, right-click the Xamarin.iOS project name and select Properties to open them for editing:

  • Select iOS IPA Options and select Ad-Hoc from the Configuration dropdown list:

  • If you are including an option iTunesMetadata.plist file, click the ... button, select it from the list and click the Open button:

  • You can optionally specify a Package Name for the IPA, if not specified it will have the same name as the Xamarin.iOS project.

  • Save your changes to the Project Properties.

  • Select Ad Hoc from the Build Configuration dropdown if it is available. Otherwise select Release:

  • Build the project to create the IPA package.

  • The IPA will be build in the Bin > iOS Device > Ad Hoc (or Release) folder:

Upvotes: 0

Related Questions