Error occurring when sharesdk.framework is added in project - iphone

I am a new cocos2d-x gaming developer for the iPhone. I want to share a screenshot of my game on Facebook and Gmail. I am using the Sharesdk.framework but when I drag and drop the Sharedsk folder and framework in my project, multiple erros generate in the project so I'm unable to use it. Is there any solution for resolving these errors? (I'm getting errors such as "jni.h file not found" and "sharesdkcoreservice.h" not found.)

Related

Why do I get WebGL Runtime error: "RuntimeError: indirect call to null" on Gamejolt, after I publish on it?

I'm trying to publish a game on Gamejolt, but I get the runtime error mentioned in the title.
Here are the screenshots of the full error message, and my Settings for Unity Build and Player:
There are no runtime errors in my game, so it's something with the WebGL configuration I guess, but I can't figure it out. I searched the web for this particular error, but couldn't find a solution. Unity 2019 haven't had these kinda troubles with WebGL, and I have published games with it. It's only after the upgrade to 2021 that I'm having issues with WebGL, and PC builds have no issues whatsoever. Any suggestions on how to fix the error please?
(Link to the game page, which contains the downloadable for Windows: https://gamejolt.net/?token=JBHvViUyXHk8yCaRtQvQ9afAWep2Sn)

flutter new project directory error message

The message "Cannot create a project with in the Flutter SDK" came out and it was resolved when I created a new project in a directory outside the flutter. What is the reason for this kind of problem?
The error message is given out when you try to create a flutter project inside the flutter SDK. Creating a project inside the SDK is not supported.
Error message is there so that people would not be able to create a project inside the SDK.
This would be the basic idea, I am not able to give any other reasons without more information.

How to solve Admob importing in Unity problem

I just started a new 2D Mobile project and tried to import admob
This is the full text that it writes
Assembly
'Assets/ExternalDependencyManager/Editor/1.2.175/Google.IOSResolver.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'.
Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
(I use unity on windows)
switch the project to IOS or Android and see if it goes away

Could not load file or assembly 'Facebook.Unity.Canvas'

I'm using facebook sdk 7.18.0 with Unity.
When I Build And Run, it opens in a browser window and this error is shown.
FileNotFoundExceptin: Could not load file or assembly 'Facebook.Unity.Canvas' or one of its dependencies
But when I run the unity project by clicking the Play button, it works fine.
Is this because, Facebook sdk for unity doesn't support running in the browser?
Appreciate any help to resolve this issue.

Integrating GPGS and AdMob or Vungle

Using Unity 5.2.3.
Using Android SDK Rev. 23.1.1
Using Google Play Game Services Package 0.9.31a (Services Version 8.4.0) for unity.
Using AdMob 3.0.1
Using Vungle (can't link, stackoverflow not allowing more than 2 links)
Note: I am using AdMob and Vungle separately with Play game services.
I have integrated Play game services with my app and that's work fine but whenever I try to include any other packages like AdMob or Vungle following happens.
AdMob: I have included the package, whenever Compile or Reopen the project play-services-basement-8.4.0 get deleted, Play Games Package has Resolve Client Jars and I am 100% sure that to blame.
Vungle: I configured Vungle Package as described in their documentation but again whenever I compile or reopen the Project several of Vungle files along with Vungle's main file Assets/Plugins/Android/libs/"android-support-v4.jar" get deleted. Again maybe Resolve Client Jars to blame.
In both cases above, I have manually copied the missing files and include them while Unity was closed but those were gone as soon as project opens.
I have issued a bug report with Unity but they said they can't help with 3rd party and they don't have issue on Unity's end.
Please Help and let me know any additional information, ill be happy to assist you.
Regards,
Since PlayServicesResolver just find dependency by rules and copy "NEWEST" to project folder and Google Play Games already have dependency on support-library-v4 23.1.+. , we can not resolve this within Unity Plugin.
I would recommend:
As work around, you can navigate to Assets>Google Play Services>Settings>uncheck-"enable background resolution"
and manually copy support library from
$sdk/extras/android/m2repository/com/android/support/support-v4/21.0.3/support-v4-21.0.3.aar
to
Assets/Plugins/Android, and run Assets>Google Play Services>Resolve Client Jars and keep 21.0.3"
This will leave "older version" of "android-support-v4.jar", but Google Play Games might not work with this version of "android-support-v4.jar".
Can you please try this?
Thanks!