Closed o2bomb closed 2 weeks ago
Hey, thanks for using this plugin
Do you use the latest version of the plugin?
If not, update the plugin version in pubspec.yaml
to the actual unity_ads_plugin: ^0.2.4
and run:
flutter clean
flutter pub get
If it doesn't help try this
open file Podfile
in ios
folder, find at the end of the file such code:
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
change to this code:
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
and run pod install
in the ios
folder
I have tried doing what you suggested, however it still fails to build. The plugin version I have installed is indeed 0.2.4.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Hey there, thanks for your hard work on this library.
This library works completely fine when testing on Android devices, but I am encountering the following error when building for iOS. I am using a 2020 Mac Mini (M1 processor) to build the app:
Any ideas on how to fix this?
Here are the full logs for the failed build:
``` Running pod install... 3.2s Running Xcode build... └─Compiling, linking and signing... 1,193ms Xcode build done. 7.9s Failed to build iOS app Error output from Xcode build: ↳ objc[34745]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1f06327a0) and ?? (0x113d4c2b8). One of the two will be used. Which one is undefined. objc[34745]: Class AMSupportURLSession is implemented in both ?? (0x1f06327f0) and ?? (0x113d4c308). One of the two will be used. Which one is undefined. ** BUILD FAILED ** Xcode's output: ↳ ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics' ld: warning: Could not find or use auto-linked library 'swiftUIKit' ld: warning: Could not find or use auto-linked library 'swiftDarwin' ld: warning: Could not find or use auto-linked library 'swiftFoundation' ld: warning: Could not find or use auto-linked library 'swiftCompatibility51' ld: warning: Could not find or use auto-linked library 'swiftObjectiveC' ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation' ld: warning: Could not find or use auto-linked library 'swiftCompatibility50' ld: warning: Could not find or use auto-linked library 'swiftMetal' ld: warning: Could not find or use auto-linked library 'swiftCoreImage' ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements' ld: warning: Could not find or use auto-linked library 'swiftDispatch' ld: warning: Could not find or use auto-linked library 'swiftCoreMedia' ld: warning: Could not find or use auto-linked library 'swiftQuartzCore' ld: warning: Could not find or use auto-linked library 'swiftCore' ld: warning: Could not find or use auto-linked library 'swiftCoreAudio' Undefined symbols for architecture arm64: "Swift._HashTable.previousHole(before: Swift._HashTable.Bucket) -> Swift._HashTable.Bucket", referenced from: generic specialization