我正在追踪this tutorial,将Unity项目嵌入iOS项目中。
我在Precompile Prefix.pch
流程中遇到了错误
错误:无法生成进程(参数列表过长)
我的Prefix.pch
包含
#include "Preprocessor.h"
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif
#include "UnityTrampolineConfigure.h"
#include "UnityInterface.h"
#ifndef __OBJC__
#if USE_IL2CPP_PCH
#include "il2cpp_precompiled_header.h"
#endif
#endif
#ifndef TARGET_IPHONE_SIMULATOR
#define TARGET_IPHONE_SIMULATOR 0
#endif
#define printf_console printf
我尝试过的解决方案:
我检查了this post和this post中的解决方案。
/Users/myproject
中,但仍然无法正常工作。我对C语言的了解不多,所以我不确定应该详细说明我的项目的哪一部分,如果需要显示更多细节,请发表评论。