Home
Reviews
Forums
New Games
Podcast
• submit tip •
  #1  
Old 08-14-2012, 04:52 PM
Blue145 Blue145 is offline
Junior Member
 
Join Date: Jun 2012
Posts: 5
Default Can someone help me with xCode?

So I'm beginning to develop my first iPhone app and need a bit of help.

The first is if I have a Standalone app I've built using storyboard and such, is there a simple way to combine that with a game my friend has built using a Cocos2D template? As in say on one of my View Controllers had a button, could I simply make it so when that button is pressed it loads the game?

Also, I've come across an error which I need help fixing, any advice would be really appreciated, thanks.


Here is the error I get:

Code:
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov  3 21:59:02 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".Attaching to process 87212.
2012-08-14 14:58:40.389 Aeora[87212:fb03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Cannot create an NSPersistentStoreCoordinator with a nil model'
*** First throw call stack:
(0x129e052 0x174fd0a 0x1a86d 0x34c7 0x315a 0x2964 0x2e29d6 0x2e38a6 0x2f2743 0x2f31f8 0x2e6aa9 0x1f57fa9 0x12721c5 0x11d7022 0x11d590a 0x11d4db4 0x11d4ccb 0x2e32a7 0x2e4a9b 0x2868 0x27c5)
terminate called throwing an exceptionsharedlibrary apply-load-rules all
Current language:  auto; currently objective-c
(gdb)
Reply With Quote
  #2  
Old 08-14-2012, 08:07 PM
jeremy.provost jeremy.provost is offline
Member
iPhone 4S, iOS 5.x
 
Join Date: Nov 2011
Posts: 94
Default

Not sure about that error without seeing the code that caused it. Should be fairly straightforward to find. Search your code for NSPersistentStoreCoordinator. Maybe you're doing an [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:] without passing in a valid managed object model.
Reply With Quote

Reply

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

Forum Jump


iPhone Game Reviews | iPhone Apps

All times are GMT -5. The time now is 06:00 AM.