Page 14 of 15 FirstFirst ... 456789101112131415 LastLast
Results 131 to 140 of 144
Discuss [XCode Template] for SDK and Open Toolchain API in firmware 2.0 at the iPhone Developer Exchange - Hackint0sh.org; Hi! I have one small question. Is it possible to modify my official SDK template, ...
  1. #131
    Newbie Array

    Join Date
    Jul 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hi!

    I have one small question.
    Is it possible to modify my official SDK template, to work with the pwned certificate? I have modified the info.plist file to include the SignerIdentity key and the project settings to include the PROVISIONING_PROFILE_ALLOWED & REQUIRED strings, yet i am still having problems - it's either "putpkt: write failed: Broken pipe." or a security error.

    @Javacom: great work! thanks a lot!

    edit: FIXED! i just added a build script using this:
    Code:
    export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    if [ "${PLATFORM_NAME}" == "iphoneos" ]; then
    	/Users/youruser/bin/gen_entitlements.py "my.company.${PROJECT_NAME}" "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/${PROJECT_NAME}.xcent";
    	codesign -f -s "iPhone developer" --resource-rules "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/ResourceRules.plist" \
    		 --entitlements "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/${PROJECT_NAME}.xcent"  "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/"
    fi
    Last edited by tadelv; 12-15-2008 at 10:27 PM. Reason: fix found


  2. #132
    Newbie Array

    Join Date
    Dec 2008
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    hey, these templates look very helpful, though im having trouble getting them working,

    i have a hackintosh, kalyway vers 10.5.2
    using "view based" applicaion..
    anyone have any idea what i do with this error?

    PHP Code:
    codesignunrecognized option `--entitlements' 
    UPDATE: problem solved, by updating to 10.5.3, thanks for the help
    thanks to javacom for his hard template work also.
    Last edited by lgchicken; 12-22-2008 at 03:29 PM. Reason: add info

  3. #133
    Newbie Array

    Join Date
    Dec 2008
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by lgchicken View Post
    anyone have any idea what i do with this error?

    Code:
    codesign: unrecognized option `--entitlements'
    btw: im on an intel hackintosh, latest sdk
    I am running into the same issue. I managed to get the iPhone SDK running on Leo4Allv3 (10.5.2) however now I am wondering if the codesign utility is part of the 10.5.3 update.

    Anyone have evidence either way (i.e. able to sign with entitlements on <= 10.5.2 or getting this error on >= 10.5.3)?

    haaj

  4. #134
    Newbie Array

    Join Date
    Dec 2008
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by haaj View Post
    I am running into the same issue. I managed to get the iPhone SDK running on Leo4Allv3 (10.5.2) however now I am wondering if the codesign utility is part of the 10.5.3 update.
    haaj
    edit: ahhh success... i updated to 10.5.3 and now it is working!
    thanks all, thanks for the templates too javacom.
    Last edited by lgchicken; 12-22-2008 at 03:28 PM.

  5. #135
    Newbie Array

    Join Date
    Dec 2008
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I've a simple problem using open toolchain.
    for example when i use a undocumented functions, like PCGetPlaylistCount() (defined in include-1.2-sdk/include/MobileMusicPlayer/MobileMusicPlayer.h) and i try to compile i get:
    Code:
    Undefined symbols: _PCGetPlaylistCount
    Where are the libs where theese symbols are stored and can be linked?


  6. #136
    Newbie Array

    Join Date
    Jan 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I'm trying to get this working on my powerpc mac, latest leo, jailbroken iphone 2.2, xcode 3.1.

    I've used templates, I've created certificate, I've done all the instructions I've found here and somewhere else. Still no luck.

    I get 2 different results:

    1. putpkt: write failed: Broken pipe. In that case app is been copied to an iphone and crashes on launch.
    2. 0xe8000001 while copying app to an iphone.

    Can anybody help me? Maybe over im or skype...

    PSrobably my sdk is too old, I'm downloading the latest one now.

  7. #137
    Developer Array javacom's Avatar

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

    Smile

    Quote Originally Posted by hryamzik View Post
    I'm trying to get this working on my powerpc mac, latest leo, jailbroken iphone 2.2, xcode 3.1.

    I've used templates, I've created certificate, I've done all the instructions I've found here and somewhere else. Still no luck.

    I get 2 different results:

    1. putpkt: write failed: Broken pipe. In that case app is been copied to an iphone and crashes on launch.
    2. 0xe8000001 while copying app to an iphone.

    Can anybody help me? Maybe over im or skype...

    PSrobably my sdk is too old, I'm downloading the latest one now.

    If you deploy to firmware 2.2, you need the latest SDK 2.2 and Mac OS 10.5.5 

    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. #138
    Newbie Array

    Join Date
    Jan 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I have installed the new mobile install file and the pwned templates.. if I create a pwned template app and it installs and runs fine to my 2.0.1 iPhone 2G.

    I am wondering if there is an easy way to convert projects that were originally made with a regular template to one of the pwned templates so it can be run on the iPhone.. I am hoping to convert the Xcode iPhone tutorial projects so I can play around with them to hemp me learn about iPhone development..

    Thanks for your help.

  9. #139
    Developer Array javacom's Avatar

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

    Default

    Quote Originally Posted by lowf View Post
    I have installed the new mobile install file and the pwned templates.. if I create a pwned template app and it installs and runs fine to my 2.0.1 iPhone 2G.

    I am wondering if there is an easy way to convert projects that were originally made with a regular template to one of the pwned templates so it can be run on the iPhone.. I am hoping to convert the Xcode iPhone tutorial projects so I can play around with them to hemp me learn about iPhone development..

    Thanks for your help.

    This is a long thread and sorry that you may not find the solution easily

    To answer your problem, if you are using firmware 2.0 to 2.0.2, you have to follow the step (1) & (2) of post 53, here
    http://www.hackint0sh.org/forum/f9/3...htm#post342736

    to add the PROVISIONING_PROFILE_ALLOWED and PROVISIONING_PROFILE_REQUIRED in the project setting

    and in the Info.plsit of the project you have to add
    Code:
            <key>SignerIdentity</key>
    	<string>Apple iPhone OS Application Signing</string>
    and you need to use the fake codesign certificate created in your Mac to codesign the project binary

    After these, you can build & go in XCode and debug in your iPhone.
    .
    .
    .
    .
    Last edited by javacom; 01-22-2009 at 04:52 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.


  10. #140
    Newbie Array

    Join Date
    Jan 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by javacom View Post
    This is a long thread and sorry that you may not find the solution easily

    To answer your problem, if you are using firmware 2.0 to 2.0.2, you have to follow the step (1) & (2) of post 53, here
    http://www.hackint0sh.org/forum/f9/3...htm#post342736

    to add the PROVISIONING_PROFILE_ALLOWED and PROVISIONING_PROFILE_REQUIRED in the project setting

    and in the Info.plsit of the project you have to add
    Code:
            <key>SignerIdentity</key>
    	<string>Apple iPhone OS Application Signing</string>
    and you need to use the fake codesign certificate created in your Mac to codesign the project binary

    After these, you can build & go in XCode and debug in your iPhone.
    .
    .
    .
    .
    Thanks! That is exactly what I need!


 

 

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, 04: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, 12:26 PM
  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 © 2013 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 09:15 PM.
twitter, follow us!