iPhone app in simulator works on one mac but not another mac - iphone

I hired 2 developers to work on an App and both developers have no problem loading the App in the Simulator. However, on my iMac, it won't load the App at all in Simulator and only gives me the icon screen of the App.
I got paranoid and did a clean install of OS X and upgraded to 10.6.6
I even erased the hard drive completely before install
running Xcode 3.2.5
developers are also running Xcode 3.2.5 iOS SDK 4.2
I did Clean Targets
I did reset in the Simulator
Maybe something in the Xcode Preference Settings?
Has this happen to anyone before?
--

Have you see them load the app?
Here are few suggestions/options:
Try to load a test app and just
see if it is actually your computer.
http://www.tuaw.com/2009/04/27/iphone-dev-101-the-hello-world-app/
Have the developers use TeamViewer
(http://www.teamviewer.com/en/index.aspx)
to load the app in your phone for
you.
You have to sign your app through
apple dev store, are you on the list
of developers that can open/edit the app?

Related

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.

App builds & runs in iPhone Simulator, but doesn't deploy to iPhone

The app I'm working on builds & runs just fine in the iPhone Simulator, but, when I try to test it on an iPhone 4S, XCode says, "Finished running ..." immediately after I click "Run", and, when I look at the iPhone, there's no icon for the app at all. It's as though XCode doesn't detect that XCode isn't deploying the app to the device.
I've got a signed certificate, a developer profile, and a valid provisioning profile (XCode's Organizer says so). The provisioning profile is present on the iPhone.
I've tried restoring the iPhone, and I still get the same error.
How do I successfully deploy my app to the iPhone?
Edit:
It's deep in the comments of the below answer, but the problem was that I had a misspelled within Info.plist's required Required device capabilities section. I solved it by deleting that row.
few things to check:
clean your build folders and rebuild. In Xcode project navigator, under products folder, is your app present?
open iTunes and try dragging this app into iTunes. Will it show up in iTunes or do you get an error? if it shows up, can you install it to iPhone via iTunes?
Is you iPhone iOS version and Xcode version and build settings all in sync? I know some version of Xcode 4.x have issues build and running apps on iOS 4.x.

xcode 3.2.5 with iOS 4.2 crashes when deploying to device

I've updated for xcode 3.2.5 and iOS 4.2 but now everytime I deploy to device (ipod touch 2nd generation with iOS 4.1 installed) it crashes the ipod and forces it to restart.
then it restarts the device and I can go open the application regularly through its icon.
but the real pain here is that everytime I deploy to the device I have to wait for it to crash, restart the device which takes ages and them open the app by clicking on its icon.
I've already changed the target sdk to be less or equal then 3.0, hence the app working after a restart as it should.
Anyone could help me with the reason for crashing the device?
Thanks in advance
There are plenty of issues with Jailbroken devices at 4.2.1; from Xcode not collecting the Symbols for 4.2.1 from the device, to issues with dylib's loading at debug time. Many debugging facilities won't run on a jailbroken device either. Check to see if you've booted in tethered mode in redsn0w, develop on a different device temporarily, or downgrade to 4.1/4.0.1.

Can I deploy app to iphone 3gs iOS 4 from XCode_3.1.4_iPhone_SDK_3.1.2 directly

Currently I installed XCode_3.1.4_iPhone_SDK_3.1.2 on Mac OSX 10.5.8, and I plan to buy an iphone 3gs 8G iOS 4 in the following days. I heard from friends that iOS 4 can't be downgraded to 3.x!
My question is, can XCode_3.1.4_iPhone_SDK_3.1.2 deploy app to iOS 4 device via iDP? Should I upgrade system to 10.6.4 and install Xcode_3.2.3_iOS_SDK_4.0.2?
For jailbreak iOS 4, does ldid still work well? Or some other tools for code signing?
I didn't try with iOS 4 yet, so could you give me some help, thanks in advance.
Email/MSN: linkou.bian#gmail.com
Im not sure if this has been changed, but you used to be able (when xcode was around 3.1ish) still be able to install onto 2.2.1 even though xcode didnt recognize it. Just had to build the app with deploy targetted to 2.2.1 and then get the .app and move it to itunes, then sync your itunes with the phone and it worked.

Xcode 3.1.3 - Organizer The device is not activated. Please activate it using iTunes

I recently upgraded my XCode SDK to version 3.1.3 and my iPhone OS to 3.0. It is important to note that everything was working fine when I had OS version 2.2.1 in my iPhone. My iPhone Touch device is not jailbroken and I have a valid provisioning profile in the organizer which is linked to my iPhone Touch however it has a yellow circle next to it.
This is because in the organizer under devices it displays the ipod with version 3.0 (7A341) and then it Reads (in the section where the provisioning profiles should go):
This device is not activated. Please activate it using iTunes.
When I go in xcode and build the application it does so just fine, and the code signing is in fact assigned to the correct provisioning profile. But whenever I try to run it in the device I get "No provisioned iPhone OS device is connected.". This is because the organizer keeps telling me to activate the device using iTunes.
I have iTunes version 8.2 and the device is there and i can sync it just fine, however it keeps displaying that message in XCode. I have tried restoring my ipod about 10 times but I always get the same result, I have also tried powering off the iphone Touch and the computer but nothing seems to help.
Does anyone else have this problem?
I have the same issue, but I have an ipod touch version 2.2.1. It used to connect to Xcode 3.1.2, then I upgraded to 3.1.3 and it doesn't work. I reverted back to 3.1.2 and it does not work. It does work on a friends mac with 3.1.3 so there is something wrong with my iMac. Firewall is disabled. It connects to iTunes fine and it is activated. Just won't show up in the organizer. Rebooting does not work. I reset, and restored it and it still doesn't connect. The fact that it connects to a friends mac and not mine leads me to believe that upgrading the ipod to version 3.0 would not fix the issue.
Jimi
http://developer.apple.com/iphone/index.action#downloads
download and install it
Leopard Downloads
* iPhone SDK 3.1.3 with Xcode 3.1.4
* iPhone SDK 3.1.3 with Xcode 3.1.4 Readme
open mac terminal
$ ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2\ (7D11)/ /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3
my space write in here
http://leefj.spaces.live.com/blog/cns!ADF54DD0A549AD9B!462.entry
Thanks to flycomputer i was able to resolve my problem with iphone os update to 3.1.3.
But i didn't need to make the symlink so check if it's done by itself or not before lunching the command :
$ ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2\ (7D11)/ /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3
This usually means your Phone is not activated with your provider. Can you actually make phone calls with your iPhone? Did you restore your phone via the XCode Organizer or iTunes?
Well it is not actually a phone it is an iPod Touch. I tried to restore it both via Xcode Organizer and iTunes with the same results.
This isn't the error I get, but try rebooting the iPod. Hold down the sleep/wake button on the top for a few seconds. When it asks if you want to turn off the device, move the slider to turn it off. I usually wait a minute and power it back on. This always works for me.
You are probably behind a firewall, with anti-spyware protection activated.
iTunes needs to connect properly to web (Apple, I guess) in order to activate correctly your device.
Disable the firewall, then launch iTunes, that worked for me.
JR