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
  #1 (permalink)  
Old 02-12-2009, 06:45 PM
snowtrap
Status: Offline
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
snowtrap is on a distinguished road
Lightbulb iPhone application development on Windows

Dear community,
I am a windows user / programmer (Visual Studio 2008 / C# / C++ / C) and i am interested in exploring the mac world. So i was wondering if i can use my windows machine (Vista) to make an app or two for my girlfriend's iPhone 2G 8Gb v2.2.1 Unlocked & Jailbroken (Pawn). I know that the sdk is for mac only. Is there any other way? If anybody can contribute to this, please do!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-04-2009, 12:11 PM
snowtrap
Status: Offline
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
snowtrap is on a distinguished road
Default

nobody??? please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 03-04-2009, 03:12 PM
riyuk
Status: Offline
Trial Member
 
Join Date: Mar 2009
Posts: 1
Rep Power: 0
riyuk is on a distinguished road
Default

VMWare + Mac OS X Leopard.

I think there is no other way.
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

  #4 (permalink)  
Old 03-05-2009, 01:47 PM
snowtrap
Status: Offline
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
snowtrap is on a distinguished road
Default

Is there a VMWare that can successfully run mac OS X???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-06-2009, 05:49 PM
Singaja
Status: Offline
Member
 
Join Date: Oct 2007
Posts: 58
Rep Power: 5
Singaja is on a distinguished road
Default

You can use iphone open toolchain 2.0. Although you may spend some time to get it running(well I did).

Ok, basically the idea behind it is that you can prepare the toolchain to compile your programs natively on the iphone itself. Of course you don't have to use the iphone-terminal to do it SSH-session is quite handy to do all the stuff.

Well it may sound easy but doing it from scratch actually was quite time consuming and annoying.

The hard way:
1. Download iPhone OS 2.0 SDK , file is called iphone_sdk_final.dmg [about 1.3 GB]
2. Download 7-Zip 4.59 Beta or latest one.
3. Run 7-Zip and open the downloaded dmg file.
4. Go to Packages and extract iPhoneSDKHeadersAndLibs.pkg
5. Open the pkg file in 7-Zip and extract Payload

UPDATE : You don't need cygwin anymore , because cpio is available on iphone through cydia. If you copy the extraced Payload to iphone/ipod touch you can follow instructions from point 12 directly on your mobile device through an ssh-session.

6. Download Cygwin installer.
7. Install and leave all options to default beside including gcc and make in devel section.
8. Make sure cygwin is running and gcc and make are available.
9. Download latest sources of cpio [if you are not familiar with unix tools:tar -xvf filename.tar.gz to decompress it ].
10. Compile it and install it under cygwin (readme files are provided how to do it).
11. In cygwin:If your cpio is working move the extracted Payload file to some dir and make it your current one.
12. Now comes a series of commands ,just keep typing them:
zcat Payload | cpio -id '*.h'

mkdir include

mv Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/* .
rmdir -p Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/

mv System/Library/Frameworks/* .
rmdir -p System/Library/Frameworks/

mv AddressBook.framework/Headers include/AddressBook
mv AddressBookUI.framework/Headers include/AddressBookUI
mv AudioToolbox.framework/Headers include/AudioToolbox
mv AudioUnit.framework/Headers include/AudioUnit
mv CFNetwork.framework/Headers include/CFNetwork
mv CoreAudio.framework/Headers include/CoreAudio
mv CoreFoundation.framework/Headers include/CoreFoundation
mv CoreGraphics.framework/Headers include/CoreGraphics
mv CoreLocation.framework/Headers include/CoreLocation
mv Foundation.framework/Headers include/Foundation
mv MediaPlayer.framework/Headers include/MediaPlayer
mv OpenAL.framework/Headers include/OpenAL
mv OpenGLES.framework/Headers include/OpenGLES
mv QuartzCore.framework/Headers include/QuartzCore
mv Security.framework/Headers include/Security
mv SystemConfiguration.framework/Headers include/SystemConfiguration
mv UIKit.framework/Headers include/UIKit
rmdir -p *.framework

mv usr/include/* include/
rm -rf usr/lib
rmdir -p usr/include/

rm Payload
tar --group 0 --owner 0 -cvf include.tar include

13. The end of the hard way: you get your beloved include.tar

The easy way:
Contact me via private message and I'll provide you with include.tar. However I'm not allowed to distribute it publicly due to Apple SDK licence.

Iphone stuff:
1. Copy the include.tar to /private/var/root [well actually any directory will do]
2. Now type:
cd /var
tar xf /private/var/root/include.tar

3. For iphone firmware 2.2(and 2.2.1 i presume) you also need to type:
cd /var/include
ls stdint.h
make sure it doesn't exist, if so
ln -s gcc/darwin/4.0/stdint.h stdint.h

You now should have the headers for your iphone on your iphone
4. Run Cydia and install : GNU C Compiler , Make from Development section. You will also need Link Identity Editor(ldid) for signing your apps [though there are other methods to bypass sign-checking I won't discuss it].
5. Download a helloWorld example i.e:http://antirez.com/misc/iphone-helloworld-1.tar.gz
6. Extract , enter directory , type make
7. Copy the created *.app directory to /Applications
8. Type /Applications/BossPrefs.app/Respring and enjoy your first helloWorld application[of course you need BossPrefs installed].
9. Your application may not run if you haven't installed at least one free app from iTunes store.

95% of this instructions are based on Toolchain 2.0 - The iPhone Wiki and Developing for the iphone using the open toolchain and SDK 2.0 headers - antirez weblog so the credit goes to original authors. This is just dumb implementation of instructions I found there.

Hope sb finds it helpful.
__________________
Game remake

Last edited by Singaja; 05-25-2009 at 12:18 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 03-18-2009, 04:21 PM
Singaja
Status: Offline
Member
 
Join Date: Oct 2007
Posts: 58
Rep Power: 5
Singaja is on a distinguished road
Default

Has anyone found a solution for some kind of Intellisense under Windows for Open toolchain development? I presume something like this must exist in XCode.
__________________
Game remake
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

Reply

Bookmarks

Tags
application, development, iphone, windows

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Official, Consolidated iPhone Hack Unlock Thread freudling General 9 10-31-2008 10:28 AM
[1.1.2 OTB] > 1.1.3 HW Unlock, up and running: GSM.VN ; Geohot; Imth; and hackin0sh Number_41 Older Software Unlock Solution 132 01-18-2008 12:18 PM
Unlock iPhone 1.1.2 via Downgrade and anySIM 1.1.1 from iPhone Dev Team eddy123 Older Software Unlock Solution 2 11-11-2007 03:06 PM
Ultimate Guide to unlock iPhone 1.1.1 for free [includes custom ringtones] eddy123 Older Software Unlock Solution 3 10-18-2007 08:35 PM
Tutorial: Jailbreak/Activate/Unlock a 1.0.2 or 1.1.1 iPhone using IPSF obviouz Older Software Unlock Solution 25 10-16-2007 03:08 PM



All times are GMT +2. The time now is 05:51 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, 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 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457