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

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.

Related

Unable to deploy iOS app to iPhone with Xcode 7

I recently downloaded the Xcode 7 Beta in hopes of using the new feature that allows you to test apps on your phone without paying their developer fee. I followed the steps in the answer to this question
Test iOS app on device without apple developer program or jailbreak
However, I am unable to choose my device in the scheme because it is under ineligible devices. When I click 'Fix Issue', I get the error "Unable to create a provisioning profile because your team has no devices registered in the Member Center. Please connect a device, enable it for development, and add it to the Member Center using the Organizer." However, I cannot do any of this because I do not have a paid Apple developer account. How can I get Xcode to create a free provisioning profile and allow my phone to be used for testing?
Thanks!
To deploy an app to a device, it has to be registered in the member center. Since this functionality isn't available until iOS 9 is released, you won't be able to run it until then.
Xcode 7 doesn't change anything about that.
Join the developer forums or just log in to the developer centre with your Apple ID and then things will start to work as you will have joined the free tier of the developer program https://developer.apple.com/support/compare-memberships/ and Xcode 7 will show your apple ID as having free ios and mac development under accounts in the Xcode preferences section.
I've had no problems testing on an iPhone 6 and old iPad 3 both with iOS 8.whatever :)
Xcode 7 automatically registers your device, installs two development certificates in your keychain (Mac & iOS) and provides provisioning profile management ... thats kind of the whole point :)

Apple: "Code singing is required ..." [duplicate]

This question already has answers here:
Test iOS app on device without apple developer program or jailbreak
(10 answers)
Closed 5 years ago.
Is a developer certificate required if I only want to deploy an app to my iPhone / iPad ? Now when I try do build I get
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'
Should I get a certificate or is there something else I can do ?
Yes. To build on the iPhone, you need to join iOS Developer Program for $99 a year. Once you join, you can set up your certificate and provision profile.
You can use the simulator without the iOS Developer Program.

How can I run my project on IOS device.? [duplicate]

This question already has answers here:
How do you beta test an iphone app?
(9 answers)
Closed 9 years ago.
I am very new to IOS. I have developed one application in xcode and I want to run this app with my iPhone device. HOw can I run this app in my mobile. PLease provide the steps to generate .app /IPA file and provide details that how can I run this app in my device. Thanks in advance..
You could also look at this:
ProvisionYourDevicesforDevelopment
I notice the other tutorial linked follows what I think of as the "old" way. With Xcode 4 you really don't need to do all those steps manually, use the Xcode organiser window and allow it to do all the steps for you. It is much easier.

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

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.

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.