xamarin forms: Issue with creating IPA file - xamarin.ios

I follow the below steps for creating an IPA file.
Selected the iOS project as the startup project.
Select the Release | Device configuration in Visual Studio for Mac.
From the Build menu, select Archive for Publishing.
At this 3rd stage, I am getting a pop-up box and telling "Configuration doesn't target device". I am adding the screenshot of the popup.
At the Debug mode device is there but when I changed it to the release mode it is showing the device as Default.
I refer the following blog; https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/ipa-support?tabs=vsmac
Thanks in advance

Solved this issue by following way.
Options from master project --> configurations -->check the build option of ios project.
Then the release mode showing the generic device option.

Related

Edit Configuration pops up when I run a project,ignoring it says Cant start compilation as output path not set

This dialogue box appears after I click run
When I run the android project I downloaded from Android Developers website, the edit configuration dialogue box shows up. When I press run again, it says the configuration is wrong.I am a beginner and have never opened any project (nor made in my android studio) before.
Appears if I again click run,says incorrect configuration
Another box after that which asks to set output path
I tried adding a configuration named "FragmentBasics" in the Application menu but it doesn't allow me to select the main class.
The java class doesnt get selected
(Tip: Update your Android Studio. It looks like an ancient version... Do that before doing anything else.)
(Prerequisites: Create an Android Virtual Device (AVD): Error running 'app: No target device found. Android Studio 3.6 Preview)
You don't have the right configurations.
(1 Go to the Configuration Dropdown Menu and click Edit Configurations.
(2 Delete existing configurations (None of the classes in your project have the "main" method declaration)
(3 Add an "Android" run config
(4 Fill in config information
Now you are ready to deploy your app (Assuming you have an AVD).
Hope I helped you!

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
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.
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:
Could be a bug, turning the option off and on again for building the IPA file in IPA options worked for me.
I've unistalled VS and installed again and the file created
Close Visual Studio
Delete %LOCALAPPDATA%\Microsoft\VisualStudio\17.0_d8613546\ComponentModelCache
Start Visual Studio
Build the project
the IPA created

"Generate Signed APK" option is not display in android studio Build menu

"Generate Signed APK" option is not display in android studio Build menu,
What is the problem or something I missed to install?? Thanks
When I click "Build APK(s)" , the android studio is no response
For me, clicking File > Sync Project with Gradle File System solved it for me.
Firstly check with clean > rebuild project and see that 'app' is not having "red X" icon.
Check your gradle that you had not configured it with release config yet.
There must be a signing config in gradle file
Follow Below Steps for Nice and Easy Way:-
Go to Tools->Flutter->Open for editing in android studio.
open for editing in android studio
Choose separate window. This will open the android part of your project in separate window.
Wait to Gradle to finish it's build.
Go to Build-> Generate signed bundle/apk.
Follow this video for further process.
Thank me later..!
in my case, one of my harddisks hard stopped working (in which I had my first project).
File > Settings > Appearance & Behaviour > Build, Execution, Deployment > Build Tools > Gradle menu, changing the Gradle user home to another folder solved the issue. the original value of it consisted path to my first project which wasn't existing anymore.
I had the same issue not having the "generate signed bundle/apk" enabled in Android Studio interface and this thread helped to deduce what was my issue... I'm new to android development so I didn't know what to do at all but checking the build.gradle file I realized that there were issues with the synchronization of gradle, so I found this video, downloaded the latest version of Grandle, then went to File > Sync with Fyle System, and after the sync was completed the button appeared.... so seems like this has a direct relation to the right synchronization of gradle.

cannot find virtual device on android studio 3 windows 10

I am relatively new to Android development and i recently downloaded Android Studio on my Windows 10 machine. But i am facing some problems. When i create a new project, in the activity_main.xml design tab I cannot see any virtual device. All i see is a message that says Design Editor unavailable until successful build. When I click on build,I don't see any message regarding the build in the IDE log. I have the AVD manager installed and i have also created a virtual device.
Also when i edit the RUN configuration, it asks me to select a module but in the drop down window it says no module
**Just update your repositories by clicking on install missing platforms and sync project, i hope that will help **

Android Studio won't run application from studio ide?

I've got an application I've been working on and am having an issue with android studio. When I click "build->run" and then select my device, the application never runs on my phone (and the log in android-studio that automatically comes up does not have anything, whereas in the past when I have used this feature it usually says something like, "waiting for phone..." and then the application pops up and automatically opens on the phone and you get some other pertinent information). I have the phone already in developer mode with the install from unknown sources set to on. When I manually move the application from its gradle build location to the phone and then install it manually in file explorer, all is well and the application performs as expected. As I need to debug, however, this is not a very viable solution. Anybody have any advice as to how to get it to run from the IDE? I have tried rebuilding and invalidating the cache/restarting android studio, to no avail.
When I click the run tab at the bottom I have an empty window. When I click the debug tab, I see:
Waiting for device.
Target device: samsung-samsung_sm_g920a-randomIntegerId
Uploading file
local path: /home/eric/Documents/class/OOSE/final_project/2015-group-17/project_code/android/Place2B/app/build/outputs/apk/app-debug.apk
remote path: /data/local/tmp/oose2017.myApp
Note: I am building the application on a LUbuntu 15.04 VM on a windows 8 host, and am using the latest version of android studio.
EDIT: gradle console indicates a successful build as well (obviously since moving the .apk manually to the device works properly).
Open 'Run->Edit Configurations...', and look for your app module in the column on the left-hand side.
Select it, then go to the 'General' tab.
Under the 'Activity' section, there are a couple of radio buttons. Make sure that 'Launch default activity' is selected.

Resources