Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-25-2008, 11:54 AM   #1 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 3
rofus is on a distinguished road
Default Error from debugger: Error launching remote program: security policy error

Hi all,

I bought yesterday the license for Iphone Developer, I'm programming
an app and would like to start testing it on my iPhone (EDGE, OS 2.1).
I'm using osx 10.5.5 on a MacBookPro, and latest SDK. Developing
and testing on simulator is ok, I followed all the procedure for requesting
certificates, downloading them, the provisioning file and dragged on
Xcode, I can see the iPhone with my provision name enabled for developing
in the Organizer view, and I followed instructions to configure Xcode to develop
on my device changing relevant options in the targets as explained online.

When I try to develop on device I get all the process, file is transferred
on device, but when launching I receive the error

Error from debugger: Error launching remote program: security policy error

Also when I try to launch the app from the phone it says there was
an error and it's not possible to lauch the app. Is that an error in my
steps configuring Xcode or is it something else?

Thanks,
Giancarlo
rofus is offline   Reply With Quote
Old 10-03-2008, 02:06 AM   #2 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 8
phuongth is on a distinguished road
Default

I have the same error?
Did any one know how to solve this problem?
Thanks,
Phuong
phuongth is offline   Reply With Quote
Old 10-05-2008, 05:54 PM   #3 (permalink)
New Member
 
Join Date: Oct 2008
Posts: 1
phoo1234567 is on a distinguished road
Default Security Policy Error

Check out post #82 of this thread.

[XCode Template] for SDK and Open Toolchain API in firmware 2.0 - Hackint0sh
phoo1234567 is offline   Reply With Quote
Old 10-10-2008, 02:14 PM   #4 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 43
nambrot is an unknown quantity at this point
Default

yeah me 2.
i got the iphone security policy error.
Also tried the solution of installing a free App(fring).
It just do not work.
Has anybordy solved the problem yet?
nambrot is offline   Reply With Quote
Old 10-10-2008, 08:54 PM   #5 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 8
phuongth is on a distinguished road
Default

I don't know all reasons cause this problem.
In my case, I put wrong company's domain name and product's name. Make sure you write exactly company's domain name you registered.
phuongth is offline   Reply With Quote
Old 03-17-2009, 09:27 AM   #6 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 5
Tim14ww is on a distinguished road
Default

Quote:
Originally Posted by phuongth View Post
I don't know all reasons cause this problem.
In my case, I put wrong company's domain name and product's name. Make sure you write exactly company's domain name you registered.

I have the same problem, you just need to make a new project, and make your apps again. probleme solved.

Greetz,

Timmeehh
Tim14ww is offline   Reply With Quote
Old 05-28-2009, 12:30 PM   #7 (permalink)
New Member
 
Join Date: May 2009
Posts: 2
gechici is on a distinguished road
Default

Just look at the following blog post guys:

How to Get Rid of Security Policy Error | « Simple and Pragmatic Thoughts » Isa Goksu
gechici is offline   Reply With Quote
Old 09-16-2009, 10:51 AM   #8 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: Oceanside, CA
Posts: 570
aryaxt is on a distinguished road
Default

I know this thread is old, but i still post my solution.
I got the exact same error and the reason was that the provisioning profile was expired.
Just go to program portal renew the provisioning.
Then go to xcode==> Organizer, remove the current provisioning. download the renewed provisiong and that solved my problem

NOTE: Just replacing the old provisiong with the new one didn't fix the prolem, I had to remove the old one first, then add the new one.
aryaxt is offline   Reply With Quote
Old 09-28-2009, 08:56 AM   #9 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 87
MatuX is on a distinguished road
Default

Quote:
Originally Posted by aryaxt View Post
I know this thread is old, but i still post my solution.
I got the exact same error and the reason was that the provisioning profile was expired.
Just go to program portal renew the provisioning.
Then go to xcode==> Organizer, remove the current provisioning. download the renewed provisiong and that solved my problem

NOTE: Just replacing the old provisiong with the new one didn't fix the prolem, I had to remove the old one first, then add the new one.
Hey all,

I had this exact problem, some of my provisioning profiles expired, I deleted the ones I had in my iPhone, reuploaded, but I'm still getting this error.

I've tried Clean/Recompile, reuploading the provisioning, etc.

Can anyone help?

Thanks!
MatuX is offline   Reply With Quote
Old 10-02-2009, 06:17 PM   #10 (permalink)
Registered Member
 
Join Date: Oct 2009
Posts: 4
douglaspneill is on a distinguished road
Default

Try deleting the profiles manually from your phone (i.e., not via xcode).
douglaspneill is offline   Reply With Quote
Old 10-17-2009, 08:16 AM   #11 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 2
rudifa is on a distinguished road
Default

I had the same problem ...
1- I installed a new profile on iPhone 2 days before the expiration of the old one
2- after the old one expired, I got "Error launching remote program: security policy error"
3- on iPhone - Settings - General - Profiles I removed the expired profile
4- this solved the problem

Thanks to all participants above for hints.
rudifa is offline   Reply With Quote
Old 10-22-2009, 06:58 PM   #12 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 19
pcgeek is on a distinguished road
Default

Quote:
Originally Posted by rudifa View Post
I had the same problem ...
1- I installed a new profile on iPhone 2 days before the expiration of the old one
2- after the old one expired, I got "Error launching remote program: security policy error"
3- on iPhone - Settings - General - Profiles I removed the expired profile
4- this solved the problem

Thanks to all participants above for hints.
I had to remove both of the profiles I had on the phone to get it to work not just the new one I was using.
pcgeek is offline   Reply With Quote
Old 12-20-2009, 12:28 AM   #13 (permalink)
Registered Member
 
Join Date: Sep 2009
Location: Toronto
Posts: 23
Darkin is on a distinguished road
Default Got it working by deleting all other provisioning profiles.

I got a new iphone and xfered all data off my old one. When I went to test an app on the new one, gave me the same error. I deleted all the old profiles of the new device so I only had the new provisioning profile I made for the new iphone and it worked!
Darkin is offline   Reply With Quote
Old 02-02-2010, 04:43 PM   #14 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 1
sdowns is on a distinguished road
Default Same here

I had the same issue... I solved the problem by removing expired profiles on my iPhone...

Settings -> General -> Profiles -> (look for expired profiles and delete them).

After deleting a profile with the same name (that was expired), I reran my app and bingo!
sdowns is offline   Reply With Quote
Old 02-16-2010, 02:18 PM   #15 (permalink)
Confused
 
Join Date: Mar 2009
Location: New York
Age: 37
Posts: 88
nycdude777 is on a distinguished road
Default

Hey guys, thought I'd give my 2 cents. I had the app running and installing on the phone just fine. I upgraded my phone to OS 3.1 and xcode to 3.1. When I tried building and running for the device, i got the same error.

I removed the provisioning profile using Organizer, downloaded a new one from portal, readded it using the organizer but still the same problem.

I then read someone's suggestion to remove the provisioning profile from the phone itself, Settings > General > Provisioning...

I went back to xcode and decided to hit Build and Run BEFORE adding the provisioning profile to the phone using the Organizer. XCode gave me a message I never seen before, saying that there is no Provisioned Device connected, but there was a button that said Install the Profile and Run... so i hit it. And voila! It ran.

I went back to phone settings and the profile was there ))

I guess XCode 3.1 is now smart enough to install the provisioning profile for you.

Good luck
nycdude777 is offline   Reply With Quote
Old 02-20-2010, 09:04 AM   #16 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 2
bb0868 is on a distinguished road
Default the problem was in the iPhone

Quote:
Originally Posted by sdowns View Post
I had the same issue... I solved the problem by removing expired profiles on my iPhone...

Settings -> General -> Profiles -> (look for expired profiles and delete them).

After deleting a profile with the same name (that was expired), I reran my app and bingo!
I did this and it worked... Thanks
bb0868 is offline   Reply With Quote
Old 03-04-2010, 12:55 AM   #17 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 20
vibhorgoyal is on a distinguished road
Default Solved

I have written down the steps I followed to solve this issue:

Error from Debugger: Error launching remote program: security policy error | droolJunkie
vibhorgoyal is offline   Reply With Quote
Old 03-04-2010, 09:18 PM   #18 (permalink)
Registered Member
 
Join Date: Oct 2009
Posts: 2
cdasher is on a distinguished road
Default I just got the same error and it appears to me like a bug in the iPhone or Xcode

Quote:
Originally Posted by vibhorgoyal View Post
I have written down the steps I followed to solve this issue:

Error from Debugger: Error launching remote program: security policy error | droolJunkie
I just got the same error and fixed it. For a couple of days, I have been getting the message on the phone that one of my profiles was expiring. It was an app that I no longer am working on, so I disregarded the messages thinking "so what if that one expires". Well, it appears that if you have any profile on the phone that is expired, it will give you this error even though you are trying to install a new or different app with a perfectly valid (and different) provisioning profile. So I removed ALL of the expired profiles and now it works as expected.
cdasher is offline   Reply With Quote
Old 03-04-2010, 09:59 PM   #19 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 20
vibhorgoyal is on a distinguished road
Default

yea you need to remove all the expired profiles to make it work, strange but true.
__________________
droolJunkie
vibhorgoyal is offline   Reply With Quote
Old 03-26-2010, 07:25 PM   #20 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: London/Peterborough
Posts: 562
QuantumDoja is on a distinguished road
Default

Quote:
Originally Posted by nycdude777 View Post
Hey guys, thought I'd give my 2 cents. I had the app running and installing on the phone just fine. I upgraded my phone to OS 3.1 and xcode to 3.1. When I tried building and running for the device, i got the same error.

I removed the provisioning profile using Organizer, downloaded a new one from portal, readded it using the organizer but still the same problem.

I then read someone's suggestion to remove the provisioning profile from the phone itself, Settings > General > Provisioning...

I went back to xcode and decided to hit Build and Run BEFORE adding the provisioning profile to the phone using the Organizer. XCode gave me a message I never seen before, saying that there is no Provisioned Device connected, but there was a button that said Install the Profile and Run... so i hit it. And voila! It ran.

I went back to phone settings and the profile was there ))

I guess XCode 3.1 is now smart enough to install the provisioning profile for you.

Good luck
Thanks! That worked great!
QuantumDoja is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 344
9 members and 335 guests
akacaj, c2matrix, esoteric, givensur, HemiMG, mjnafjke, Pudding, SLIC, Techgirl-52
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,650
Threads: 94,115
Posts: 402,887
Top Poster: BrianSlick (7,990)
Welcome to our newest member, soohyun
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:12 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0