iPhone shows Question mark (in place of its icon) on connecting to the Mac - iphone

I have a (dev) build for the iPhone App & I need to install it on the iPhone that has been given to me.
Now, I have added the iPhone as a device to the provisioning profile for the App.
But, When I connected the iPhone to my mac, Question mark appears in place of its icon (in XCode > Windows > Organizer). And the options under the device are limited to Device Logs and Screenshots.
And on right hand side detail appears : "The version of iOS on “iPhone” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here." Which clearly means that ihave to update my iOS SDK for the XCode that I am using.
Is there any way to do, like without updating the XCode for latest iOS SDK, I can install the App to the iPhone provided to me ???

You just build the app, and locate the .ipa file from the products. Then drag the ipa file into itunes and then sync it to your device.

If you have got the Xcode project..then you would have to update Xcode..that is the only solution..
but if you got the build in .ipa format.then you should register your device on www.testflightapp.com and then transfer that ipa from there to your device..

Related

Can't install app on iOS 6.0.1 devices

I developing iphone app with xcode 4.5. I used TestFlight for ad hoc testing.
When upload build (.ipa) to TestFlight and get the installation link. i am able to install app on my iPad 5.0.1 using TestFlight installation link. But i tried to install app on iPhone 6.0.1 it gives me error message. "Won't install this app".
The problem is that XCode 4.5 doesn't support iOS 6.0.1. And hence your .ipa file isn't install in device with iOS 6.0.1. Solution to this is update your XCode to latest version which is 4.6. It'll solve the problem.
There is another solution.
The problem
The problem is the new OS does not contain proper info for old Xcode to load debug info, while this info can only be obtained by the latest Xcode.
Solution
Install the latest Xcode(currently is Xcode 4.6, you can get it from Mac AppStore).
Connect your device while the new Xcode is open.(No matter what the order of open Xcode first or connect your device first)
Press ⌘ + Shift + 2 to open Xcode organizer, click the device icon if the organizer appears not in device tab
Wait under see your device with iOS 6.0.1(or even iOS 6.0, iOS 6.1.1) to become green
Now your new OS has enough debug information for old Xcode
Connect this device to your old Xcode 4.5. You should not be able to send app to device.
Some disadvantages
You system will have 2 Xcode, if your old Xcode is also installed from Mac AppStore, you need to download the new Xcode from Developer center.
After you installed the new Xcode, you command line tools usually use the new Xcode as the default develop tools. Use xcode-select to switch to old Xcode's path.
Please do check the udid id for that Device, or include the udid again and download the new profile and then archive with that profile. It just because of udid

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.

My first iPhone application testing

Actually my iPhone is 2g model and iOS version is 3.1.3.
I have Mac OS X and Xcode 4.2.
I am a registered Apple iOS developer, I finished my test application. I am trying to deploy my application to iPhone.
When I connect my iPhone to my Mac, I go in Xcode, window - organizer then I get a message "iPhone requiries ios 3.0 - 3.2.2 Device Debugging support".
To use Lion User's iPhone for development, Xcode must download and install iOS 3.0 - 3.2.2 Device Debugging Support. you can see all available downloads in Xcode's Downloads preference panel.
I don't know where to download this package?
You need to go to XCode preferences and then go to Downloads tab - Components
form here you can download device support.
You need to set Deployment Target to 3.1.
Following is the path-
Project - Summary - Deployment Target

XCode 4 not detect iPad

I have iPad 1 and i want to test my app on it.
i connect the iPad to the computer, and the IOS Device not change to the device name.
when i press on Run i get this msg:
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version.
Connect an iOS device with a recent enough version of iOS to run your
application or choose an iOS simulator as the destination.
Any suggestion why it happen?
The top explanations for this error are
1) Your iPad is running an OS version newer than that supported by Xcode
or
2) You have not yet provisioned your iPad
Ok
I find the solution :
in IOS Deployment Target change it to the minimum version you want the app will work
You need to add the UDID of the device to your developer mobile provisioning profile.
If you have Xcode 4.2 this can be done actually automatically, else you'll have to do this manually (get the UDID, log into the developer portal, add the device's UDID to the devices list, at that device then to your developer profile, download and install that profile, select this profile as a developer profile for your current app)

Can't install app on Device 3.1.2

I can install my app with the profile in my IOS4.0 device, but the same profile can't used to install on IOS 3.1.2 device.
My Xcode is SDK 3.2.3+IOS4(SDK 4).
BTW, i set my "Base SDK" = iPhone Device 4.0, "IPhone OS Deployment Target" is "iPhone OS 3.1.2".
The error info is "A valid provisioning profile for this executable was not found."
Thanks a lot.
Are you a member of the iOS Developer Program? You are not able to test on device until you sign up.
Yeah. I ve been there. I used to face this problem when I used to try and sync up .ipa file that I created out of sdk 4.0+ with an iOS 3.1.2 based device through iTunes. Apparently, iOS 3.1.2 devices have some bug (or maybe it is in the iTunes) that the profiles don't sync up along with the .ipa file in them automatically sometimes.
But before that, you have to ensure that the iOS 3.1.2 device is provisioned with the profile in the first place. If not, thats the problem. If it is, then in such cases, I used to drag and drop only the provisioning profile first into the iTunes, then do a sync with the device (Nothing will seem to happen in this sync. This is for installing the profile into the phone.). Then drag and drop the .ipa file into the iTunes and then perform another sync. That used to work for me.
If you are facing this problem with the .app, then too you should try above. That should work.