TopOn Unity SDK的错误码及FAQ指引请参考:
系统平台 | 说明 |
---|---|
TopOn Android SDK | 查看 |
TopOn iOS SDK | 查看 |
问:编译报错“call to undeclared function 'typeof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]”具体如图所示
答:由于C++版本的问题导致了,Build Settings -> Apple Clang - Language -> C Language Dialect -> 修改为c11,如果所示。
问:Unity导出来后,打包遇到了 Missing signing identifier at "xxxxxx/Frameworks/libswiftCore.dylib",怎么解决。
答:按下面步骤进行操作
提示:是更改 UnityFramework 这个 Target,而不是 Unity-iPhone 这个 Target。
问:遇到错误“Invalid Bundle. The bundle at 'Marooned.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'.”
答:在Build Phases下新增Run Script,并添加以下代码:
cd "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Frameworks/UnityFramework.framework/"
if [[ -d "Frameworks" ]]; then