Hey!
I'm building my first game for iOS using Unity. I've made and published a few games on Android. iOS is a little trickier, it seems. I generated the xCode project, build it, and it builds fine and then immediately crashes on the simulator.
I have both `GoogleMobileAds` and `GooglePlayGames` in the project. The logs read this message:
dyld: Symbol not found: _OBJC_CLASS_$_GSDK_GTMSessionFetcher
Referenced from: /Users/slashg0/Library/Developer/CoreSimulator/Devices/FC590B60-F039-47F4-B81E-EF4A99D619D7/data/Containers/Bundle/Application/45238C77-AE2D-4BB5-A98D-F5AE734201E9/auradefence.app/auradefence
Expected in: flat namespace
in /Users/slashg0/Library/Developer/CoreSimulator/Devices/FC590B60-F039-47F4-B81E-EF4A99D619D7/data/Containers/Bundle/Application/45238C77-AE2D-4BB5-A98D-F5AE734201E9/auradefence.app/auradefence
(lldb)
I have followed a lot of threads with similar issues
- I've tried `pod install` manually, building from the `.xcworkspace` file (which isn't generated by default)
- I've deleted pods, then installed them manually
- I've tried copying `GoogleOpenSource` and a few other libraries, they cause build errors.
I may be overdoing the wrong things here. Can anyone point out what I need to do?
*[EDIT 1] Adding the Unity generated Podfile: *
source 'https://github.com/CocoaPods/Specs.git'
install! 'cocoapods', :integrate_targets => false
platform :ios, '82'
target 'Unity-iPhone' do
pod 'Google-Mobile-Ads-SDK', '~> 7.13'
pod 'GooglePlayGames', '~> 5.0'
end
↧