GithubHelp home page GithubHelp logo

unity-discussions's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

unity-discussions's Issues

https://yenmoc.github.io

{
    "title": "",
    "screenshot": "",
    "url": "",
    "avatar": "",
    "description": "",
    "keywords": ""
}

[iOS][Xcode][Unity 2019.4.21f1] GoogleService-Info.plist not include in your build

Screen Shot 2021-05-14 at 14 21 03

Screen Shot 2021-05-14 at 14 24 58


How to solve the problem

  • Directly copy the file GoogleService-Info.plist during xcode build through PostProcessBuild
  • Place BuildPostProcessorInfo.cs anywhere in your Unity project
#if UNITY_EDITOR && UNITY_IOS
using System.IO;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;

public class BuildPostProcessorInfo
{
        [PostProcessBuild]
	public static void OnPostProcessBuildAddFirebaseFile(BuildTarget buildTarget, string pathToBuiltProject)
	{
		if (buildTarget == BuildTarget.iOS)
		{
			// Go get pbxproj file
			string projPath = pathToBuiltProject + "/Unity-iPhone.xcodeproj/project.pbxproj";
			// PBXProject class represents a project build settings file,
			// here is how to read that in.
			PBXProject proj = new PBXProject();
			proj.ReadFromFile(projPath);
			// Copy plist from the project folder to the build folder
			proj.AddFileToBuild(proj.GetUnityMainTargetGuid(), proj.AddFile("GoogleService-Info.plist", "GoogleService-Info.plist"));
			// Write PBXProject object back to the file
			proj.WriteToFile(projPath);
		}
	}
}
#endif

[iOS][Xcode 12.5.2][Unity 2020.3.8f1] EXC_CRASH (SIGKILL) Reason SPRINGBOARD, Code 0x8badf00d

Screen Shot 2021-08-30 at 3 03 29 PM

Plugin Include when error

  • Firebase 7.0.1 (tried 7.0.2)
  • Facebook 9.2.0
  • Admob 6.0.1 (mediation included)
  • Ironsource 7.1.7 (mediation included)
  • Adjust

How to solve the problem

Upgrade firebase from 7.0.2 to 8.1.0 is sloved problem

here is pod file

source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/CocoaPods/Specs'
platform :ios, '11.0'

target 'UnityFramework' do
  pod 'FBSDKCoreKit', '~> 9.3'
  pod 'FBSDKGamingServicesKit', '~> 9.3'
  pod 'FBSDKLoginKit', '~> 9.3'
  pod 'FBSDKShareKit', '~> 9.3'
  pod 'Firebase/Analytics', '8.3.0'
  pod 'Firebase/Core', '8.3.0'
  pod 'Firebase/RemoteConfig', '8.3.0'
  pod 'GoogleMobileAdsMediationAdColony', '4.6.1.0'
  pod 'GoogleMobileAdsMediationAppLovin', '10.3.2.0'
  pod 'GoogleMobileAdsMediationChartboost', '8.4.1.1'
  pod 'GoogleMobileAdsMediationFacebook', '6.5.0.0'
  pod 'GoogleMobileAdsMediationInMobi', '9.1.7.0'
  pod 'GoogleMobileAdsMediationIronSource', '7.1.7.0'
  pod 'GoogleMobileAdsMediationMoPub', '5.15.0.0'
  pod 'GoogleMobileAdsMediationUnity', '3.7.2.0'
  pod 'GoogleMobileAdsMediationVungle', '6.9.2.0'
  pod 'Google-Mobile-Ads-SDK', '~> 8.2'
  pod 'IronSourceAdColonyAdapter', '4.3.10.4'
  pod 'IronSourceAdMobAdapter', '4.3.24.0'
  pod 'IronSourceAppLovinAdapter', '4.3.26.1'
  pod 'IronSourceFacebookAdapter', '4.3.26.3'
  pod 'IronSourceInMobiAdapter', '4.3.10.1'
  pod 'IronSourcePangleAdapter', '4.3.5.1'
  pod 'IronSourceSDK', '7.1.7.0'
  pod 'IronSourceUnityAdsAdapter', '4.3.10.2'
  pod 'IronSourceVungleAdapter', '4.3.11.3'
end
target 'Unity-iPhone' do
end
use_frameworks!
use_frameworks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.