Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > iPhone Developer Exchange

Reply
 
LinkBack Thread Tools Display Modes
  #111 (permalink)  
Old 11-11-2008, 09:47 AM
set84
Status: Offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
Rep Power: 0
set84 is on a distinguished road
Default

Quote:
Originally Posted by nambrot View Post
The security police error is caused when not following all the steps to make a xcode project to an project that can run on an Iphone.
You have to add those 2 labels to your Project Setting and edit the Info.plist of your project.
Sorry, but what changes I must make in my Info.plist file?

added

<key>SignerIdentity</key>
<string>Apple iPhone OS Application Signing</string>
</dict>

may be problem in CFBundleIdentifier key?

Last edited by set84; 11-11-2008 at 10:22 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #112 (permalink)  
Old 11-11-2008, 10:14 AM
hardwarrior's Avatar
hardwarrior
Status: Offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Rep Power: 0
hardwarrior is on a distinguished road
Question

Dear javacom, first of all I want to thank for great templates!

But I have some problems using them( I want to build daemon app for iPhone that does not have any windows and runs in background. So I decided to use 'CoreFoundation Tool' template for my project. But when I 'Build & Go' this empty project Organizer tells me 'Your mobile device has encountered an unexpected error (0xE8000051) during the install phase: InspectingPackage'. Same happens for all empty projects created with templates from 'Command Line Utility' section. No matter if I use debug or release. Or maybe I did not get that build&go button does not work for that templates?

How can I compile & run projects created with 'Command Line Utility' templates on my pwned ipod touch?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #113 (permalink)  
Old 11-11-2008, 10:43 AM
set84
Status: Offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
Rep Power: 0
set84 is on a distinguished road
Default

for hardwarrior:

install patched mobile installer



after all my changes

I get Error launching remote program: security policy error.


when I want set my application on iPhone

Last edited by set84; 11-11-2008 at 10:46 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #114 (permalink)  
Old 11-11-2008, 12:21 PM
hardwarrior's Avatar
hardwarrior
Status: Offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Rep Power: 0
hardwarrior is on a distinguished road
Default

set84, I already installed MobileInstallation patch using cydia and reseted device. Don't know if I have to do something else to apply it (launch somthing) or it was applied during installation?

Last edited by hardwarrior; 11-11-2008 at 04:05 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #115 (permalink)  
Old 11-11-2008, 05:31 PM
mentor667
Status: Offline
Junior Member
 
Join Date: Dec 2007
Location: EU
Posts: 29
Rep Power: 0
mentor667 is on a distinguished road
Default

Quote:
Originally Posted by hardwarrior View Post
set84, I already installed MobileInstallation patch using cydia and reseted device. Don't know if I have to do something else to apply it (launch somthing) or it was applied during installation?

Read this!

http://iphonesdkdev.blogspot.com/200...ofile-for.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #116 (permalink)  
Old 11-12-2008, 09:06 AM
hardwarrior's Avatar
hardwarrior
Status: Offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Rep Power: 0
hardwarrior is on a distinguished road
Default

mentor667, I've already read that and changed iPhoneOS.platform Info.plist. Here I need to clarify that UI templates from 'Application Pwned' group work fine! Problem is only with 'Command Line Utility' templates.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #117 (permalink)  
Old 11-12-2008, 10:22 AM
javacom's Avatar
javacom
Status: Offline
Developer
 
Join Date: Mar 2008
Posts: 304
Rep Power: 23
javacom will become famous soon enoughjavacom will become famous soon enough
Default

The Command Line Utility cannot use Build & Go.

The command line utility will use wifi and through ssh to install to your iPhone
using "Build" not "Build & Go".

And it will use ldid in your iPhone to fakesign the binary

Before using the command line utility template,
please first read the description when you highlight the template

This project builds a command-line tool that links against the Core Foundation library and open toolchain headers. It used wifi connection to install the compiled binary to device and usb cable connection to iPhone is not required.

Requirements & Info:
(1) Default use Open toolchain headers
(2) iPhone and Mac connected to wifi (you should change the IPHONE_IP in Project Settings)
(3) Open SSH and Link Indenty Editor installed in iPhone
(4) Mac's ssh key installed in iPhone
(5) Debug / Release build to iPhone folder /private/var/root (no Build & Go) and you should change IPHONE_INSTALL_DIR in the Project Settings
(6) Cannot build to Simulator
__________________
Touch Dial is an easy-to-use application for one touch dial / sms icon on the home screen for iPhone.

This app can read the accelerometer and do phone dial or SMS dial for the same number based on the your setting for Portrait or Landscape Mode of iPhone.


Last edited by javacom; 11-12-2008 at 10:25 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #118 (permalink)  
Old 11-12-2008, 03:26 PM
incorrect.user
Status: Offline
Junior Member
 
Join Date: Aug 2008
Posts: 4
Rep Power: 0
incorrect.user is on a distinguished road
Default

Javacom: the same problem with security policy error...

project's Info.plist contains "Apple iPhone OS Application Signing" item, and settings those 2 prohibitions (provisioning profiles r not required) and i've changed /Developer/Platforms/iPhoneOS.platform/Info.plist accordingly and made certificate "iPhone Pwned Developer" and downloaded MI patched and replaced native... what else? i'm using 2.1 quickpwned device, xcode 3.1.1 and final iphone sdk

btw http://www.cocoatouchdev.com/javacom...allation_patch link does not work at the moment, so i found already patched MI

My app uploads to device but cannot be launched
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #119 (permalink)  
Old 11-13-2008, 08:44 AM
javacom's Avatar
javacom
Status: Offline
Developer
 
Join Date: Mar 2008
Posts: 304
Rep Power: 23
javacom will become famous soon enoughjavacom will become famous soon enough
Default

For those who have security policy error try this project and steps to see where is the error

(1) download this test.zip file

http://www.iphone.org.hk/attach/42485-Test.zip

(2) unzip it by double click it in Mac
(3) Use Xcode to open the Test.xcodeproj project file
(4) Clean All Targets that is in Xcode menu (Build -> Clean All Targets)
(5) Select Build Results Menu that is (Build -> Build Results)
(6) Select "Device | Release" in Build Results
(7) With your iPhone connected to USB and Click "Build & Go" in Build Results
(8) Check the Build Results
It should have something like
CompileXIB ....
Compiling .../Test/main.m
GenerateDSYMFile .../Test.app.dSYM .../Test.app/Test
CompressResources .../Test.app
ProcessingProductPackaging .../Test/Info.plist .../Test.build/Test.xcent
CodeSign .../Test.app
(9) check if all have green ticks
__________________
Touch Dial is an easy-to-use application for one touch dial / sms icon on the home screen for iPhone.

This app can read the accelerometer and do phone dial or SMS dial for the same number based on the your setting for Portrait or Landscape Mode of iPhone.


Last edited by javacom; 11-13-2008 at 08:47 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #120 (permalink)  
Old 11-13-2008, 09:36 AM
incorrect.user
Status: Offline
Junior Member
 
Join Date: Aug 2008
Posts: 4
Rep Power: 0
incorrect.user is on a distinguished road
Default

Javacom,
Here're my results:
http://screencast.com/t/3IhOLfinPr
All check are green, application installed, but the debugger returned security error and cannot launch app on the device...
I suggest the problem is in the MobileInstallation. So if u provide a working patched one that would be great for all the community. Or rather explain what should i look for in IDA Pro to path it myself.

btw i've got a patched MobileInstallation from here: http://www.iphonedownloadblog.com/mo...ion-for-iphone
because i have this with ur patch:
Code:
root# wget http://www.cocoatouchdev.com/javacom/mobileinstallation_patch
--2008-11-13 10:05:27--  http://www.cocoatouchdev.com/javacom/mobileinstallation_patch
Resolving www.cocoatouchdev.com... 74.220.215.229
Connecting to www.cocoatouchdev.com|74.220.215.229|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2008-11-13 10:05:30 ERROR 404: Not Found.

Last edited by incorrect.user; 11-13-2008 at 10:06 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
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




All times are GMT +2. The time now is 04:56 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407