错误:无法产生进程(参数列表过长)

时间:2019-05-09 06:58:41

标签: xcode unity3d unityscript pch

我正在追踪this tutorial,将Unity项目嵌入iOS项目中。

我在Precompile Prefix.pch流程中遇到了错误

  

错误:无法生成进程(参数列表过长)

enter image description here

我的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 postthis post中的解决方案。

  1. 将项目移到更高的层次结构/Users/myproject中,但仍然无法正常工作。
  2. 删除衍生数据文件夹
  3. 清理并构建

我对C语言的了解不多,所以我不确定应该详细说明我的项目的哪一部分,如果需要显示更多细节,请发表评论。

0 个答案:

没有答案