Unity + OF 2.8 build (integration?) error

Hi,

I followed the steps to integrate OF 2.8 into my unity project.
I’m getting this (1) compile error:

/Users/…/Builds/iOS Universal/Classes/AppController+OpenFeint.mm:210:0 ‘OpenFeintSettingPromptToPostAchievementUnlock’ was not declared in this scope

Pointing to the line 210 of AppController+Openfeint.mm:

[NSNumber numberWithBool:UOF_PROMPT_TO_POST_ACHIEVEMENT_UNLO CK], OpenFeintSettingPromptToPostAchievementUnlock,

I ran the wizzard, thus creating OpenFeintSettingsDefines.h with the corresponding setting:

#define UOF_PROMPT_TO_POST_ACHIEVEMENT_UNLOCK YES

One thing I noticed was that these 2 files are not being copied into the build folder.
They are just being referenced. I tried deleting the references, copying the files to
the Classes group and creating new references for them, but it didn’t work also.

Anyone knows what is happening?

TIA,
I.

I think they removed that setting … its not in the source anywhere else anymore. I just commented it out like so

NSDictionary* settings = [NSDictionary dictionaryWithObjectsAndKeys:
		[NSNumber numberWithInt:UOF_INITIAL_DASHBOARD_ORIENTATION], OpenFeintSettingDashboardOrientation,
		UOF_APP_SHORT_DISPLAY_NAME, OpenFeintSettingShortDisplayName,
		[NSNumber numberWithInt:UOF_NOTIFICATION_POSITION], OpenFeintSettingNotificationPosition,
		[NSNumber numberWithBool:UOF_ENABLE_PUSH_NOTIFICATIONS], OpenFeintSettingEnablePushNotifications,
		[NSNumber numberWithBool:UOF_DISABLE_USER_GENERATED_CONTENT], OpenFeintSettingDisableUserGeneratedContent,
		//[NSNumber numberWithBool:UOF_PROMPT_TO_POST_ACHIEVEMENT_UNLOCK], OpenFeintSettingPromptToPostAchievementUnlock,
		[NSNumber numberWithBool:UOF_ALWAYS_ASK_FOR_APPROVAL_IN_DEBUG], OpenFeintSettingAlwaysAskForApprovalInDebug,
							  nil];

I had the exact same problem. Like paste120 suggested, I commented out that line and it worked fine.

Thanks guys. I’ll do that.

i just followed this, the error is no more there but, my app crashes while loading…

Please give some comments

You may have used up too much memory. I think OpenFeint has a lot of memory overhead. What device are you testing on?