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
  #141 (permalink)  
Old 01-29-2009, 04:25 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
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #142 (permalink)  
Old 03-11-2009, 11:37 AM
KneelBee's Avatar
KneelBee
Status: Offline
Member
 
Join Date: Jan 2008
Location: England, UK
Posts: 85
Rep Power: 8
KneelBee will become famous soon enough
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #143 (permalink)  
Old 03-11-2009, 11:42 AM
KneelBee's Avatar
KneelBee
Status: Offline
Member
 
Join Date: Jan 2008
Location: England, UK
Posts: 85
Rep Power: 8
KneelBee will become famous soon enough
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
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

  #144 (permalink)  
Old 04-11-2009, 07:23 PM
EvanVanVan
Status: Offline
Trial Member
 
Join Date: Feb 2009
Posts: 1
Rep Power: 0
EvanVanVan is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #145 (permalink)  
Old 10-12-2009, 05:33 AM
zzyjetty
Status: Offline
Banned
 
Join Date: Oct 2009
Posts: 1
Rep Power: 0
zzyjetty is on a distinguished road
Default i like it

i like iti like iti like iti like iti like iti like it
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 03:05 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, 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