Rider Xamarin iOS error "application bundle was not generated after deployment" - ios

I'm trying to switch from VS for Mac to Rider. My Xamarin.Forms project compiles and deploys on VS for Mac on both iOS and Android. Now I've opened the project in rider and it works great for the Android app, but when I try to run the iOS app, I get this error (after a successful build):
Application bundle was not generated after deployment
I've tried clean & rebuild, but to no avail.
Any ideas?

This happened to me today on Mac OS with the release of XCode 12.0, So what fixed it for me was to TOTALLY uninstall XCode and re down the last version I had installed, V11.6 from apple developers site https://developer.apple.com/download/more/?&name=Xcode. After that Rider will now run the iOS simulator as normal.
I guess the lesson learned is to not just update XCode until a few weeks, because I think Jetbrains need to catch up and release a newer version that works with the newer version of XCode. Of course if you need to test your app with the latest new version of iOS, then I guess you can still use VS for Mac as that still worked fine for me, but I need Rider to code, VS just doesn't do it for me at the moment
Update:
I upgraded to XCode 12 today (3/10/2020) and all seems to be working fine..
Another possible work around if it doesn't work maybe: youtrack Jetbrains

Sorry, this is a known issue with the latest release (2018.1). Already fixed and waiting to be made public as part of 2018.1.1 later this month. The only current workaround that I know is to revert to 2017.3.

Tested today.
Download the last released version directly from their website.
Now is launching iOS devices.
Rider 2.2.4

This now works for me in the 2018.2 EAP build.

Make sure you select iPhoneSimulator for your platform type under your configurations.
If you don't, you may also get the Application bundle was not generated after deployment message.
source

Related

iOS version 16.2 released, but no Xcode support?

I am attempting to run my Swift app in Xcode, and after finding out my Xcode is up to date, yet my device is not supported, I took my problems to Google. Found out through a couple sources that I need to manually add device support, using this
I added the contents from the 16.0 folder into a new folder in Xcode Device Support and renamed the folder to 16.2 as it stated I should do.
Now, when I click Build, it tries to run before popping up an error on my computer saying:
This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility.
I'm not sure what to do as it doesn't make sense for me to attempt downgrading back to another iOS version when I should be running my app with the latest version. Why does Xcode not update these folders to provide support for new iOS versions?
If you haven't received an update, delete xcode completely from your computer and download xcode 14.2 from this link https://developer.apple.com/download/all/?q=Xcode
download it from this link
IOS device support

Xcode 9+iphone8+Fabric can't use beta to install testing app

I keep got this error message on iPhone8:
"The developer needs to upload a build that supports your device's architecture (armv6)."
And the same version is ok to install on other devices (iphone7,6,ipad...).
So far I had tried
update mac to 10.12.6 and reboot
keep clean whole Xcode project
update crashlytics/fabric version
try Xcode 8.3 and 9GM
And nothing work for me.
This is a known issue that the team is working to fix. I'll post an update to this answer once we have it working. It's top priority for us and we're looking to have a solution out ASAP.
UPDATE:
This is fixed now. Beta installs work on iPhone 8.

Xamarin - When try to deploy the build never ending

I'm developing xamarin application for both IOS and Androaid, when I'm try to publish the Ios appliaction to my iphone the build never ends and no error appear, I tring to upgrade my Xcode but this didn't help.
When I'm using the IOS simulator everything works fine, the build ends and the app run as expected. I tried all the solutions that I found on the internet but none of them help.
Is anybody encounter this problem and have solution for this issue??
enter image description here
Xamarin frameworks are updated as latest stable version on both of Visual Studio and MacOs?
Did you accept Apple New License Agreement on your apple account?
You can check logs. (Help->Xamarin->Open Logs)

Xcode 8 no longer builds to device

I'm currently running Xcode 8.1 beta and have a stable release of Xcode 8 installed as well.Out of nowhere, without modifying any code inside the project, I am unable to build my project and run on a device.iOS version is 10.1 beta but the issue was not present when originally working with this version. Xcode 8 and 8.1 are experiencing the same issue and I previously did not have a problem running the project on a physical device.The provisioning profiles were up to date and I created new ones throughout the troubleshooting process.I have also gone through the basic troubleshooting options (restart the machine, restart the device, cleaned project, tried different lightning cable/USB port, reinstalled Xcode, and deleted Xcode preference files).The project builds and runs very quickly to the simulator and when attempting to run on the device I received no errors.When trying to run on a device, the build goes through the first tenth of the process and just sits there until I cancel it. I've even created new test projects to test against a known good and the issue persists.If anyone has experienced, a similar issue your insight would be greatly appreciated.
I was facing the same issue but installed latest Xcode 8.1 and issue got resolved
When you have multiple versions of Xcode installed the command line tools loses track of which Xcode to run. Make sure that this is set. Having multiple versions has always been troublesome for me.
The issue ended up being with a large number of dictionaries. The compiler was attempting to go through a rather large number of dictionaries and was unable to complete. I restructured my data model and the issue was resolved.

AppCode no product for target

I am trying to run Swift iOS app in iPad simulator in AppCode. App is successfully built, but there is an error
Error running ios-app: No product for target 'ios-app'
I am quite green in iOS development and I am trying to switch from XCode to AppCode since I am more familiar with it.
I am using latest AppCode (3.1.7), everything works great in XCode.
Thanks for responses :)
I ran into the same problem - I wasn't able to run my XCTest unit tests in AppCode any more although they were running perfectly in XCode.
My error message was "No product for target ..."
I was able to get them running again by switching to the latest AppCode 3.2 build (Tascalate).
You can get this one by opening the IDE Preferences, then go to Appearence & Behavior > System Settings > Updates
There you can switch to the Early Access Program to check for updates.
Hope this solves your issue, too.
Edit: Since Julian above asked an important question about the XCode version... in my case I was using AppCode 3.1.7 and XCode 7 beta 4. The switch to AppCode 3.2 EAP - as already mentioned above - solved the issue.
I have delete the .idea folder and restart Appcode, it's work

Resources