how to run project in iphone mobile - iphone

hi i am new to iPhone application development. i developed a simple project on xcode now i check it in mobile. how can i done this ,means need to create exe file or any thing else
pls help me

The first step is to join the iPhone development program. Once you that and follow the instructions of createing a developer certificate you can run your code on a physical device. If you're using the latest version if Xcode just connect your device - choose device in the build settings and build & run. It will install the app on your device and run it.
iPhone developer program
Obtaining your iPhone Development Certificate - Requires login to apple dev center

Related

How to debug real iOS device from windows machine in Ionic

I am working on ionic application. I am able to debug app in real android device.
So, is it possible to debug ionic app in iPhone by connecting it through USB cable from CPU?
You require an iPhone and a mac with XCode installed.
If you are building for iOS, you’ll need to sign up for an Apple
Developer account to test as a native app on an iPhone or iPad.
Unfortunately, this costs $99 per year (don’t blame us!). Once you
have an account and you have set up Xcode with your certificates to
enable device testing, you’ll want to open the Xcode project from
platforms/ios/ and do your testing from Xcode.
Source
As you have mentioned you do have an iPhone and Mac with XCode, see the steps below:
Run ionic cordova prepare ios
Copy across your platform/ios folder to your Mac
Open the XCode project on your Mac that is located in the platform/ios folder.
Select a device or target simulator in XCode and then click on the play button to start debugging.

Compile IPA file, for ios with adobe flash

I am flash developer and I want to create an application for iphone (ios). For that reason I have registered on developer.apple.com, bought developer license, created mobileprovision and .p12 files.Also, in adobe flash I created usual layer and compiled as followed: as a target, I chose ios air 3,6. Also, I linked it with mobileprovision and .p12 files and I made compilation ipa file for ios. Also, with USB cable I connected my iphone (operating system 7.0.2) to computer and with the help of itunes I installed ipa file created by me.
After that I tried to run my app on iphone, but below aplication icon instead of application name it is written "installing ...", but after I am restarting iphone, it is written "waiting". I know that there are other alternative programming languages for creating ios applications, but I am flash developer and I want to create iphone applications with adobe flash.
Other apk files created with adobe flash work on android operating system without any problem.
http://imgur.com/X2tmQL9
This has happened to me when my certificate or provisioning profile wasn't correctly setup.
Is your device registered to the apple developer program and the provisioning profile? Are you using the correct certificate/provisioning profile combination? But if I had to take a stab in the dark I would say that you are building for AdHoc or AppStore distribution but using a development certificate...
Also, install the latest version of AIR (3.9). Previous versions aren't compiled against iOS 7.

Installing a TestFlight app on iOS iPhone Simulator - Registration Failed

I'm attempting to install a TestFlight app on XCode's iOS simulator using the iPhone simulator. The link to the TestFlight app takes me to a page that says "This device will need to be registered before it can install betas."
There is a friendly Register button. When I click the register button, it says "Registering Device" and then it takes me to the iPhone's General settings page. If I navigate back to the TestFlight page, it says "Registration Failed."
Does anyone know of a way to install a TestFlight app on the iPhone Simulator? Thanks.
The app you are trying to install is an app compiled for arm architecture, which is different from the simulator (the simulator is not an emulator). The simulator only runs x86 apps compiled for it. You will need to contact the developer of the application to send you the x86 binaries, and add them directly to the application directory of the iOS simulator. The directory (on Xcode 4.5 beta 4) is /Applications/Xcode45-DP4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/Applications. Note that the simulator's sdk version has to match the version of iOS you are trying to use the simulator with.
If you need test your Release application
you can run your on a release build go to
->Product->Scheme -> Edit scheme-> in Run change debug to Release
in this you can check your release build in simulator
If I had to guess, I would presume that since the Simulator is not a valid device, it is not able to install the TestFlight Profiles onto the device, and therefore failing registration process (when you are directed to the iPhone's Settings, it tries to install a profile on your device).
May I ask why you are trying to install the app via the iPhone Simulator? If the app's code exists on GitHub, you can use the GitHub for Mac app to checkout the code, and XCode to compile the project and build it to the iOS Simulator. There should not really be any reason to have to install TestFlight on the iOS Simulator.

testing iphone apps built on a remote mac

I'm using macincloud service to try/play/learn about building iPhone apps. I have a dummy app, and I'll like to test it on my real device.
I've got the developer certificate, I've installed the profiles, but now I'll like to test my app on a real device. Because it is not possible to connect my iPhone to the macincloud servie and because I'm on a windows machine, how can I test my app on a real device(the one with UDID that was used in generating the certificates and provisioning profiles).
Is there any file that xCode is generating and it can be used to transfer on a real device from a Win7 machine?
You need to generate an archive in XCode, and then from the organizer click "Share" to generate an IPA file. This file along with the ad-hoc provisioning profile can install the app on a provisioned device via iTunes on a Mac or a Windows machine.
For info on provisioning your device for ad-hoc deployment, see here: http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices or the apple developer docs.
Good Luck.
Correct answers have been given already. However, have a look at http://testflightapp.com . That might come handy when you go for more test devices especially when you want to distribute it to a beta testing community.
You want to do an Ad-Hoc build. You will have to read Apple's docs to see whats involved. Then you will have an app file you can install with any iTunes.

How to install project ipa file on iPhone query?

I have created Map application for iPhone using xcode 3.2 and sdk 4.3.2. I have created
ipa file and send it to my client. But he is unable to run my project on his iPod. What are
the steps to follow for my client to run an project ipa file. Do my client need to jailbroke his device????
Open iTunes, drag the ipa to the library and then sync the device. Make sure the app is selected to be installed on the device.
The only other thing I can think of, is that his device is not provisioned to run the application. Have him give you the UDID, add him to the provisioning profile and then make another build if the first solution does not work.
And no he doesn't need to jail break his device.
don't jailbreak!
use testflightapp.com :)
follow their directions, and make sure you register your client's device and update your provisioning profiles when building your app.
good luck!
if you have a developper licence, you should try TestFlightApp.com.
I've just explained what's this tool there: How do install iPhone application from Xcode to a remote iPhone