GithubHelp home page GithubHelp logo

Comments (4)

paugit avatar paugit commented on June 12, 2024

Hello. iOS build should exactly contain Everyplay.bundle and Everyplay.framework. There should never be EveryplayCore.framework in iOS build and that file is not even included in Everyplay Unity package. How do create your xcode project (through the build menu, commandline)? Do you have other post processor scripts in your project? If yes, does some of those give any errors? It sounds that the post processor thinks for some reason that you are doing a Mac build even you are doing an iOS build.

from everyplay-unity-sdk.

smaritem avatar smaritem commented on June 12, 2024

Hello, thanks for the reply.
I found these code lines

#if UNITY_IPHONE || UNITY_IOS
        platformDependencyList.Add("Everyplay.framework");
        platformDependencyList.Add("Everyplay.bundle");
#else
        platformDependencyList.Add("EveryplayCore.framework");
#endif

in the EveryplayPostprocessor.cs file under
C:\Users\Public\Documents\Unity Projects\MyGame\Assets\Editor\Everyplay\Scripts

And also under
C:\Users\Public\Documents\Unity Projects\MyGame\iOSGame\Everyplay
in the "EveryplayUnity.h", you have these lines

#import <Foundation/Foundation.h>
#if __has_include(<Everyplay/Everyplay.h>)
#import <Everyplay/Everyplay.h>
#elif __has_include(<EveryplayCore/EveryplayCore.h>)
#define EVERYPLAY_COMPAT_WRAPPER 1
#import <EveryplayCore/EveryplayCore.h>
#endif

from everyplay-unity-sdk.

paugit avatar paugit commented on June 12, 2024

Hello. So are you using the build menu or building from command line? I noticed that Unity sometimes does not define UNITY_IOS correctly when building the project for the first time (when the Library folder does not yet exist). This issue might happen with automated builds that download the project and then immediately build the project. You can probably workaround this issue by putting UNITY_IOS to the scripting define symbols in player settings or building the project twice.

from everyplay-unity-sdk.

smaritem avatar smaritem commented on June 12, 2024

HEllo,
I have it now. I m building from command line. The error come from a pre-parsing utility, which doesn't support conditional includes.
Now the error doesnt show anymore!
Thanks

from everyplay-unity-sdk.

Related Issues (20)

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.