Van*_*ung 5 xcode pch unity-game-engine
我正在按照本教程将 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
Run Code Online (Sandbox Code Playgroud)
我尝试过的解决方案:
/Users/myproject
,但仍然无法正常工作。我没有太多的 C 知识,所以我不确定我应该详细说明我的项目的哪些部分,如果我需要显示更多细节,请发表评论。