How to enable USB Debugging in IOS 7 - ios

I cant understand, how to debug? In android it in "Settings - Developer options - USB debugging". but in iphone with ios 7 I cant find it. Maybe the developer options menu is hidden, but how to show it?
I'm using Xamarin.IOS in Windows 8.

iOS does not allow any kind of USB debugging with an ordinary device. If you have paid for an Apple Developer account, then after provisioning your device, developer options will become available. However, unless you have done that, you will not be able to debug.
It's a sad fact.

Xamarin announced the new "iOS USB Remoting" feature that allows you to deploy and debug to an iOS device that is attached to your Windows pc. However, you still need a mac for building:
http://sdtimes.com/xamarin-announces-new-ways-developers-build-ios-apps-visual-studio/#ixzz47U7prhgb
The forum says that this feature is planned for cycle 8 which is in alpha at the moment:
https://forums.xamarin.com/discussion/65834/ios-usb-remoting
Btw: macincloud.com is a great alternative to having a physical mac.

Related

Xamarin VS Windows - IPhone does not show up

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).

Deploying iPhone and iPad apps on Apple silicon Macs from TestFlight

With the advent of iPhone and iPad apps on Apple silicon Macs, I am wondering how I can distribute beta builds of our app to test on the new hardware without making it accessible to the public.
We have disabled public downloads of our app since we are not sure if they will run up to our standards.
iOS Apps on Mac Availability All of your compatible iOS apps will
automatically be made available on the Mac, or you can select
individual apps below. If you click "Don't Make Available," none of
your existing apps will be made available on Mac.
Is there a way to enable this feature on TestFlight or maybe through a third party service such as AppCenter?
Thanks any helps would be greatly appreciated!
There's an option to enable Test iPhone and iPad Apps on Apple Silicon Macs in TestFlight, you can find this option within testing groups.
You can directly test it on a Silicon-based mac machine with the latest Xcode. You need to choose Mac(Designed for iPad) option there.
After proper testing, you also need to verify your application for MAC OS, otherwise "Not Verified for MAC OS" text will be visible under the application name.
In the above image, you can compare the difference.
If you want to verify your application for macOS.
1-Choose your application on https://appstoreconnect.apple.com/.
2-Choose "Pricing and Availability" under the "General" tab.
3-Click "Verify Compatibility" under "iPhone and iPad Apps on Apple Silicon Macs".
4-Press Verify Button.
Your application will be verified and "Not Verified for MAC OS" text will be removed.
If you require additional information, please, let me know.
Thanks
Theoretical Answer
Since I am unable to test on actual hardware for now, I have an idea that maybe someone on here can test. Considering that Silicon based computers should be able to run any iPhone or iPad application, the could someone confirm if this works:
Download TestFlight on Silicon based Mac
Install development application on Silicon based Mac
This is just a theory and I will remove / edit this post when I or someone else finds the correct approach. If you are lucky enough to have a Silicon based Mac and a developer account it would be greatly appreciated if you could test this out, many thanks!

Why cant I build apps on my PC but I can on my mac? Xamarin

So I got my MacBook pro yesterday in hopes of developing some local apps to build on my phone.
And after setting everything up, Visual studio on my mac and XCode, and I already had Visual Studio on my PC things started messing up.
I tried debugging my app on my phone from my PC, with the phone connected to my PC ofcourse, didnt work, so I read around on the internet for a good 4 hours and it said that I should create a blank project in XCode, and for the Signing in preferences I had to choose Team, so I did and it debugged the application on my iphone when my iphone was connected to my Mac,
However I DONT want to code on Mac computers, I want to use my PC.
But everytime I try to debug the application from my PC it keeps saying
Could not find any available provisioning profiles for iOS.
I am running a iPhone 7 with the version 10.1.1 because I dont want to update due to various reasons.
I tried changing the Deployment target to something really low but that didnt fix it.
Why is this happening?
Visual representation of what the error looks like
Not sure if this picture helps, this is the project properties > iOS Bundle Signing
And my device log is empty aswell.. Why?
ANother error message saying it doesnt support
EDIT
I plugged it into the mac and now its visible in the Device log and I can see stuff happening in the device log but I still cant boot the project on my iPhone
Apple doesn't allow developing for iphone on a non IOS device. This simply means that you can't build apps on a Linux or Windows computer/laptop the normal way. You are stuck on building your project on an IOS device.
There are 2 options to fully develop on a Windows laptop though.
One way of doing so is by using your mac as a gateway to send your app from Windows to IOS to your phone. More info about this can be found here:
https://learn.microsoft.com/en-gb/xamarin/ios/get-started/installation/windows/
The second option is a newer one called Xamarin Live Player. You don't need to use a mac at all for developing, but you still need a mac if you want to publish the app. This option also works differently from normal development as you need to download an extra program on your phone.
https://www.xamarin.com/live
You could try to do manual provisioning. Create a development provisioning profile at the Apple Developer site, and have XCode download it for you. Then it should show on your PC for you to select.
See the Xamarin documentation on manual provisioning for some more details:
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/manual-provisioning?tabs=vsmac#creating-a-development-provisioning-profile

I am trying use IOS Simulator/Emulator or iOS SDK in windows PC a.Is it possible to install IOS Simulator/Emulator or iOS SDK in windows PC

I am trying use IOS Simulator/Emulator or iOS SDK in windows PC for Mobile application Test.Is it possible to install IOS Simulator/Emulator or iOS SDK in windows PC
No you cannot do this legally but you can test your app on any platform by uploading your app on app.io and just run it anywhere.
NO, You need Apple Device (iMac, Macbook, Mac Mini) to develop iOS Applications and iPhone/iPad for Testing on devices. Apple provides Xcode it's Integrated Development Environment Tool only for the MAC. Please use Apple Devices, register for Developer program and use their resources. click on https://developer.apple.com for all the info.
Have you heard about the virtual box..?, It may fulfill your need. It will run the windows macintosh (hackintosh) on it. You can develop apps there and see your apps on simulator too. The main task is to download a working macintosh set up in a virtual box. You can get many tutorials for it on google. If you need any help, please revert to me, Thanks :)

Trying to debug a web site on iPad, but the device doesn't appear under Develop menu in Safari on my Mac

According to iOS Developer Library Debugging guide it should be possible to debug a web site in Mobile Safari (on iOS 6) remotely from desktop Safari, through a usual USB connection. But after completing described steps (I turn on Web Inspector on iPad, connect it via USB to my Mac, switch on Develop menu form the preferences) I still do not see any device item under Develop menu in desktop Safari. Is there any other crucial requirement for this to work? Minimal Mac OS X version maybe? I have 10.6.8.
It turns out that support for remote debugging was added only in Safari 6, which, for some unexplainable reason is not available for Snow Leopard, only for Lion (in limited version) and up. So I bought an upgrade to Mountain Lion and it simply works now.
Apple wants to force the developers to upgrade to the recent OSX (which is bundled with the recent Developer Tools).
But there is an working way for debugging iOS6+ Safari for developers using OSX 10.6.8 / Windows / whatever:
WeinRE
It works just fine like the official way. Maybe Apple took this project for their debugging (just a guess).
In the preferences for Safari on iOS, there is an option under advanced that allows the toggling of 'Web Inspector', which turns on and off this feature (at least this is on iOS 6, I don't have older devices to check this on).
There is also a limitation that:
Important: You can only inspect apps on devices that have been transferred to your device from Xcode. You cannot inspect apps that have been downloaded from the App Store, even if it is your app.
So I expect that developer apps are the only other ones that you can manipulate in this manner.

Resources