I have found out my issue on the device not working and simulator working. When i comment out this part, it works:
[OpenFeint initializeWithProductKey:@"MYKEY" andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]];
So it looks like this:
//[OpenFeint initializeWithProductKey:@"MYKEY" andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]];
it works perfectly when I comment out that part above, but when I click the open feint button, I get this error:
EXC_BAD_ACCESS.
I replace My key with my app Key in open feint and my secret with my app's secret code.
When I click the open feint button, it goes to a file and highlights this part in GREEN:
[inv invoke]; EXC_BAD_ACCESS
Then in my console when i Step into:
2012-04-28 08:53:12.076 BalloonsPop[500:707] Application windows are expected to have a root view controller at the end of application launch Single stepping until exit from function +[OpenFeint(Private) launchDashboardWithDelegate:tabControllerName:andControllers:], which has no line number information. warning: Remote failure reply: E37
Any Suggestions to try? Thanks A lot!
I am not sure if you do, but I would declare it like this:
OpenFeint *openfeint = [OpenFeint initializeWithProductKey:@"MYKEY"
andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings
andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]];
I hope this helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.