Reputation: 2335
I downloaded an iphone game kit for further development. I followed his instructions for how to unpack the files and installed Xcode. However, when I tried to build the game, I got 1,321 build errors, such as: in the About.m section where an Error marker appears above
[App fadeToScene: [AboutMenuScene node]];
}
-(id) init
{
The error message says 'App' undeclared.
Another example in the About.m section:
self = [super init];
if(self != nil)
{
//add menu layer
No super class declared in @interface for 'AboutmenuScene'
This makes me think my directories are screwed up, but I don't even know where to start to resolve this problem.
Here's what I have tried:
Put src folder into the Quexlor (game name) folder (failed)
Put src folder into the Quexlor.xcodeproj folder (failed)
In between these failures, I have deleted older copies of the desktop Quexlor, and uninstalled and then reinstalled Xcode and iOS sdk 4.3.
Upvotes: 0
Views: 224
Reputation: 64477
I looked at your post and pictures in the iPhone Game Kit support forum.
I don't understand why in this picture the Quexlor.xcodeproj file is displayed as a Folder in Finder. In this picture the Quexlor.xcodeproj file is displayed correctly as Xcode project "file". Which begs the questions:
It seems to me that copying the Quexlor folder somehow corrupts the Quexlor.xcodeproj file.
If you have the Quexlor project open, I suggest to expand all groups that it contains and look for any files displayed in red. If one or more files of a group are red, select the containing group and open the File Inspector (Command+Option+1) pane. It will show you the path to that group, which is often a relative path. Check that the folders on disk match the path, or change the path in Xcode if necessary.
Upvotes: 1