1
내 IOS 앱에 Metaio SDK를 설치했으며 MetaioCloudPluginViewController.h에서 벡터 파일을 찾을 수 없다는 오류가 발생했습니다. 형식을 변경하려고했습니다. .m 또는 .mm 어디에서이 sdk 파일을 사용했지만 불행히도 나는 그것을 다음과 같은 새로운 오류가 "포인터와 정수 사이의 비교"와 같은 팝업됩니다 할 경우. 빌드 설정에서 몇 가지 사항을 변경했지만 여전히 결과는 동일합니다.Metaio 클라우드 플러그인 viewcontroller에서 벡터 파일을 찾을 수 없음
이 파일은 명시된 viewcontroller에 포함되어 있습니다.
#include <vector>
아래 코드는 viewcontroller.m 파일 중 하나에서 사용됩니다.
- (IBAction)onStartPushed:(id)sender {
// Create a new ARViewController. All channel details and properties are defined in that class.
// see ARViewController.mm for the implementation
ARViewController* metaioCloudPlugin = [[ARViewController alloc] init];
// present the viewcontroller
[self presentViewController:metaioCloudPlugin animated:YES completion:nil];
// release it, because it's retained as modalViewController
//[metaioCloudPlugin release];
}
감사합니다.