Is there is a counterpart of .apk in ios [duplicate] - iphone

This question already has answers here:
What is the equivalent of apk in iOS?
(2 answers)
Closed 9 years ago.
I was an android developer and trying to learn on IOS programming, i wondering if there is a counterpart of .apk file for the application in IOS. Because there is the time that i need to send the application to my boss to try it on the his device. Is there are counterpart of .apk in IOS? or there is a other way in IOS to do that. Thanks in advance.

Yes, it's called an IPA ("iPhone app"). To send to your boss, you'll need to create an "ad-hoc" build, using his device ID in a provisioning profile. There are tons of resources for this on Apple's site and elsewhere, but in brief:
Add the test device's UUID to the iOS provisioning portal in developer.apple.com.
Create a new provisioning profile for Ad-Hoc Distribution that includes this device.
Set up your project's build settings for Ad-Hoc build to use the new provisioning profile.
Product -> Archive, then select the archive and "Distribute". Choose Ad-Hoc, and I think you'll be able to save the .IPA from there.

Related

Test iPhone App without Apple Dev Account or Jailbreak [duplicate]

This question already has answers here:
How can I deploy an iPhone application from Xcode to a real iPhone device?
(12 answers)
Closed 9 years ago.
I made a small little app I want to test out on my iPhone 5. Problem is I cant fork out $100 for apple or since its an iPhone 5 I cannot jailbreak it. I really need to test this can somebody please help?
Thanks!
iPhones will only execute binary code that has been cryptographically signed by a private key which Apple has authorised.
The only way to get your encryption key authorised is to pay $100 per year and agree to their developer contract.
You can run the app in the iOS simulator on any modern mac without signing it and without paying any money. Just install Xcode, select "iPhone Simulator" as the target, and click the Run button.
If you can find a friend who has a developer account, they might be willing to sign your app with their private key. Build/Archive the app without signing it, email it to them along with your device UDID and a few other details, they will have to create a provisioning profile and then sign the app and email it back to you. Then you can drag it onto iTunes to install the app.
This deployment method is only intended for beta testing code, so it will expire after some months the steps have to be repeated.

How to create a .ipa file in XCode 4.6? [duplicate]

This question already has answers here:
How can I deploy an iPhone application from Xcode to a real iPhone device?
(12 answers)
Closed 10 years ago.
I am trying to put my xcode project on my (jailbroken) iPhone. what can I do? i tried to Archive the product but it is greyed out. Also, when I plug in my iPhone and try to build it with xcode in my iPhone, it says "code signing error". can i do this without paying the 100 bucks for a developer account? I don't want to publish my apps in the app store.
Unfortunately, running your app on a device requires a certificate, which requires a developer account AFAIK.

Enterprise distribution apps on iOS, possible to drag and drop the ipa into iTunes?

Just curious, if I compile an app configured for enterprise distribution can I simply drag and drop the IPA built into iTunes then install it on an iDevice?
Yes, you can also set it up for wireless distribution. This is assumping you know how to build and code sign it with the correct provisioning profile. See this question for info on how to distribute it wirelessly.
iOS 4: wireless app distribution for in-house applications
Definitely possible. That used to be the regular way, until OTA came along in iOS 4.0. The app can be mailed to the user, or can be downloaded by her from intranet portal, which is then copied to iTunes and synced like an app store app.

Is it possible to add distribution profile to iPhone when building?

I can't add one to devices in xcode organizer...
When I build the app for release, should I choose simulator or device?
For releasing your application you can not use simulator , you have to specify device or distribution.
you can use simulator for only testing purpose in ur pc.
I didn't understand the question at all. But you need to choose "Device" for distribute your iPhone App, otherwise your App gets rejected before the Review has begun or it's not possible to use it for AdHoc.
For using an AdHoc Distribution Profile you need to register your Device in the iOS Developer Portal, and add it to your AdHoc Distribution Profile. Download it and drop it on the Xcode Icon. Choose the Code Signing Identities, add the Entitlements.plist, Archive your App, drop the IPA on iTunes and install it.
If you need more infos please leave a comment.
There is actually a complete tutorial for the process at iOS developer center. See: https://developer.apple.com/ios/manage/distribution/index.action
You can not add a profile directly to your device. (Actually, I don't know if you can but its of no use really). You have to SIGN your app using a profile.
You can choose either simulator or device for building for RELEASE. Though simulator build will only work on simulators and are only good for testing on it using RELEASE settings (if any).

Difference between Development and Distribution Provisioning Profile on Provisioning Portal? [duplicate]

This question already has answers here:
iPhone development - what is the difference between a development and distribution provisioning?
(2 answers)
Closed 9 years ago.
I am going to activate APNS on my app, so i am having bit confusion over following.
What is basic difference between Development and Distribution Provisioning Profile on Provisioning Portal
I am going activate APNS(Apple Push notification Service) to an Application which i am going to upload on Apple Store. what should i use?
This will be great for me. Thanks in advance.
Just to explain a bit more, the development provisioning profile is for testing your App on a device (iPad, iPhone, iPod Touch), and the distribution profile is used when you're submitting your application to Apple to get it onto the store.
Both profiles are linked to your account as well as keychains on your computer.
If you'd like to install your software on several devices without using the App Store, you'll have to create an Ad Hoc distribution profile with the device ID numbers, and install that profile as well as the software, on all of the devices.
1) Development provisional profile, used for testing your app
2) Distribution provisional profile, used when you are ready to submit your app to the app store
Follow - iPhone development - what is the difference between a development and distribution provisioning?