Тестирование проводилось в обоих случаях.
Версия Unity: 2021.3.41f
Версия Xcode: 15.4
pod --version: 1.15.2
Используются Firebase/Analytics и 5 других версий, включая 9.6.0.
- Подфайл
Код: Выделить всё
source 'https://cdn.cocoapods.org/'
platform :ios, '13.0'
target 'UnityFramework' do
pod 'FBAudienceNetwork', '~> 6.12.0'
pod 'FBSDKCoreKit', '~> 17.0.1'
pod 'FBSDKCoreKit_Basics', '~> 17.0.1'
pod 'FBSDKGamingServicesKit', '~> 17.0.1'
pod 'FBSDKLoginKit', '~> 17.0.1'
pod 'FBSDKShareKit', '~> 17.0.1'
pod 'Firebase/Analytics', '~> 9.6.0'
pod 'Firebase/Auth', '~> 9.6.0'
pod 'Firebase/Core', '~> 9.6.0'
pod 'Firebase/Crashlytics', '~> 9.6.0'
pod 'Firebase/DynamicLinks', '~> 9.6.0'
pod 'Firebase/Messaging', '~> 9.6.0'
pod 'GoogleSignIn', '~> 5.0.0'
end
target 'Unity-iPhone' do
end
use_frameworks! :linkage => :static
Код: Выделить всё
Undefined symbols for architecture arm64:
"_FIRConsentTypeAdPersonalization", referenced from:
firebase::analytics::SetConsent(std::__1::map const&) in libFirebaseCppAnalytics.a[arm64][3](analytics_ios.mm.o)
"_FIRConsentTypeAdUserData", referenced from:
firebase::analytics::SetConsent(std::__1::map const&) in libFirebaseCppAnalytics.a[arm64][3](analytics_ios.mm.o)
ld: symbol(s) not found for architecture arm64
- Podfile
Код: Выделить всё
source 'https://cdn.cocoapods.org/'
platform :ios, '13.0'
target 'UnityFramework' do
pod 'FBAudienceNetwork', '~> 6.12.0'
pod 'FBSDKCoreKit', '~> 17.0.1'
pod 'FBSDKCoreKit_Basics', '~> 17.0.1'
pod 'FBSDKGamingServicesKit', '~> 17.0.1'
pod 'FBSDKLoginKit', '~> 17.0.1'
pod 'FBSDKShareKit', '~> 17.0.1'
pod 'Firebase/Analytics', '11.2.0'
pod 'Firebase/Auth', '11.2.0'
pod 'Firebase/Core', '11.2.0'
pod 'Firebase/Crashlytics', '11.2.0'
pod 'Firebase/DynamicLinks', '11.2.0'
pod 'Firebase/Messaging', '11.2.0'
pod 'GoogleSignIn', '~> 5.0.0'
end
target 'Unity-iPhone' do
end
use_frameworks! :linkage => :static
Код: Выделить всё
[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
In Podfile:
Firebase/Auth (= 11.2.0) was resolved to 11.2.0, which depends on
FirebaseAuth (~> 11.2.0) was resolved to 11.2.0, which depends on
GTMSessionFetcher/Core (~> 3.4)
GoogleSignIn (~> 5.0.0) was resolved to 5.0.2, which depends on
GTMSessionFetcher/Core (~> 1.1)
Подробнее здесь: https://stackoverflow.com/questions/790 ... uild-error
Мобильная версия