2012-04-30 5 views
1

나는 작동하지 않는 장치와 시뮬레이터에서 내 문제점을 발견했습니다. 나는이 부분을 주석 때 , 그것은 작동합니다시뮬레이터가 작동하지만 장치가 작동하지 않습니까?

[OpenFeint initializeWithProductKey:@"MYKEY" andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]]; 

그래서 다음과 같습니다 : 그것은 내가 위에서 그 부분을 주석 만하면 완벽하게 작동

//[OpenFeint initializeWithProductKey:@"MYKEY" andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]]; 

나는 오픈 시늉 버튼을 클릭하면

EXC_BAD_ACCESS. 

내가 오픈 페인트에서 내 응용 프로그램 키와 내 응용 프로그램의 비밀 코드 내 비밀로 내 키를 대체합니다,이 오류가 발생합니다. 내 콘솔에서 다음

[inv invoke]; EXC_BAD_ACCESS 

전으로 단계 :에

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

제안 내가 오픈 시늉 버튼을 클릭하면

, 그것은 파일 및 하이라이트 GREEN에서이 부분에 간다 시험? 고마워요!

+0

네트워크 연결이 없기 때문에 시뮬레이터에서 작동 할 수 있으므로 OpenFeint가 작업을 중단합니다. – giorashc

+0

나는 많은 장치에서 인터넷을 통해이 응용 프로그램을로드하려고 시도했지만 아무 단추도 클릭 할 수 없기 때문에 응용 프로그램이 openfeint 코드 때문에 작동하지 않게됩니다. – Raoul

+0

이것은 앱 위임에서 다른 컨트롤러 (루트보기 컨트롤러)에보기를 제공하지 않기 때문에 발생합니다. 다시 폴백 할 기본 컨트롤러가 없기 때문입니다. 320 네비게이터로이 오류가 발생했습니다 (기본 동작을 정의하지 않았습니다). 따라서 openfeint 호출에서 반환 된 뷰가 없다는 것을 의미합니다. – Panagiotis

답변

0

나는 당신이 경우에 확실하지 않다, 그러나 나는 다음과 같이 선언합니다 :

OpenFeint *openfeint = [OpenFeint initializeWithProductKey:@"MYKEY" 
    andSecret:@"MYSECRET" andDisplayName:@"LatinToGo" andSettings:settings 
    andDelegates:[OFDelegatesContainer containerWithOpenFeintDelegate:self]]; 

도움이 되었기를 바랍니다.

+0

내가 이것을 추가하면 : OpenFeint initializeWithProductKey : @ "MYKEY"andSecret : @ "MYSECRET"andDisplayName : @ "LatinToGo"andSettings : settings andDelegates : [OFDelegatesContainer containerWithOpenFeintDelegate : self]]; 그런 다음 오류가 발생합니다 : void 형식의 값으로 'OpenFeint *'형식의 변수를 초기화 할 수 없습니다 ' – Raoul

관련 문제