Iphone App release Build Icon crossed - iphone

hi I am having trouble debugging my app on my device and also when I try to build it on release mode, the application file has a some crossed image overlapping on it and the whole icon is lightened in color. however when i install it on my device it works fine. why is this happening?
also when I try to debug my app in the debug mode it troughs a permission denied error.
some message with entitlement data missing ins displayed. what can i do to fix this?
XCODE 3.2.5 and latest 4.2 sdk, I have tried jailbreaking my iphone and did some hacking stuff to get around developer membership before but i have reinstalled the new 3.2.5 with 4.2 recently and have a valid developer membership now.
please help! thanks in advance

The "crossed out" icon is normal - it's Mac OS telling you it can't run the file, which is expected since it's made for the phone and not the desktop.

Related

Restarted phone, now xCode won't recognize it

Has anyone turned off their iphone, then turned it on again only to find that xCode won't recognize it anymore? I'm using xCode 4.6 to run my app with the 6.1 SDK on my iPhone5 which runs iOS7.0.1, and it was working fine up until I turned off my phone. Now, in the organizer I'm getting an orange dot next to my device and it's saying:
The version of iOS on is not supported by 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.
I've tried deleting the app, restarting the phone, cleaning, deleting derived data, deleting the actual derived data folders, unplugging / replugging the phone, and nothing seems to fix this. Has anyone ran into this before and been able to fix it?
I'm not meaning to be rude, but did you read the actual error message you posted? This line:
The version of iOS on is not supported by this installation of the iOS SDK
Please restore the device to a version of the OS listed below
means that your phone is not the same as the ios sdk you are using, which is ios 6.1. Your phone is 7.0.1, which aren't the same in any way. So you need to change back to 6.1 on your phone, or use xcode 5 for ios 7 purposes.
Hope this helps :)
I have xCode5 installed on my computer as well, so I closed xCode4.6, opened xCode5, and it was able to detect my phone and install the app on it. Then I closed xCode5, reopened xCode4.6, and all of a sudden it was also able to detect my phone. Don't know why that works, but it does.

iOS Simulator could not find the SDK, SDK may need to be reinstalled

Here I am stuck in another problem,am working on an iOS Application today and as i run my Application for iPhone 5.0 Simulator got some weird issue on that simulator only.
There were two window pop Over alert on my MacBook Screen when i was trying run again and again getting same issue for that simulator only.that pop over alert windows showing below quotation.
"iOS Simulator could not find the SDK. The SDK may need to be reinstalled."
"The simulated application quit."
It seems that this issue occurring due to the improper installation of that simulator.
Please help me by suggesting related to this issue.
Whether i have to reinstall that simulator again on my Xcode or need something else.
Any suggestion would be appreciated from the bottom of my Heart.
I've seen this on coworkers computers and it was because they had dock icons not pointing to Applications/Xcode.app/Contents/Applications/iPhone Simulator.app
I would try launching the simulator from that directory or deleting the Application/Xcode.app and reinstalling from the Mac App Store.

Xcode - No provisioned iOS device is connected

I was using Xcode this afternoon and debugging an app on my device just fine. When I got home from the office and plugged in my phone to keep working, XCode would no longer let me debug on my device. The error I received was:
Error Starting Executable. No provisioned iOS device is connected.
So I hopped over to the Organizer, and here is what I saw:
So what gives? Anyone seen this before?
Thanks!
Well I don't know why this helped, but if anyone else sees this thread the thing that "fixed" the problem was to remove the SDK from my machine, restart XCode, then plug in the device. XCode then popped up an alert view asking to collect the debugging symbols from the device, which I allowed it to do. From then on it worked like a charm.
You may be testing your application on simulator and accidentally, device is selected instead of simulator. It help me to sort out this problem.
Make sure you have upgraded to the latest Xcode 3.2.5 with iOSK 4.2.1 SDK.
I had another way of fixing this problem.
I tried upgrading my device to iOS5 Beta 7 ...to test my app in iOS5
Once i finished testing it, wanted to get back to iOS4.3.5 on my device...
it took a little pain but managed to restore it back to the original
but then the debugging didn't work and got the same error as mentioned here.
So i wanted to see what i see in that snapshot that you have : and there it was...
A button called "enable for debugging" if i'm not mistaken.
Worked like a charm.... :)

Xcode "The program being debugged is not being run" error

I saw the other question here with the similar error yet their fixes did not help.
I have a jailbroken iphone 3.1.2, and I just purchased apple's $99 dollar thing and I'm trying to make it so I can debug my apps on the phone. The device installs but will not run when clicked build and go.
If I click on the icon made on the iphone it works.
Any ideas? I already uninstalled and reinstalled my provisioning profile.
This sometimes happens, i usally fix it by unplugging and plugging in my device, or shutting down xcode and bringing it back..
I don't know how to fix it without doing this but I took a gamble and downloaded the latest SDK only available for paying developers and that fixed the issue. Won't let me make the base sdk anything below 4 however.

iPod touch debugging: Error on install/run only if app exists on device already?

I am using an iPod to test an app. The device is all set up with the right provisioning profiles, etc-- that's not really the issue.
But every time I start the app from Xcode on the device, I get the "A signed resource has been added, modified, or deleted." error from the Organizer window.
Wait, I know, you think it's a provisioning profile problem.
But here's the kicker: if I just delete the app from the iPod (using the main screen) and try again, it works fine. I only get this error when the app is already installed. The other kicker is that this behavior doesn't happen on an iPhone that I have for occasional testing-- on that device, I can start/restart/restart indefinitely. But using the iPod, my compile-run-test cycle is annoyingly slow since I have to manually delete the app each time.
Any ideas?
I'm using Xcode 3.2.2 (prerelease) FWIW. The iPod has stock OS 3.1.2 on it.
Thanks!
I had a similar problem with the original 3.2 beta 1 and my iPhone running 3.1.3. However, I did not need to delete my app to workaround it. I was able to get around it by using the clean all targets. It seems you've done that though. :(
That said, with the 3.2.2 beta 2: IDE 1643, Core 1644, ToolSupport 1631 - my problem went away.
From the release notes Beta 2:
FIXED: In iPhone SDK 3.2 beta 1, some users saw the message "A signed resource has been added, modified or deleted…" when rebuilding their projects. This has been fixed for beta 2.
Are you sure you're running Beta 2? Perhaps a re-install of xcode might help? I assume you've tried power cycling the iPod Touch?
The only thing I can tell you is file a bug with apple here and hope they fix it
I had the same ussue a couple of days ago. My problem was I had created a distribution build and installed it on my iPod through iTunes. After removing the app from iTunes and syncing the iPod Xcode stopped complaining when making new builds.
Otherwise you could try "Clean all targets" under "Project" in Xcode.
Also had this problem, try turning off the passcode lock: http://bencollier.net/2010/03/debugging-on-iphone-requires-app-deletion/