#Build Settings:
- ENABLE_BITCODE : NO
- CLANG_ENABLE_MODULES: YES
- OTHER_LDFLAGS: -ObjC $(inherited)
- IPHONEOS_DEPLOYMENT_TARGET: 7.0
#Admob Mediation iOS: Download https://firebase.google.com/docs/admob/ios/download and copy Mediation Adapter to Plugins
#Build Phased (Applovin): Add this flag for any file that not allow retain
-fno-objc-arc
#Admob Invalid PBX project Set PostBuildProcess to 1000. Then swap 2 section PodUpdate and pbx modify order
#Google Play Game
- Environment
Tested project with multiplayer realtime connection between android and ios.
xcode 8
unity 5.4.1f1
- Complete remove cocoapods from system
gem list --local | grep cocoapods
and so
gem uninstall cocoapods ... one by one of listed
- Install cocoapods again
sudo gem install cocoapods
- Remove all pods from project, folder and Podfile.lock
- Use this Podfile
platform :ios, '8.0'
target 'Unity-iPhone' do
pod 'GooglePlayGames', '5.1'
end
- Run Pod Install
pod install
- Remove google sigin from build phases library ( either this framework is not present in pods anymore, but it it still logging and working ) & project tree
- In Capabiliites from project in xcode enable Associated Domains and Game Center
- Upload IPA Fails What I had to do was to go to the xcode project folder, via Finder search GoogleSignIn.bundle and delete the file through Finder. Then I cleaned the project, compiled and everything worked + I was able to submit IPA to the app store.