The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone





 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-13-2009, 12:10 PM
What's Jailbreak?
 
Join Date: Sep 2009
Device + Firmware: iphone 2g os 3.0
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
my app that compiled with toolchain, is crashing

hi, i have iphone 2g os 3.0. i got example codes from O'Reilly's iphone open app development 2. edition. My app's directory is /Applications/MyExample.app (in the attachments). i compiled codes succesfully and ldid it. also i did this:
Code:
sysctl -w security.mac.proc_enforce=0
sysctl -w security.mac.vnode_enforce=0
permissions
Code:
-rw-r--r-- 1 root wheel 151962 Oct  7 12:24 Default.png
-rw-r--r-- 1 root wheel    752 Oct  7 12:23 Info.plist
-rwxr-xr-x 1 root wheel  14320 Oct 10 13:51 MyExample*
-rw-r--r-- 1 root wheel    409 Oct  7 12:20 MyExample.h
-rw-r--r-- 1 root wheel   1234 Oct  7 12:21 MyExample.m
-rw-r--r-- 1 root wheel   6568 Oct  9 16:33 MyExample.o
-rw-r--r-- 1 root wheel   4264 Sep 28 19:11 icon.png
-rw-r--r-- 1 root wheel    501 Oct  7 12:50 makefile
my app is crashing. i looked from iphone configuration utility's console:
Code:
Wed Oct  7 19:32:11 unknown MyExample[238] <Error>: *** -[UIWindow _setHidden:]: unrecognized selector sent to instance 0x113650
Wed Oct  7 19:32:11 unknown MyExample[238] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIWindow _setHidden:]: unrecognized selector sent to instance 0x113650'
Wed Oct  7 19:32:11 unknown MyExample[238] <Error>: Stack: (\n    808001701,\n    805397928,\n    808005509,\n    807501935,\n    807464352,\n    9600,\n    814683556,\n    814682492,\n    814970032,\n    814968048,\n    814966908,\n    839149932,\n    807750263,\n    807747947,\n    814678868,\n    814672532,\n    8872,\n    8572,\n    8216\n)
Wed Oct  7 19:32:11 unknown UIKitApplication:com.gojohnnyboi.sampleapp[0x9a26][238] <Notice>: terminate called after throwing an instance of '
Wed Oct  7 19:32:11 unknown UIKitApplication:com.gojohnnyboi.sampleapp[0x9a26][238] <Notice>: NSException
Wed Oct  7 19:32:11 unknown UIKitApplication:com.gojohnnyboi.sampleapp[0x9a26][238] <Notice>: '
Wed Oct  7 19:32:12 unknown ReportCrash[239] <Notice>: Formulating crash report for process MyExample[238]
Wed Oct  7 19:32:13 unknown SpringBoard[131] <Warning>: Application 'MyExample' exited abnormally with signal 6: Abort trap
Wed Oct  7 19:32:13 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.gojohnnyboi.sampleapp[0x9a26]) Job appears to have crashed: Abort trap
Wed Oct  7 19:32:13 unknown ReportCrash[239] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/MyExample_2009-10-07-193211_deniz-777.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
note: MyExample_2009-10-07-193211_deniz-777.plist is in attachments
an other console log:
Code:
Fri Oct  9 19:52:47 unknown MyExample[302] <Error>: *** -[UIWindow _setHidden:]: unrecognized selector sent to instance 0x113440

Fri Oct  9 19:52:47 unknown MyExample[302] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIWindow _setHidden:]: unrecognized selector sent to instance 0x113440'

Fri Oct  9 19:52:47 unknown MyExample[302] <Error>: Stack: (\n    808001701,\n    805397928,\n    808005509,\n    807501935,\n    807464352,\n    9600,\n    814683556,\n    814682492,\n    814970032,\n    814968048,\n    814966908,\n    839149932,\n    807750263,\n    807747947,\n    814678868,\n    814672532,\n    8872,\n    8572,\n    8216\n)

Fri Oct  9 19:52:47 unknown UIKitApplication:com.gojohnnyboi.sampleapp[0xf8f1][302] <Notice>: terminate called after throwing an instance of 'NSException'
what can i do ?
Attached Files
File Type: zip MyExample.zip (161.0 KB, 3 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 10-14-2009, 11:41 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,232
Thanks: 45
Thanked 202 Times in 162 Posts

The error indicates you are sending a message ( _setHidden: ) that is not defined on the receiving object (of class UIWindow).

That is like calling an undefined function.

A quick Google shows a method named setHidden: but not one named _setHidden:

Try changing _setHidden: to setHidden: and see how that works.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to NetMage For This Useful Post:
deniz-777 (10-15-2009)
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

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



Go to Top
ModMyI

All times are GMT -6. The time now is 01:34 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top