I’m having issues building for IOS. While it does build, right when starting to run and before the splash screen I get the following error:
2021-11-12 19:18:19.152366+0100 BadSanFermin[19384:692221] Error loading /var/containers/Bundle/Application/5DA2CF45-DF36-4C73-9C0E-A6C5F8D0AFEB/BadSanFermin.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/5DA2CF45-DF36-4C73-9C0E-A6C5F8D0AFEB/BadSanFermin.app/Frameworks/UnityFramework.framework/UnityFramework, 265): Symbol not found: ___NSDictionary0__struct
Referenced from: /var/containers/Bundle/Application/5DA2CF45-DF36-4C73-9C0E-A6C5F8D0AFEB/BadSanFermin.app/Frameworks/UnityFramework.framework/UnityFramework
Expected in: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /var/containers/Bundle/Application/5DA2CF45-DF36-4C73-9C0E-A6C5F8D0AFEB/BadSanFermin.app/Frameworks/UnityFramework.framework/UnityFramework
I’m running Unity 2020.3.21f1, although this happened with 2019.4.23f1 too.
Here’s my Podfile:
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/CocoaPods/Specs'
platform :ios, '12.0'
target 'UnityFramework' do
pod 'Firebase/Analytics', '8.8.0'
pod 'Firebase/Core', '8.8.0'
pod 'Firebase/Crashlytics', '8.8.0'
pod 'Google-Mobile-Ads-SDK', '~> 8.8'
end
target 'Unity-iPhone' do
end
use_frameworks!
I’ve tried different Podfile changes, but it renders no difference.
This happened also with older versions on Firebase and Google Ads.
IOS devices with IOS >= 14 and seem to work normally.
Updating Firebase to 8.9.1 and Google Mobile Ads to 8.8 was all I did.
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/CocoaPods/Specs'
platform :ios, '11.0'
target 'UnityFramework' do
pod 'Firebase/Analytics', '8.9.1'
pod 'Firebase/Core', '8.9.1'
pod 'Firebase/Crashlytics', '8.9.1'
pod 'Google-Mobile-Ads-SDK', '~> 8.8'
end
I was having the same issue, game was working fine on most iOS devices but was crashing shortly after splash screen on an older iPhone 5s we had on OS 12.5.5. We had Firebase Plugin v8.5.0 which was linking against the 8.8.0 libraries. After updating Firebase plugin to latest v8.6.2 which links against 8.9.1 the game is loading correctly on all iPhones now.