I am using visual studio for mac Community Edition on MAC Virtual Machine. I have created a webView iOS application with iPhone Simulator. In project options, I have checked the box for creating ipa file but actually I am not able to find ipa file for the project in directory
bin->iPhoneSimulator->Release
Please help me.
Screenshots are attached.
Select a Release Configuration
Select a Device
Perform a Build / Archive for Publishing
Related
Do we need a mac device to create ipa file and install right away to iPhone device just like for android apk?
Thank you,
Yes, we still need a mac to generate the ipa file .
Because before the step we need to select the provisioning profile , which is only accessible once connecting to mac.
Refer to Creating an IPA from visual Studio for windows.
I am facing the issue to run the xamarin app in IOS simulator. Whenever i am trying to run this app it was asking me to add or pair the Mac. Since I dont own the Mac I tried to install Xamarin.Ios in windows. In this process i need to install the XCode in my windows 10 Os. First of all i am unable to download the Xcode tool from Apple portal with valid credentials. I followed the below 2 links but no luck to download and install the Xcode. Could you guys please help me the easiest solution to download install the Xcode to do the next level of run the App in windows.
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/?pivots=windows
https://apps.apple.com/us/app/xcode/id497799835?mt=12
Bottom line is that iOS apps must be build using a licensed Mac OS, period. Visual Studio for Windows does not actually build the iOS app, what it does do is connect to a Mac (which must have XCode installed) and facilitate a remote iOS build via XCode. However, if you have a Mac, you can build both iOS and Android code directly on your Mac using Visual Studio for Mac. Yes, it is frustrating that you must have access to a Mac OS to build iOS apps, but this is a requirement and there is no way around it.
We are building a Xamarin.Forms app on windows machines using Visual Studio 2019. We have created the developer provisioning certificates, distribution certificates, developer provisioning profiles, and distribution profiles.
We pair Visual Studio to a Mac and can deploy our applications onto iOS devices. When in xCode on the Mac, we can see the provisioning profiles are installed.
When we look in Visual Studio, at Options->Xamarin->Apple Accounts, we can see everything looks like it should:
But we can't right-click->Archive our iOS project. It always appears grayed out.
Our project is set to Release and iPhone for the Active solution platform. What else needs to be done to get the archive functionality working for iOS projects inside visual studio?
I had the same issue, after deleting all bin and obj folders and moving just the proj and sln (don't copy .git, .vs etc) to mac I was able to publish using vs for mac.
note: I had to update vs for mac, otherwise it wanted to use application loader, which is no longer supported for xcode 11.
You need to have Visual Studio 2019 version 16.3 or higher to be able to archive iOS projects.
Alternatively, you can manually upload the IPA file from a mac using this from the command line:
xcrun altool --upload-app --type ios --file "/Users/*****/*****/******.iOS.ipa" --username "Your Apple ID" --password "app-specific password"
I have published an application on the AppStore and now I want to make a new Release for this app.
In Visual Studio I have just two build configurations, Debug and Release. The other configurations, "Ad-Hoc" and "AppStore", are missing
If I select the Release build configuration the "Archive" option is disabled, I can select just "Show the IPA file on server", if I load the file using "Load Application" it will be loaded like a testing version.
What can I do to be able to publish it like a release application?
I don't believe that Archive menu item has been implemented in Visual Studio yet. You can do an archive from the command line. See:
https://developer.xamarin.com/guides/ios/troubleshooting/questions/create-xcarchive/
As of Xamarin 4.x, it is now possible to create a .xcarchive from Windows by setting the ArchiveOnBuild property to true. For example, using MSBuild on the command line:
msbuild /p:Configuration=Release /p:ServerAddress=10.211.55.2 /p:ServerUser=xamUser /p:Platform=iPhone /p:ArchiveOnBuild=true /t:"Build" MyProject.csproj
The .xcarchive will be placed in the $HOME/Library/Developer/Xcode/Archives directory on the Mac build host that both Xcode and Xamarin Studio search to display previously built archives.
See this Xamarin Forums post for some brief additional notes about the ArchiveOnBuild property. See the documentation about Xamarin.iOS command line builds on Windows for additional details about the ServerAddress and ServerUser properties.
I have an application that I build in Flash Builder 4.6. The application is running fine on my Android device.
I'm now trying to export a release build to the apple iPhone. The first time I tried, I got an error that I haven't installed the apple SDK. I download the ADOBE AIR SDK 3.1.0.4880 and copied the three folders over to my C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\lib\aot
Now when I try, I get the error that the GPL component arm-apple-darwin9-as.exe is missing. When I look in the folder I see a file called arm-apple-darwin9-as but not an executable (exe).
I looked in all folders of the dowloaded SDK and I don't see any executable.
Kim
After trying another download on my Mac, i got the right files when the Mac unpacked the SDK, I transfred them to my windows computer and I was able to create a iOS app.