For error codes and FAQ guidelines of Taku Unity SDK, please refer to:
System platform | Description |
---|---|
Taku Android SDK | View |
Taku iOS SDK | View |
Q:Compilation error " call to undeclared function 'typeof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]" as shown in the figure
Answer:Due to a problem with the C++ version, Build Settings -> Apple Clang - Language -> C Language Dialect -> Modify to c11 if shown.
Q:Unity After exporting, the package encountered Missing signing identifier at "xxxxxx/Frameworks/libswiftCore.dylib". How to solve it.
Answer:Follow the following steps
Tip: Change the UnityFramework thisTarget, not theUnity-iPhone thisTarget.
Q: Encountered error "Invalid Bundle. The bundle at 'Marooned.app/Frameworks/UnityFramework.framework' contains disallowed file 'Frameworks'."
Answer: Add Run Script under Build Phases and add the following code:
cd "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Frameworks/UnityFramework.framework/"
if [[ -d "Frameworks" ]]; then
ThisTargetClick to selectBuild SettingsEnterswiftin the search box to set "Always Embed Swift Standard Libraries" The option is "No"
Q:During the process of displaying pop-up ads, press the home button to exit to the background, and then click on the application logo to return. If the ad is missing or there is no callback
Answer:Check the Manifest.xml configuration of the startup activity of the application, and the launchMode needs to be standard. Add the following code to the onCreate () method that starts the activity:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
......
if ((getIntent().getFlags() & Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT) != 0) {
finish();
return;
}
......
}
Attention: Android project needs to be exported for processing