We currently have a Xamarin.Forms application that requires a Mac to build the Xamarin.iOS project. We purchased two MacMinis to do this but these are located in our office and due to Coronavirus we are all working from home for the foreseeable future. We are trying to use Microsoft's wireless deployment feature (https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/wireless-deployment?tabs=windows) - this works if I'm in the office on the same network or I take the MacMini home because all hardware (laptop with VS19, MacMini and iPhone) are on the same network. However, my laptop does not detect the phone when the MacMini is in the office and my laptop plus iPhone are at home on the VPN. I'm going to speak to my companies IT department to see if it is any settings on our VPN side but any suggestions or assistance would be much appreciated!
What I've Tried:
I've tried connecting the iPhone to the VPN and wirelessly deploy it from Visual Studio 19 but my
device is not detected.
I've looked for an answer through Stackoverflow's "Similar questions".
A quick Google search didn't retrieve anything relevant to wireless debugging/deployment using a VPN.
I've searched on Microsoft Community to see if any issue had been raised.
Related
I'm using Visual Studio for Windows and I have a Xamarin Forms app for Android and iOS. I mostly test physically on Android (since that is much easier) and I have tested on an IPhone as well about a year ago, which worked fine (without a mac). Now I plugged it in again and it doesn't work anymore: the IPhone does not show up in the debugging list.
I have:
Apple Developer account and I'm connected with this account from Visual Studio
Identifier for Bundle
Profile (created by VS itself, with Type 'Development')
What am I missing here? I haven't added the provisioning profile in my solution, is that something that needs to be done? Am I missing another step?
I hope someone can help.
For the exact breakdown on how to setup and get started with your iOS solution, follow Microsoft's Xamarin iOS on Windows guide.
The tl;dr though is: you absolutely need a Mac to run a Xamarin iOS project, even on windows. I do not know how you had your project setup last time, however this has been the case since Xamarin's debut. Although, you could also just have access to a Mac through network connection instead of having a physical Mac. Without a physical device, you can use the Mac's ios simulator. If you are planning on using a physical iphone though, said device needs to be plugged into the Mac and not the windows machine. Later MacOS do support wireless connections of trusted devices, but it is still a wireless connection from the iphone to the mac (needing to be on the same network).
I am using Ionic for developing mobile apps. I have bought the developer license and installed my app on my phone but for some reason i can only see a blank screen. For debugging i would need a Mac computer, but unfortunately i don't have any and remote desktop also won't works because i need to connect my phone via usb.
I am really disappointed and i need to finish my app for my university thesis but Apple just can't let me do that. I would be really happy if anyone could help me because i tried some method with google, but i could only debug websites not my app.
I apologize if this has been covered elsewhere. I have researched this topic to the best of my ability but I am still unsure of the answers I have found. I am a senior in college and I am developing an app to essentially act as a remote control for a device that my team is building for our senior capstone project. Everything is progressing fine for the Android app etc., but we are interested in developing an iOS app as well. We were steered toward Visual Studio 2015 or later for this since none of us own a Mac. We do not have an iPhone and we are not interested in trying to actually sell or deploy the app officially. All we really need is a means to simulate the iOS app on a PC and demonstrate that the functionality is still there to control our device.
I have seen several posts stating the requirement of a Mac regardless to, at the least, handle conversions for any app development on a Windows machine. I have also found a couple posts with a potential work around that involved installing a Mac VM, though I am not sure if these are "legal" solutions or not? We do not have it in our project budget to purchase any Mac systems, OS, or cloud services to develop the app. I have only done light work on Macs unrelated to programming so I know very little about what is possible regarding VMs etc.
At this point I am looking for some clarity on whether there is an actual legitimate and legal means to simulate an iOS app using Visual Studio and a Windows PC only? In our case, we would need the simulation to be able to connect to our device wirelessly and control it. It is OK that the physical device would actually be a Windows laptop, the CS department just wants to see that we have developed software that could in theory work on an iOS device. We would be presenting our work in detail during weekly updates so the solution would need to be above the table in all regards.
I apologize if this is answered elsewhere. The options in Visual Studio and most of the guides online are pretty unclear about what you can and can't do specifically under the various project types. We didn't want to get too deep into development with C# only to hit an impassable wall and lose all that time. It seems Apple keeps everything under close guard so I was suspicious about the VM alternatives to having a Mac. Thanks in advance for you time!
You must have a Mac to develop iOS apps, either to act as a build server, or as your primary development machine. Even when using Xamarin, the build tools and iOS Simulator are provided by Apple and will only run on Apple's OS. You can only legally run Mac OS on Apple hardware.
Just to add to the previous (and correct answer imo) which states that you need a mac to legally build IOS apps.
You don't need a powerful mac in order to do the building. I've been using a mac mini as a build server for a year now with no major problems. I wouldn't want to do any actual development on this machine, but it's great for sitting in the corner and doing builds sent via visual studio.
You can still do all IOS Dev on windows with visual studio (connected to the mac for building). Additionally with the enterprise version of VS you can run the IOS simulator on the PC, but again it requires a connected Mac. Although I'm hoping that they will eventually bring this functionality back to community users.
In your specific (academic) case whether or not you do manage to get a mac for building, I would suggest looking at Xamarin Test Cloud for providing evidence that your software will work on a large number of devices.
I assume Samsung forums devoted to Tizen would the the first place to resolve this issue but after reading through them it seems that nobody has succeeded with this and the support has not provided any valuable information either so I'll just hope that there are some SO users working with Tizen TVs who have encountered and maybe solved this themselves.
I am trying to connect to a Tizen Smart TV from the Tizen IDE to deploy a native application. As far as I understand this functionality is quite new and supported only in recent firmware releases. I've updated to the latest firmware (1411) but still neither the Tizen IDE (namely the Connection Explorer component) neither the native sdb command line tool seem to work ( I've described the behavior in detail in this post to the Samsung Tizen forum).
The sdb tool seems to fail with any command other than sdb connect. Connection seems to succeed but after that any other command like sdb dlog or sdb shell simply print that the connection has been closed. Wireshark also approves this - every TCP message gets a CLSE reply.
Is there anyone on SO who has successfully deployed a native application via the developer mode on a Tizen Smart TV and could share the recipe?
adding your workstation's ip to the TV's hosts is a must.
on the tv, go to apps, put focus on my apps and click 1,2,3,4,5 on the RCU.
a pop up message with ip input comes up.
enter your workstation's ip and reboot the tv (turn off, turn on)
try to reconnect, good luck
I had the same problem: when I tried to connect to Samsung Smart TV from Tizen SDK or sdb, It didnĀ“t work.
For me, the solution was to define in the Samsung Smart TV ip config the IP from the Macbook where I am running the Tizen SDK (according to the recomendation in this link)
So, in my private network the Samsugn Smart TV was on ip 192.168.0.102, and the Notebook was on ip 192.168.0.103
I opened the developer mode in Samsugn Smart TV, it was ON and I change there the IP to 192.168.0.103 (It was the private Macbook ip)
After that, the sdb command and SDK work and my demo app is running on the Smart TV:
$ sdb connect 192.168.0.102:26101
connecting to 192.168.0.102:26101 ...
connected to 192.168.0.102:26101
My software and hardware versions are Samsung (JU6500) and Tizen SDK Version : 2.4.0_Rev7
I hope it answer could help you, may be you have the same problem... It tooks me a lot of time find this solution...
Try to Menu -> System-> Smart Security -> Settings: Deactivate network security
Then reboot device. Power off wait 30sec. power on.
Try to connect via the instr. of Samsung. Worked for me
I had the same problem after reset the TV to factory settings. For me, upgrading TV firmware from 1430 to 1443 did the trick.
To upgrade firmware:
Menu->Assistance->software update->update now
Good Luck
I have a requirement for Mobile App development for both Android and IOS. Android development has done smoothly with Native Code. But for IOS development we don't have a Mac Machine to use. Only option the client has provided is a Mac Mini which shall be shared remotely . We have Windows machines to access the Mac remotely.
After searching through the net found some alternatives like macincloud , xcodeclub etc. but not needed as the client is already allowing us to access their mac machine.
Would like to know whether it hampers the development in any ways such as emulator, testing, or even use of Titanium or similar tools if required. Some of the advises were mainly pointing out the slowness of this approach as well as the Connecting windows machine configurations should match to specific mini mac config. Bit confused to work a way out.
Please advise.