device deployment in iOS without connecting the device manually - ipad

I am working in iOS native applications using Xcode in objective C with SUP 2.1.3 as backend.I have deployed my application in iPAD by connecting it to mac machine.Now I would like to know, if I can deploy my application into iPAD without connecting the iPAD to mac machine ie by transferring any files to the iPAD.? Or is there any other way to do that?

Currently, there is no supported way of doing this
There used to be, in an early version of Xcode 4. Then Apple killed it - for reasons of being too buggy.
I, like you, often wish they would bring it back, just so that those that do use it don't have to use cables all the time.
Except for Ad Hoc
EDIT: I now understand the question better - you don't want to use the iPad for development as in debugger and whatnot. You want your friend to be able to run your apple on his device. Got it. Google iOS ad hoc

Related

Is it possible to connect Xcode with iPhone over internet for development?

I'm new in iOS app development. Currently I work on a project which is use CoreBluetooth framework, thats why I can't test my app using xcode simulator. Also I don't have iPhone to test at this moment. So I want to test my app using my friend's iPhone. Is it possible to do this remotely? Or is there any other way to do this?
It would be very difficult. Something similar I did sometime to test a specific device of a friend is to connect to his Mac using TeamViewer and basicaly using Xcode on his computer remotely, not ideal and only for very specific case, I strongly recommend to search for a used iPhone.

Can you build a react-native iOS app using WINDOWS?

Can you build for iOS with react-native on Windows?
Or does it require xcode?
If so, any work arounds?
I dont want to work on a mac... or a mac vm.
I think the app you create with react-native will work with iOS but you might just have to develop it without an iOS SDK. (essentially, you can't really see the app in a virtual iOS device whilst developing).
However, i think if you develop the app for android using android studio SDK with react native, the app should also work with iOS as well. It's just that you won't really be able to see the app in development on a virtual iOS device.
Another option is to use expo when using react native. Essentially, it displays your app on your iphone so you can technically do app development whilst viewing the app on an iOS device, but I don't think its that great as you can only see it on your phone, whilst I prefer to use a virtual device on my laptop.
You can view documentation for expo in the react native docs here:
https://facebook.github.io/react-native/docs/getting-started
I'd recommend you to just develop the app for android using the android SDK from Android studio. This also works with expo or react native CLI. Although you may have to develop the app in a virtual android device, I think the app also works with an iOS device (it may just look a little bit different e.g. a button in android will look different to a button on iOS)
Here's a tutorial that really helped me with learning React-Native:
https://www.youtube.com/watch?v=NuZOwsmzcro
Just follow the steps and make sure you install an android SDK. Then once you get to around "9:25", instead of starting up an iOS emulator from an iOS SDK, start up the android one from android SDK, then hit the button "a" to choose android and you're all set!
The short answer is NO. iOS apps need to build on a Mac. However, if you have a cheap old Mac, or even a Mac cloud account, you can effectively do the equivalent while (almost) never touching the Mac. Of course, this assumes that it has been setup up once, and builds via Xcode or Xcode command line. Once that is done, you can automate it so that you're working and testing only on the PC.
For example, I once took over a React Native project where the previous developer did something similar. Because it was a generic interface, he coded on his PC, then tested via the Android emulator without ever testing for iOS. At that point you can simply push code to GitHub (manually, or with something like Fastlane or a user script). Separately, you have a script on that old Mac or online Mac-as-a-service that checks periodically and builds when the code changes. There were some times when the Mac needed special attention, but for the most part, it worked solely on one machine.
Namely, you can not run IOS Simulator on windows. But you can access a virtual IOS machine and run Simulator from windows virtually as a solution..

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

Testing Apps on a Device

When using trigger.io toolkit, there's an option that says
"Build and immediately run your app, either locally, on a simulator or on a connected device."
How do you run the app on a Connected Device? I want to see the app on my iPhone and see how it behaves directly. Is this possible?
Thanks
Marc
I'm going to assume you're working on windows with an iPhone that's iOS8 because that's where you currently can't run your app directly on a connected device.
What we did to "fix" this is creating a Development Provisioning Profile with the UDID's of our test devices and added this to config -> tools in the trigger.io toolkit. In the forge you now select package -> iOS giving you a .ipa file. This .ipa can now be installed using iTunes on your test devices.
It's a bit longer than just clicking run on device like you can for Android but at least you don't have to send it to testflight and wait for apple's approval.
This is possible but it depends on your os.
If your on a Mac you can deploy to both ios and android devices from forge, just connect them via usb and build, grated you need to make sure iTunes sees your devices etc.. there are guides on the trigger site
If you are on Windows, you are unfortunate out of luck right now, this used to work but ios8 broke this so if your building on ios7 you could still do it on Windows, otherwise you would need to use testpiolet from apple

Can I start building iOS apps using only iPad 2 and iPhone?

I do not have a Mac so I was wondering if I can start building iOS apps using my iPad 2 and iPhone only?
Very short answer: No.
Xcode doesn't run on iOS.
if u want short answer, it's "No"
long answers:
there are some intresting apps on ipad2 for creating another app.... but only for play, totally not practical.
if u have a PC(windows or linux), u can run VMvare, install OSX. then u can install Xcode, and develop ios app. Remember, Xcode is the key for apple platform developing.
Buy a Mac, if u want develop app more than a try.
read this for more info: Starting iPhone app development in Linux?
you can use third-party software, but in the end you always need to compile a XCode. Except if you use web solutions. Consider that still does not have the same user's native programming expirence.
Link to watch:
http://phonegap.com/
http://www.appcelerator.com
http://www.melablog.it/post/10228/creare-applicazioni-per-iphone-senza-conoscere-objective-c-e-cocoa-5-idee-per-tutte-le-necessita
....
Short answer: NO
If remove your ONLY word in question, you can remote connect to Mac thru your iPad or iPhone
You can, actually create installable web apps in iOS, using an html editing app like Koder, however do not expect to utilize hardware features like the camera or vibrator, since you are still a webpage running on a chrome less browser. Anyways good luck building web apps!

Resources