Page 8 of 15 FirstFirst 123456789101112131415 LastLast
Results 71 to 80 of 144
Discuss [XCode Template] for SDK and Open Toolchain API in firmware 2.0 at the iPhone Developer Exchange - Hackint0sh.org; hi also tried with your template, but it still dosnt work. I Think i havent ...
  1. #71
    Newbie Array

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

    Default

    hi
    also tried with your template, but it still dosnt work.
    I Think i havent patched the mobileinstalltion the right way?
    He still says that no provisioned iPhone OS is connected but itunes just synced, and i know that its connected.
    What can i do?
    I already tried 4 different patched MoBileInstallions?
    Please Help me.
    Nam


  2. #72
    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

    Build is fine
    Pushing into iPhone is fine. But when trying to launch Same error.

    Here is the error log from Xcode Console

    Sarang

    OK, you do this

    (1) Create a new project called "test1" using the pwned template "View-based Application" and no need to add /change any code inside
    (2) Open Build Results (in Build Menu)
    (3) and Choose "Device -iPhone OS 2.0 Project Settings" and "Release"
    (4) Connect your iPhone and click "Build & Go" in "Build Results" window.

    Does it has all green ticks ? Any failed one ?
    Dump your results in Build Results screen here.
    Last edited by javacom; 09-19-2008 at 10:55 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. #73
    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 nambrot View Post
    hi
    also tried with your template, but it still dosnt work.
    I Think i havent patched the mobileinstalltion the right way?
    He still says that no provisioned iPhone OS is connected but itunes just synced, and i know that its connected.
    What can i do?
    I already tried 4 different patched MoBileInstallions?
    Please Help me.
    Nam
    Under Xcode , Window Menu -> Open Organizer
    Can you see your iPhone is listed under DEVICES with a green dot ?
    Can you click on your iPhone under DEVICES and reveal its summary and application list ?
    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.


  4. #74
    Developer Array javacom's Avatar

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

    Default Xcode Template updated to version 3.5

    This Xcode Template is now updated to version 3.5.2

    To install, run these in Mac Terminal (assume you have installed the Xcode in /Developer folder, if not, change it according to your installed directory)

    Code:
    curl -O http://www.iphone.org.hk/attach/42698-ToolChainTemplate_v352.zip
    unzip -o 42698-ToolChainTemplate_v352.zip -d "/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project Templates"
    MD5 (42698-ToolChainTemplate_v352.zip) = 5de15c4cc9f7bab7feeafff5f121da36




    There are 4 new project templates to build the command line utility for iPhone
    C++ Tool (.cpp)
    CoreFoundation Tool (.c)
    Foundation Tool (.m)
    Objective C++ Tool (.mm)


    These 4 command line utility templates used wifi ssh connection to install compiled binary in your iPhone, so you need not connect your iPhone via usb port and MobileInstallation patch is not needed.

    Requirements & Info:
    (1) Default use Open toolchain headers
    (2) iPhone and Mac connected to same network (you should change the IPHONE_IP, default is 10.0.2.2 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

    If you to need the IPHONE_IP and IPHONE_INSTALL_DIR user settings twice, one for Release and another for Debug.

    If you don't want Open ToolChain headers for these command line tool, just remove the Other CC flags settings in the Project Settings, then it will use the official SDK headers. And you have to remove it twice, one for Release and another one for Debug in Project Settings.

    If you need Open ToolChain Headers in your Mac
    do this (assume you have installed the Xcode in /Developer folder, if not, change it according to your installed directory)
    Code:
          $ sudo mkdir -p /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/ 
          $ svn co http://iphone-dev.googlecode.com/svn/branches/include-1.2-sdk  
          $ cd include-1.2-sdk 
          $ ./configure --prefix=/Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/ 
          $ sudo sh install-headers.sh

    Xcode Template Version 3.5.2 adds a Static Library Template for iPhone
    To build the Universary Library for i386 and arm
    First build it on "Device" "Release"
    Second build it on "Simulator" "Release"
    Then the Universary Library binary will be in the project directory
    To examine the content of the Universary Library binary, run ./otoolprint.sh in the project folder


    Open Tool Chain Application
    This template uses open toolchain headers provides a starting point for any application without Interface Builder.

    Requirements and Info:
    (1) No Interface Builder
    (2) Default use open toolchain headers
    (3) For pwned iPhone / iPod Touch with patched MobileInstallation
    (4) codesign certificate "iPhone Pwned Developer" installed in Mac
    (5) XCode SDK Info.plist Setting has removed Provisioning Profile requirement
    (6) Cannot build to Simulator


    View-Based Application
    This template provides a starting point for an application that uses a single view. It provides a view controller to manage the view, and a nib file that contains the view.

    Requirements and Info:
    (1) Default use official iPhone SDK headers
    (2) For pwned iPhone / iPod Touch with patched MobileInstallation
    (3) codesign certificate "iPhone Pwned Developer" installed in Mac
    (4) XCode SDK Info.plist Setting has removed Provisioning Profile requirement

    Window-Based Application
    This template provides a starting point for any application without Interface Builder and provides a minimal iPhone application with a single view, ready for customizing.
    This is a good starting point for your first application. In the UIView subclass, you can implement methods to draw content on the screen and to respond to touches. In a more full-featured application, you typically add a view controller to handle data and to manage rotation.

    Requirements and Info:
    (1) No Interface Builder
    (2) Default use official iPhone SDK headers
    (3) For pwned iPhone / iPod Touch with patched MobileInstallation
    (4) codesign certificate "iPhone Pwned Developer" installed in Mac
    (5) XCode SDK Info.plist Setting has removed Provisioning Profile requirement


    Always reboot iPhone and your Mac after you have changed settings and to troubleshoot

    If you have "security policy error" after Build & Go. Do these steps

    (1) Install a new free app from App Store in iPhone (not sync from iTunes)
    (2) Launch that newly purchased free app and then close it.
    (3) Reboot your iPhone (that is power off and on again)
    (4) Launch the app again that you have Build & Go in Xcode to iPhone.


    If you need MobileInstallation Patch
    see post here
    http://hackint0sh.org/forum/showpost...3&postcount=14

    if you want to know how to remove Provisioning Profile requirement see post #62 below
    http://www.hackint0sh.org/forum/show...1&postcount=62

    If you need instruction to have codesign certfifcate "iPhone Pwned Developer" installed in Mac
    Here is the nice guide from Apple to create a self-signed identity
    http://developer.apple.com/documenta...section_2.html

    If you want to know how to install your Mac's ssh key in iPhone
    Here it is
    In order to avoid typing the password using ssh, you can install the ssh public key of your Mac to your iPhone using the following method

    (a) keygen in Mac terminal and type (if you haven't generated it before)
    Code:
    ssh-keygen -t rsa
    (b) create .ssh directory in iPhone (assume ip address of iPhone is 10.0.2.2) and in Mac terminal and type
    Code:
    ssh root@10.0.2.2 'mkdir -p .ssh'
    then enter iPhone root password (alpine)

    (c) copy mac public key to iPhone, and in Mac Terminal type
    Code:
    cat ~/.ssh/id_rsa.pub | ssh root@10.0.2.2 'cat >> .ssh/authorized_keys'
    then enter iPhone root password (alpine)

    (d) Edit the file /etc/ssh/sshd_config in iPhone

    change these
    Code:
    #StrictModes yes
    #PubkeyAuthentication yes 
    #AuthorizedKeysFile      .ssh/authorized_keys
    to

    Code:
     
    StrictModes no 
    PubkeyAuthentication yes 
    AuthorizedKeysFile      .ssh/authorized_keys
    (e)reboot iPhone

    <---------- add reputation for me if you like this thread
    .
    .
    .
    Last edited by javacom; 11-13-2008 at 05:45 PM. Reason: Add "security policy error" solution
    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.


  5. #75
    Rookie Array

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

    Default Error from Debugger: Error in launching remote program: security policy error

    Dear Javacom,

    1. I did create a new project test1 using your template "View Build"

    2. Connected phone

    3. Selected iPhone 2.0 (Project..)

    4. Selected Release

    5. Opened Build Results and selected "Build and Go"

    6. Compilation went fine. Build GREEN TICK[/B]

    7. Installation into Iphone sucessful

    8. Launching Porgram -- show error.

    I did install "MobileInstallation" using ur Post 61

    Not sure what else I need to do. May be go to original MobileInstallation (do u have it in some place where I can download) and then apply the patch again

    Thanks and Regards
    Sarang


  6. #76
    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,



    8. Launching Porgram -- show error.

    I did install "MobileInstallation" using ur Post 61

    Not sure what else I need to do. May be go to original MobileInstallation (do u have it in some place where I can download) and then apply the patch again

    Thanks and Regards
    Sarang
    (1) What is the error message if you launch that app in iPhone directly. Is it "Cannot Open Application" ?
    (2) What is your iPhone firmware version ?
    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.


  7. #77
    Rookie Array

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

    Default Debugger Message

    (1) What is the error message if you launch that app in iPhone directly. Is it "Cannot Open Application" ?

    It is immediately killed. Get message "Killed"

    (2) What is your iPhone firmware version ?

    Version 2.0 (5A347)
    Modem Firmware 04.05.04_G

    It was 1st generation phone upgraded to 2.0 and unlocked using PWNED

    One more stuff

    When I check the log from Window->Organizer->"My device" --> Tab Console

    I could see Unable to launch application with CFBundleIdentifier `com.yourcompany.test1`sbs_error 9


    Thanks and Regards
    Sarang
    Last edited by stirucherai; 09-19-2008 at 03:55 PM.

  8. #78
    Developer Array javacom's Avatar

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

    Default

    The already patched MobileInstallation binary for your version is at post #43 of this thread.
    I think it is not related to this patch, as the program is already installed in your iPhone.

    I think it must be the codesign issue, may be your created codesign cert is not correct. Please make sure that the build results screen does have a line on codesign and is successful. You can first clean up all builds and see the build process in Build results window step by step again.

    Or you can ssh login iPhone and codesign it

    (1) first find the app
    Code:
    cd /var/mobile/Applications
    find -name test1.app
    (2) and then cd to that test1.app directory
    and manually codesign the binary in iPhone
    Code:
    ldid -S test1
    then launch the app on iPhone homescreen again.
    Last edited by javacom; 09-19-2008 at 04:14 PM.
    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.


  9. #79
    Rookie Array

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

    Default Debugger issue

    Dear Javacom

    When I do ldid -S test1.app I get following message

    ./minimal/mapping.h(54): _assert(21:false)

    Same error for another new project I create

    When connect ../Application/test1.app directory and do
    ldid -S (or s) test1 and then
    ./test1

    no response (Atleast it is no killed). It just hang in the terminal screen. Phone is not locked I could goto other applications

    When I try from Springboard I get following error "The application "test1" cannot be opened"

    Thanks and Regards
    Sarang
    Last edited by stirucherai; 09-19-2008 at 06:52 PM.

  10. #80
    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

    When I do ldid -S test1.app I get following message

    ./minimal/mapping.h(54): _assert(21:false)

    Same error for another new project I create

    Thanks and Regards
    Sarang
    You have to do it on the binary file
    try
    Code:
    ldid -S test1.app/test1
    if it failed, use the small s option

    Code:
    ldid -s test1.app/test1
    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.



 

 

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 04:55 PM.
twitter, follow us!