Could my friend run my iPhone App without jailbreak? - ios

I have done my iOS app, but I don't want to submit to App Store.
Shall I pass it to my friend and run on his iPhone without jailbroken?
I heard it has some certain certificate allow other guys to run it.
I have developer account.
would you please provide some materials if have some ways to achieve it in legal.
Edit my question:
what is proper way to run the application on iPhone for testing with my remote designer? That is, he can transfer the application via itune, not xcode.

You have to register his UDID in apple developer portal. Then you can install your app on his phone from Xcode.

You can distribute your application using standard developer account certificate ($99), but it is limited to 100 devices.
Below is the documentation from Apple:
iOS developers enrolled in the Standard Program can also distribute an
app outside of the App Store on up to 100 different devices for
testing purposes only. To use ad hoc distribution, create an archive
of your app, or have a teammate send you an iOS App Store Package
(.ipa) of the archived app.
You distribute your app by providing the .ipa file for users to
install on their devices. Because you select a valid ad hoc
provisioning profile to archive the app, users don’t need to install
the profile on their device, only the .ipa file. Users can use iTunes
to install the app on their devices. If users want to use Xcode to
install the app on their device, share the archive as an .xcarchive
file package.
Detail documentation is found here

Related

Can I send myself an iPhone app without installing in TestFlight

If I put up my signed apk file onto my google drive and download it directly to my android phone I can install and run it.
Can I do something similar with an iPhone? Or must I get the .ipa installed on TestFlight or something similar (HockeyApp, FlightFairy etc.) first?
There is three way
Upload your .ipa to https://www.diawi.com, It will give you a download link. In this approach you have to add the devices UDI to your developer account devices
You have to buy an enterprise account
Use https://getappbox.com/download/ it's an open source repository developed by dropbox
Yes, you can do it via ad hoc distribution or in house distribution.
By distributing your app via ad hoc distribution you need to add all the devices that on which can be installed the app to the provisioning profile. Here you can use different devices like crashlytics, hockeyApp, diawi, etc.
If you distribute your app via in house distribution you will need to have an enterprise account but you can install the app on any device (is its important to mention that the device users needs to trust your developer profile in order to run the app).
Yes , you can use https://www.diawi.com portal to send yourself iPhone IPA file without using test flight.

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.

Installing a development app with Apple Configurator

I need to install a prototype app on 50 iPads, for a real time test with 50 users. It is not on the AppStore. The app is developed using most recent XCode, Swift, and a valid ad-hoc provisioning profile and development certificate. I can not create an enterprise account (too expensive), and would like to use an ad-hoc provisioning profile.
I have been able to create an "archive" (.ipa file), with following setup : built using "Generic iOS device", compatible with all kinds of devices. This is an universal app.
People who prepare the iPads using Apple Configurator can install the app, but the icon disappears immediately. I have sent them my provisioning profiles, but they say it is not working. Maybe I did not send the correct one ? Shall I declare all the devices UDID on my Apple Dev Account - that is my idea, but a bit difficult - ?
Anybody has an idea ? Maybe this is simply not possible. Please help.
One way is to use TestFlight. In this case you shouldn't declare devices UDID.
Another way - install via .ipa. In this case you must declare all the devices UDID in your Apple Dev Account. Rebuild! your app only after added all devices. After this, upload your .ipa to https://www.diawi.com and share received link (for ex. by Skype), that users should to open on their devices and install app.

How to create an IOS app that could install without the Apple Store?

I find out some app on internet that it installed my phone not through Apple Store. When i clicked "Download App" on the website, it will install automatically on the phone. I wonder why this way is available with Apple Security.
Please, give me a reason. ^_^
Read this article:
http://mobiledan.net/2012/03/02/5-options-for-distributing-ios-apps-to-a-limited-audience-legally/
You can do what you want with iOS Developer Enterprise Program -- In-house app distributing.
Compile your Application with Enterprise Account -> Upload on third party site like http://www.diawi.com & share generated link with others
If you don't know about build types then let me tell you there are 3 types of iOS ipa files that can run on iPhone
1-Developer Mode
2-AdHoc Distribution
3-App Store Submission
Developer Mode: it will only run on debugging device
AdHoc : two types of this build
i) Simple account:
for this build you have to add your mobile Udid into the provisioning profile it will only run on that device whose udid is included in the profile.
ii) Premium account:
for this build you don't have to do any thing it will run on every device without adding its udid to provisioning profile.
App Store Submission : for submitting to apple store you have to make this type of build.
//udid means your mobile device id.
Purchase Enterprise account(299 dollars) or simply create ipa and share on TestFlight but you will still need developer account (99 dollars). In developer account you can register only 100 devices so you cant send ipa to many users. In your case Enterprise account is better. It is your choice.
You are correct,
Some apps don't need to go through APP-Store
There is two types of Developer account by Apple,
If you go with "Enterprise Program" (need to pay more), and you have to create Ad-HOC app and upload on 3rd party server, and you can download it from there.

iOS App distribuition for thirdies out of Apple Store

I'm developing an app that is supposed to be distributed outside Apple Store. I've read the documentation about app distribution and don't got so clear to me how can I distribute to my specific client... I know I can generate the IPA file, but it is just for testing, right?
What I really need is: get the devices from my client, install the app on those devices for him...
I don't think I need the Enterprise Developer Program, right?
Thanks!
If you are planning to distribute huge amount of users you need an enterprise account. Regular developer account has an option to add device for testing and development up to 100 device.
If you want your app to be tested on clients device first you need to add device UDID onto your developer portal and generate provisioning profile for Ad-Hoc distribution and sign your app with this profile then you can upload it to diawi and send diawi link to your client.
you may watch following tutorial:
https://www.youtube.com/watch?v=XVO0tIHmQTg
You can use TestFlight for this. Its easy to use , optional and easy to integrate its SDK and is free for your mentioned usage.
You have to add the UDID of the iPad devices in the dev certificate and upload the app to testflight.
By integrating the SDK you can use multiple other functionalities support as well, like:
Sessions
Symbolicated Crash Reports
Production Crashes
Checkpoints
Remote Logging
In-App Updates
In-App Feedback
EDIT: you will be in need of UDIDs of the iPad devices only if you are not using Enterprise developer program.

Resources