Page 15 of 15 FirstFirst ... 56789101112131415
Results 141 to 144 of 144
Discuss [XCode Template] for SDK and Open Toolchain API in firmware 2.0 at the iPhone Developer Exchange - Hackint0sh.org; The trick to skip provisioning profile for iPhone SDK 2.1.1 (build 9M2621a) still works Just ...
  1. #141
    Developer Array javacom's Avatar

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

    Smile iPhone SDK 2.1.1 (build 9M2621a)

    The trick to skip provisioning profile for iPhone SDK 2.1.1 (build 9M2621a) still works

    Just backup and edit the file and add the magic words as shown below highlighted in red color

    /Developer/Platforms/iPhoneOS.platform/Info.plist
    Code:
    <key>OverrideProperties</key>
     <dict>
      <key>CODE_SIGN_CONTEXT_CLASS</key>
      <string>XCiPhoneOSCodeSignContext</string>
      <key>DEBUG_INFORMATION_FORMAT</key>
      <string>dwarf-with-dsym</string>
      <key>EMBEDDED_PROFILE_NAME</key>
      <string>embedded.mobileprovision</string>
      <key>SDKROOT</key>
      <string>iphoneos2.2.1</string>
      <key>PROVISIONING_PROFILE_ALLOWED</key>
      <string>NO</string>
      <key>PROVISIONING_PROFILE_REQUIRED</key>
      <string>NO</string>
     </dict>
    Please remember to restart your Xcode after the amendment above.

    For MobileInstallation patch, please use my package (updated to support firmware 2.2.1) as posted here
    Hackint0sh - View Single Post - Automatic MobileInstallation Patch (2.0-2.0.2)

    Please also see the first post
    http://www.hackint0sh.org/forum/f9/38389.htm#post281528
    .
    .
    .
    .
    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. #142
    Professional Array KneelBee's Avatar

    Join Date
    Jan 2008
    Location
    England, UK
    Posts
    85
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Hi javacom,

    I've been building stuff with Xcode and the official SDK for about 6 months so I'm not a total newbie. I decided I'd have a look what the unofficial side of development looked like and followed everything in your posts to install everything required.

    However, I created a new project based on the Open Tool Chain Application template, hit "Build" and it threw up all of these errors (below but I had to delete a lot of the output text as it's too long for one post).

    Also, in the first post in this topic you refer to "IPHONE_IP" and "IPHONE_INSTALL_DIR" in the Project settings but I couldn't find them. I assumed you'd need to manually add them to the User-Defined Setting section? If not, where do you find them.

    Many thanks,

    Neil

    Code:
    Building target “ott_test” of project “ott_test” with configuration “Debug” — (19 errors)
    	Checking Dependencies
    	    mkdir /Users/-------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator/ott_test.app
        cd /Users/------/Documents/Development/iPhone/ott_test
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        <com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Users/------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator/ott_test.app/PkgInfo -expandbuildsettings -o /Users/------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator/ott_test.app/Info.plist
    	    cd /Users/------/Documents/Development/iPhone/ott_test
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D__IPHONE_OS_VERSION_MIN_REQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/ott_test-generated-files.hmap -I/Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/ott_test-own-target-headers.hmap -I/Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/ott_test-all-target-headers.hmap -iquote /Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/ott_test-project-headers.hmap -F/Users/------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator -I/Users/------/Documents/Development/iPhone/ott_test/build/Debug-iphonesimulator/include -I/Users/------/Documents/Development/iPhone/ott_test/build/ott_test.build/Debug-iphonesimulator/ott_test.build/DerivedSources -I/Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/usr/include -I/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include -F/System/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/PrivateFrameworks -DASPEN -DDEBUG -DVERSION="2.1.0" -O3 -funroll-loops "-DMAC_OS_X_VERSION_MAX_ALLOWED=1050
    " -c /Users/------/Documents/Development/iPhone/ott_test/ott_test_Prefix.pch -o /var/folders/FZ/FZZb2jIQGMWxKTIVM4wdGE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/ott_test_Prefix-ggkgvoiunlsvpbfotnzujsptgzgs/ott_test_Prefix.pch.gch
    In file included from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/MachineExceptions.h:29,
                     from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/DriverServices.h:32,
                     from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/CarbonCore.h:125,
                     from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CoreServices/CoreServices.h:24,
                     from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/ApplicationServices/ApplicationServices.h:20,
                     from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/Foundation/NSAppleEventDescriptor.h:8,
                     from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/Foundation/Foundation.h:104,
                     from /Users/------/Documents/Development/iPhone/ott_test/ott_test_Prefix.pch:6:
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1038: error: redefinition of '_mm_max_pi16'
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:806: error: previous definition of '_mm_max_pi16' was here
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1044: error: redefinition of '_mm_min_pi16'
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:848: error: previous definition of '_mm_min_pi16' was here
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1070: error: redefinition of '_mm_min_pi16'
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1064: error: previous definition of '_mm_min_pi16' was here
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1077: error: redefinition of '_mm_min_pu8'
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:862: error: previous definition of '_mm_min_pu8' was here
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1083: error: redefinition of '_mm_min_pu8'
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1077: error: previous definition of '_mm_min_pu8' was here
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1090: error: redefinition of '_mm_avg_pu16'
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:917: error: previous definition of '_mm_avg_pu16' was here
    /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1171: error: incompatible type for argument 2 of '__builtin_ia32_movntq'
    		                 from /Users/------/Documents/Development/iPhone/ott_test/ott_test_Prefix.pch:6:
    			                 from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/Foundation/Foundation.h:104,
    				                 from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/Foundation/NSAppleEventDescriptor.h:8,
    					                 from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/ApplicationServices/ApplicationServices.h:20,
    						                 from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CoreServices/CoreServices.h:24,
    							                 from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/CarbonCore.h:125,
    								                 from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/DriverServices.h:32,
    									In file included from /Developer/SDKs/iPhoneOS.sdk/Versions/iPhoneOS2.0.sdk/include/CarbonCore/MachineExceptions.h:29,
    										/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1038: error: redefinition of '_mm_max_pi16'
    		/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:806: error: previous definition of '_mm_max_pi16' was here
    		/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1044: error: redefinition of '_mm_max_pi16'
    		/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1038: error: previous definition of '_mm_max_pi16' was here
    		/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1051: error: redefinition of '_mm_max_pu8'
    		/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/mmintrin.h:820: error: previous definition of '_mm_max_pu8' was here
    		/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1057: 
    		/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:1208: error: incompatible type for argument 2 of '__builtin_ia32_movntq'
    Build failed (19 errors)

  3. #143
    Professional Array KneelBee's Avatar

    Join Date
    Jan 2008
    Location
    England, UK
    Posts
    85
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Doh!

    Just realised Project SDK was set to Simulator by default.

    Got it building properly now

    However, the question about setting IPHONE_IP and IPHONE_INSTALL_DIR is still a mystery to me.

    Thanks,

    Neil

  4. #144
    Newbie Array

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

    Default

    So i've been trying to read this thread for a couple days and cant really make heads or tales of it...using the information i was able to put a HelloWorld built with the official 2.2 sdk on my ipod touch (thanks!)...but i dont get this open toolchain stuff...

    first the title of the thread is "...Open Toolchain API.."..but yet i dont see any summary of any type of the list of classes/functions/etc for open toolchain (which is what i usally picture when thinking of api's)? what exactly is the open toolchain? its the sdk that Cydia uses for its programs correct?

    another confusing problem ive been having is that when you google for information on any of this the results are a range of threads from 2007 to 2009...now most of the older (2007-early 2008) instructions are much different then the ones in the first page (and subsequent important linked post #s(62, 53, 125, etc.)...following the instructions install XCode template 3.5.2 and the 5 or 6 lines to put into terminal to get the Toolchain headers, is taht all i need to be able to start programming with the Toolchain SDK rather then the official? from the theiphonewiki.com i tried to compile HelloWorld example they gave and i got around 16 errors, but they were all talking about other functions being declared in the headers which they were correctly...am i missing somethings i need to link?


    any help would be appreciated

 

 

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 06:13 AM.
twitter, follow us!