Getting png crush error while creating ipa from unity editor in Xcode 7

前端 未结 2 1036
暗喜
暗喜 2021-01-23 09:28

I am getting png crush error while creating ipa from unity editor. I did a sample game and want to run it on iPhone. So i opened build settings from unity editor and chooses iOS

2条回答
  •  自闭症患者
    2021-01-23 09:54

    If you are using Google Play Services plugin just for Android platform (and not for IOS):

    In the GooglePlayGames subdirectory in your project, just find all the occurrences of

    #if (UNITY_ANDROID || UNITY_IPHONE)
    

    or

    #if UNITY_IPHONE
    

    and remove UNITY_IPHONE (i.e. #if (UNITY_ANDROID || UNITY_IPHONE -> #if UNITY_ANDROID).

    It will prevent Unity Post Processor to include Android Plugins in IOS build.

提交回复
热议问题