Menu

FAQ and error codes

For TopOn SDK error codes and FAQ guidelines, please refer to:

System platformDescription
TopOn Android SDKView
TopOn iOS SDKView


Question: When pod install relies on third-party libraries, an error as shown in the picture appears. How to solve it?

Article picture

Answer: You can learn this error from the blue underlined part It is caused by an exception in linking the static library. Add s.static_framework = true to the resource file anythink_sdk.podspec  we downloaded, as shown in the figure

Q: How to use the emulator to run loading ads?

Answer: Under normal circumstances, we do not recommend using the simulator to load ads, because the fill rate of ads becomes low. If you really need to use it, we recommend using CocoaPods to access it. Then add code configuration in the Podfile in the Xcode project:

installer.pods_project.build_configurations.each do |config|
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end

Article picture

Use pod install to re-update the dependent libraries, and then configure arm64 in TARGET - Build Settings - Excluded Architectures

Article picture

After completing the above steps, you can try to run it using the emulator. If you have any other questions, please contact us.

Previous
Callback information
Next
Download Flutter files
Last modified: 2025-05-30Powered by