playMaker

Author Topic: IOS build Problem  (Read 1317 times)

mooblegum

  • Playmaker Newbie
  • *
  • Posts: 18
IOS build Problem
« on: August 19, 2020, 11:25:46 AM »
Hi there,
I am not sure if the problem come from playmaker or not, but I case someone did face it already I prefer to ask here .

I made a IOS build, on a project I am working on with playmaker, and tryed to submit it to the apple store.
I got an automatic message from the app store connect to reject my app saying

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
and
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.

I am only using playmaker, and easy mobile pro (with in app purchase activated, and rating utility only) on unity 2019.2.9f1

I don't know how to code, and the worst is there is no explanation where the issue is and which file, asset is causing it. So I am really stuck and don't know where I should look for.

Any help or tip would be very appreciated!
Thank you.

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
Re: IOS build Problem
« Reply #1 on: August 19, 2020, 12:23:46 PM »
I faced same issue. I removed old facebook SDk and installed v7.19 . It ifxed and passed the review.

Do you use Unity ads or Facebook SDK ?

It is not issue from Playmaker

mooblegum

  • Playmaker Newbie
  • *
  • Posts: 18
Re: IOS build Problem
« Reply #2 on: August 19, 2020, 03:42:26 PM »
Hey Heavygunner, thanks for the repply :)
I dont use neither facebook nor unity add, that I know...
It is a simple kid app, so I try to avoid that.
But I will check if they are present in my project.
As I dont know about programming, I wonder if there is a way to search the whole project to see what is calling those API...(I am completly lost with visual studio  :-[)
Maybe I use an old version of Unity 2019.2.9f1 and should upgrade?
Will investigate further  8)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: IOS build Problem
« Reply #3 on: August 20, 2020, 01:05:29 PM »
Hi.
I believe easy mobile pro has stuff for FB and unity ads in it, so i think you might need to look into that direction.

mooblegum

  • Playmaker Newbie
  • *
  • Posts: 18
Re: IOS build Problem
« Reply #4 on: August 22, 2020, 05:55:12 AM »
Thank you for your input,
I did look for facebook and unity ads but both are turn of. The customer support from Easy mobile pro tell me that the problem doesn't come from their plugin.

So I had to hire a programmer, but actually this created more problems.
He ask me to upgrade to Unity LTS version. After that I build the game to test.
The build is successful. But When I am exporting the Xcode Project I got 2 errors related to playmaker:

Classes/Native/PlayMaker2.cpp(31106,14): error: no matching function for call to 'Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C'
                bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Classes/Native/PlayMaker2.cpp(13548,41): note: candidate function not viable: no known conversion from 'GUITexture_t1679093D89FD7E758DB296145046F8BB10DB7E51 *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
                                        ^
Classes/Native/PlayMaker2.cpp(31135,14): error: no matching function for call to 'Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C'
                bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Classes/Native/PlayMaker2.cpp(13548,41): note: candidate function not viable: no known conversion from 'GUIText_t8C9642311EE384C7674771DDF6AB9F222CA1AE1D *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);

So I am completly lost  :'( :'(
Do you guys understand what could be the problem? What is causing the problem? Is it an easy fix or not?

I am loosing all hoppe at the moment...

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: IOS build Problem
« Reply #5 on: August 22, 2020, 09:12:55 AM »
Hi.
Do you use some Get/Set Properties actions in your project?

If so, you need to use Linker Wizards or find/create dedicated actions for them.