Page 7 of 15 FirstFirst 123456789101112131415 LastLast
Results 61 to 70 of 144
Discuss [XCode Template] for SDK and Open Toolchain API in firmware 2.0 at the iPhone Developer Exchange - Hackint0sh.org; For the MobileInstallation Patch, I have created a cydia package which supports 2.0 /2.0.1/2.0.2/2.1 firmware ...
  1. #61
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default

    For the MobileInstallation Patch, I have created a cydia package which supports 2.0 /2.0.1/2.0.2/2.1 firmware
    see post here
    http://hackint0sh.org/forum/showpost...3&postcount=14

    For the use of Xcode 3.1.1 iPhone SDK (build 9M2517) for firmware 2.0 & 2.1, please see post #62 below
    Last edited by javacom; 09-18-2008 at 04:05 PM. Reason: updated instruction in post #62 below
    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.



  2. #62
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Thumbs up How to skip provisioning profile for iPhone SDK for firmware 2.1

    OK. I found the trick now for iPhone SDK (build 9M2517) for firmware 2.0 & 2.1

    First close your Xcode and backup the PhoneOS.platform Info.plist by running this in Mac Terminal
    Code:
    sudo cp -p /Developer/Platforms/iPhoneOS.platform/Info.plist /Developer/Platforms/iPhoneOS.platform/Info.plist.bak
    Then edit the PhoneOS.platform Info.plist file
    Code:
    sudo vi /Developer/Platforms/iPhoneOS.platform/Info.plist
    and change
    Code:
    		<key>PROVISIONING_PROFILE_ALLOWED</key>
    		<string>YES</string>
    		<key>PROVISIONING_PROFILE_REQUIRED</key>
    		<string>YES</string>
    to this

    Code:
    		<key>PROVISIONING_PROFILE_ALLOWED</key>
    		<string>NO</string>
    		<key>PROVISIONING_PROFILE_REQUIRED</key>
    		<string>NO</string>
    Launch Xcode and then create new project using my Xcode Template for pwned device "View-Based Application" to build and go to either Project Settings 2.0 or Project Settings 2.1 or iPhone Simulator and you don't need the trick to reset it anymore.

    Remember, you still need a fake codesign identity as described in post#53 and patched MobileInstallation binary in your iPhone as in post#61

    If you are registered iPhone Developer with provisioning profile codesign cert from Apple, please remember to revert the PhoneOS.platform Info.plist back to the original one before building your project to App Store.

    <------ thumb up for me if you like this thread
    Last edited by javacom; 09-19-2008 at 01:34 AM.
    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.


  3. #63
    Newbie Array

    Join Date
    Sep 2008
    Posts
    3
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by javacom View Post
    OK. I found the trick now for iPhone SDK(build 9M2517).

    -snip-
    That did the trick for me. Thanks so much, javacom!

  4. #64
    Rookie Array

    Join Date
    Feb 2008
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Error from Debugger:

    Dear All,

    Thanks for all the post -- I was able to set-up the iPhone SDK to work for my iPhone but with a problem.

    When my iPhone is connected and if I build and then run the installation of "Helloworld" goes through but post that it fails with error "Error from Debugger: Error in launching remote program: security policy error"

    Even when I try to invoke from iphone (using Terminal)
    ./HelloWorld
    it shows process killed.

    Can any one help

    My Machine details and other details

    Used the instructions as per post 53 and 61. Installed the MobileInstallation using Cyinda (as per some post in this forum)

    Please help

    Thanks and Regards
    Sarang

  5. #65
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default

    Quote Originally Posted by stirucherai View Post
    When my iPhone is connected and if I build and then run the installation of "Helloworld" goes through but post that it fails with error "Error from Debugger: Error in launching remote program: security policy error"
    You have to either
    (1) use my Xcode Template to start building new project
    or
    (2) Amend the Info.plist for your app as per instruction of Post#53 (point 2)
    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.



  6. #66
    Newbie Array

    Join Date
    Apr 2008
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    hi
    it nearly worked for me.
    I clicked Build and Go and got this error:
    No provisioned iPhone OS device is connected.
    I got the latest xCode, but ipod Touch Frimware 2.0.2
    Do i have to update to 2.1?
    Nam

  7. #67
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default

    Make sure your iPod Touch is connected to the USB port of your Mac and Xcode can detect that in the Organiser.
    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.


  8. #68
    Rookie Array

    Join Date
    Feb 2008
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Debugger Error : Error in Security Policy

    Dear Javacom

    1. I did use your template (as per post 53) & created a project

    2. I also installed MobileInstallation using Cydia as per post 61

    3. I have also set-up
    <key>SignerIdentity</key>
    <string>Apple iPhone OS Application Signing</string> in my Info.plist of the project.


    I do still get the error ""Error from Debugger: Error in launching remote program: security policy error"
    I tried with release and Debug option - Same error


    Questions
    1. Do I need to install anything related to debugger on my iPhone
    2. Do I need to some profiles (I don't how to do and hence did not do)
    3. I have MacOS on intel box (i386) -- Hope this is not the issue
    4. I have not upgraded my iTunes to 8.0 -- Hope this is not the issue

    Thanks and Regards
    Sarang

  9. #69
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default

    Quote Originally Posted by stirucherai View Post
    Dear Javacom

    1. I did use your template (as per post 53) & created a project

    2. I also installed MobileInstallation using Cydia as per post 61

    3. I have also set-up
    <key>SignerIdentity</key>
    <string>Apple iPhone OS Application Signing</string> in my Info.plist of the project.


    I do still get the error ""Error from Debugger: Error in launching remote program: security policy error"
    I tried with release and Debug option - Same error


    Questions
    1. Do I need to install anything related to debugger on my iPhone
    2. Do I need to some profiles (I don't how to do and hence did not do)
    3. I have MacOS on intel box (i386) -- Hope this is not the issue
    4. I have not upgraded my iTunes to 8.0 -- Hope this is not the issue

    Thanks and Regards
    Sarang
    (1) Have you created the codesign certificate ?
    (2) You need iTunes 8.0 and Mac OS X v10.5.4 or late for the latest SDK (build 9M2517)
    Last edited by javacom; 09-19-2008 at 04:56 AM. Reason: and Mac OS X v10.5.4 or later
    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.


  10. #70
    Rookie Array

    Join Date
    Feb 2008
    Posts
    14
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Debugger Error

    Dear javacom

    I do have 10.5.4 running on Intel (Lenovo T61)
    Latest iPhone SDK (build 9M2517)
    I did create Code Ceritificate.
    Installed iTunes 8.
    Simulator works fine
    Build is fine
    Pushing into iPhone is fine. But when trying to launch Same error.

    Here is the error log from Xcode Console

    [Session started at 2008-09-19 13:58:50 +0530.]
    Loading program into debugger…
    GNU gdb 6.3.50-20050815 (Apple version gdb-962) (Mon Aug 11 05:42:45 UTC 2008)
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000
    Program loaded.
    target remote-mobile /tmp/.XcodeGDBRemote-285-32
    Switching to remote protocol
    mem 0x1000 0x3fffffff cache
    mem 0x40000000 0xffffffff none
    mem 0x00000000 0x0fff none
    sharedlibrary apply-load-rules all
    run
    Running…
    Error launching remote program: security policy error.
    Error launching remote program: security policy error.

    BTW if I launch from iPhone (using VT Terminal) it says
    Killed


    Thanks and Regards
    Sarang
    Last edited by stirucherai; 09-19-2008 at 05:40 AM.


 

 

LinkBacks (?)

  1. 02-16-2009, 06:37 AM
  2. 01-28-2009, 07:22 AM

Similar Threads

  1. MacNN: Apple working on official magazine template for Xcode?
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 03-14-2011, 03:10 PM
  2. [Xcode Problems] About Open Toolchain dev in Xcode
    By satashi in forum iPhone Developer Exchange
    Replies: 2
    Last Post: 02-08-2011, 11:26 AM
  3. Xcode Open Toolchain Application link error?
    By syamooo in forum iPhone Developer Exchange
    Replies: 1
    Last Post: 09-28-2010, 06:59 AM
  4. Development and distribution questions Xcode + template
    By antzee in forum iPhone Developer Exchange
    Replies: 1
    Last Post: 07-07-2009, 09:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 08:07 PM.
twitter, follow us!