 |
 |
|
 |
10-10-2008, 11:13 AM
|
#1 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 22
|
I'm getting an error and I can't fix it. PLEASE HELP :(
Hello.
I was following the iPhone SDK Development book, on chapter three we make a table view with a navigation controller, and we can delete or add entries into our table.
When I delete an item from the list its all good, but when I try and add an item my app keeps giving me these warnings.
Code:
This GDB was configured as "i386-apple-darwin".warning: Unable to read symbols for "/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics" (file not found).
warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory).
warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
Basically when I hit the Add button a new view shows up, I can enter some text in a text field and when I hit done it takes me back to the list of items. I can see my name added on the list, but those warnings about the frameworks are thrown at me in the console.
I have tried:
- Reinstalling Xcode and the iPhone SDK
- Cleaning my project, deleting my build directory and the 2 files with my name inside the .xcodeproj file
- Manually remove and add the frameworks to my project again
- Create a new project and re write everything again
And my app still crashes, It's amazing how it still gives me these problems after I have created a new project form scratch.
Any help would be gladly appreciated as this is driving me utterly nuts!
|
|
|
10-10-2008, 11:20 AM
|
#2 (permalink)
|
|
Registered Member
Join Date: Oct 2008
Posts: 44
|
It seems like you’ve added the wrong frameworks. Try adding the frameworks from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks/, or open a fresh copy of an example project and copy the frameworks from there.
I hope that helps!
|
|
|
10-10-2008, 11:29 AM
|
#3 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 22
|
Quote:
Originally Posted by rendezvouscp
It seems like you’ve added the wrong frameworks. Try adding the frameworks from /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks/, or open a fresh copy of an example project and copy the frameworks from there.
I hope that helps!
|
How exactly would I go about adding the correct frameworks?
Thanks in advance
|
|
|
10-10-2008, 12:53 PM
|
#4 (permalink)
|
|
Registered Member
Join Date: Oct 2008
Posts: 44
|
You could drag and drop them from one of Apple’s example projects, or right click on the Frameworks group within your project, add existing frameworks, navigate to where I mentioned earlier, and add the frameworks you need from there. Hopefully that’ll solve your issue.
|
|
|
10-10-2008, 02:53 PM
|
#5 (permalink)
|
|
New Member
Join Date: Oct 2008
Posts: 22
|
The problem has been solved, I was using dealloc instead of release for some properties.
|
|
|
02-26-2009, 06:16 AM
|
#6 (permalink)
|
|
New Member
Join Date: Feb 2009
Posts: 4
|
hi
it means what
i writed like
- (void)dealloc {
[pickerview release];
[myscrollview release];
[pickerview1 release];
[pickerview2 release];
i have same above problem can you tell me
i am beginner of iphone appplication
|
|
|
02-26-2009, 07:09 AM
|
#7 (permalink)
|
|
iPhone Developer
Join Date: Dec 2008
Location: India
Posts: 141
|
Getting same warnigns but
Hi
I am getting the same warning till i started working on this platform, but they are not effecting my application. I dont know why they are coming but now i dont care of them. Is there any thing related to that.
Thanks.
|
|
|
02-26-2009, 08:22 AM
|
#8 (permalink)
|
|
Registered Member
Join Date: Jul 2008
Posts: 345
|
Quote:
Originally Posted by rendezvouscp
You could drag and drop them from one of Apple’s example projects, or right click on the Frameworks group within your project, add existing frameworks, navigate to where I mentioned earlier, and add the frameworks you need from there. Hopefully that’ll solve your issue.
|
That's the annoying method.
The simpler method to right click on the target in Xcode, and click Get Info. In the first tab, at the bottom, there's a "+" button. Click it, and a sheet with all the iPhone SDK frameworks will appear. Select the one you want to add, and hey presto
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 422 |
| 44 members and 378 guests |
| amit.wizkid, andrei_c, AppStoreMod, bensj, Bertrand21, BrianSlick, cje, Cooper_1988, CunningCat, develsolutions, Dorald, eJohnny, Findus, fredidf, funkyspider, georgeburns, Gi-lo, graph, Guit, HemiMG, james_womack, jaume, javaconvert, leeus, Max, MiniRobinho, mr.pagu, noobAppDeveloper, Nuncha, Panajev, pion, Pwsoccer, rahulskh, Rudy, sayhong, seejaneworkit, Shlice Ideas, TheZimm, twerner, walkman2001, wilky94, yannickd60, _nivek |
| Most users ever online was 779, 05-11-2009 at 09:55 AM. |
» Stats |
Members: 24,301
Threads: 39,104
Posts: 171,438
Top Poster: smasher (2,575)
|
| Welcome to our newest member, alekssebasstrs |
|