Where do I get the iPhone SDK from - ios

I am trying to setup some WebDriver tests to run on an iPad and am having a heck of a time.
The instructions from Selenium say:
For now, you will need the full set of development tools from apple to install on your device.
Install the iphone SDK and configure your build environment as described above. You will also need a provisioning profile from Apple to be installed and configured for your device.
Where do I get the iPhone SDK from to put onto the device? I cannot find them anywhere on the App store on the device.

If you have a Mac, you can download XCode 4 which contains everything you will need to develop for the iPhone including:
-IDE
-Performance Analysis
-iOS SDK
-OSX SDK
https://developer.apple.com/devcenter/ios/index.action
To load an app on your device, you will need to sign up as a developer to access the Provisioning Portal. An annual fee of $99 is required to become a developer which includes distribution on the App Store among other things.

Related

Install iOS apps using adhoc without plugging the iOS Device on Mac computers

I am currently working on a private iOS app, and was asked to distribute it to only a handful of people without publishing to app store. I know about ad hoc and already created provisioning profile and all the requirement, archived and sent to the iOS device. My first try using ad hoc, sent to iPhone using airdrop, the app automatically installed on the device, all worked great, but all of that while plugging the iPhone in to mac computer that I used for developing the app.
My question is can we do that without plugging it in? I recreates the step with the same phone and on another phone without plugging it in and the apps can't be installed. Or is there difference in steps when plugged in or not.
In order to install an ad-hoc package to a remote device, you will need to put the IPA file on a web server and also upload the Manifest file.
However, If you don't have a handy server, there are many free services that you can use for that. To mention a few: TestFairy, Diawi.

Build ios app once, release to multiple devices

I have to deploy an Ios app to multiple Ios devices, without the apple developer program. I found out I can do this relatively easily through Xcode and just physically connecting the device. My issue is that it takes a very long time for the app to build, and I don't want to wait that long for every single device. Is there a way I can build the app once and then just deploy that built version to each device?
If we want to distribute our App in the App Store, we require Apple Developer account. But there’s a good thing we can now test our App on devices without a paid Apple Developer Account.
For your requirement as per my understanding, follow these steps:
Modify settings of your app and device on which it is to be tested, as per this link:
Deploying Apps to Devices without an Apple Developer Account
Clean and prepare a build of app for devices.
Upload this build on Diawi and share the link of build to devices for direct install.

How to generate IPA file without apple developer program and without a connected device in Xcode 7.2?

My employer doesn't have an iPhone for testing, they are also not enrolled into Apple's developer program, but they recruited me as an iOS developer.
I was told to create an app and I did it with the help of simulator.
Now, they want me to generate an IPA file of that application for their client who is in another country to test, in his iPhone. Is that even possible?
You will certainly need a developer account if you want to run your app on a physical device (unless that device is jailbroken, which I wouldn't recommend). If your employer hired you as an iOS developer, you need to inform them that a requirement to doing iOS development is a developer account.
If you are going to be writing iOS apps to deploy on client device (which you won't have physical access to), you have a couple of options.
You could have your employer pay for the enterprise developer account ($299/year). This allows you to have an In House Distribution profile, which lets you build an IPA that can run on any iOS device without the need to register the UDID for each device in the provisioning profile.
You could use Apple's TestFlight to deploy the app to your clients' devices. This still requires a paid developer account as you are basically creating an app store build and distributing to others as "beta testers". The app goes through a more lax review process, but it still must have been signed with a distribution certificate, which you only can get with a paid account.
Bottom line, if your company is asking you to develop apps professionally, you need to get them to understand that the $99/year fee is part of the process. IF they can't justify that, they shouldn't be hiring out iOS development jobs.
Without Apple developer's account it is not possible. You would not be able to archive your code either. Have a look at these documents :
Apple's documentation : Exporting Your App for Testing (iOS, tvOS, watchOS)
Stackoverflow : How to export an ipa in Xcode 7
you have to enrolled into Apple's developer program, and add all UDID into you app device ID than generate a provisional profile. install it in xcode than create an archive, zip it and upload to diawi.com. Diawi( https://www.diawi.com/ ) is best solution, It will generate a link which you can give to client and they can install it on their device directly.
I have faced same problem at start of my job :)
- but it is not possible to generate ipa without apple developer account.
- and even if you connect device to deploy then device iOS version and XCode iOS version must be same.
you have to enrolled into Apple's developer program and this is not enough. For over-the-air installation you have to use apple's testflight or hockeyapp like third party apps.

How to distribute my finished app without app store?

As the title states, I have been developing and testing an app for Iphone. I have got it to install to an iphone via it being plugged into the Mac. But, I would like to get the app place it on my webserver then via a website allow someone to download and install the app. I tried following various tutorials, but as shown below after archiving the app, the export and other buttons are greyed out. Have also made sure 'Generic iOS devices' selected. What could be causing this ?
You have to use Apple TestFlight or use a third party service to allow your beta to be distributed for testing. One good service is HockeyApp, which I am using currently and it is very cheap $10/month.
Without having the UDID of your client, you simply can't!
What is causing this may be that you are not enrolled in the correct Apple developer program.
A stock iOS device will only install an app from a link on a website if the app is signed by certificate from an Enterprise Developer program enrollment (or Ad Hoc provisioned). The Enterprise distribution method is only allowed to employees of the enrolled corporation.
Ad Hoc deployment to devices registered to your enrolled Developer account is also supported by stock iOS devices.
One other possibility is to put a link to your entire Xcode project on your website, with instructions on how anyone with a Mac and Xcode can build your app and then run it on on their device.

My iOS app just working on my developer devices other phones can't install(Phonegap)

My iOS app just working on my developer devices other phones can't install I'm using phonegap. Other devices can download but when install get full its sticking in install. I think Problem in the Provesion or certificate.
If you haven't added the other devices to your provisioning profile, you will need to.
Also, take a look at TestFlightApp.com to help with the app distribution process during testing.
You need to add all devices you want to test on into provisioning profile you are using.
Here is a good answer how to do it:
How do I add a device to my provisioning profile?
You have to keep list of devices you are using for development only during development phase.
Apple is protecting themselves from you publishing application outside Appstore.
For submitting app to Appstore you need to use Distribution certificated - than everyone can install it - but only when downloading from Appstore - you won't be able to install that build outside Appstore flow.
During development you are only allowed to add up to 100 devices on your account. On enterprise account however there is an option to release "in-house" build - which allows you to install app on many devices - but you are not allowed to use that to distribute an app.

Resources