Coder Social home page Coder Social logo

Can't build for iOS about unity-sdk HOT 21 CLOSED

qonversion avatar qonversion commented on June 5, 2024
Can't build for iOS

from unity-sdk.

Comments (21)

suriksarkisyan avatar suriksarkisyan commented on June 5, 2024 2

Hi @Nordup
Give me a little bit of time, please. I'll come back with a solution today 🙏

from unity-sdk.

Nordup avatar Nordup commented on June 5, 2024 1

Hi! I think issue resolved. We've upgraded to 3.4.1 and everything seems good. Sorry for the late replay

from unity-sdk.

suriksarkisyan avatar suriksarkisyan commented on June 5, 2024

Hi, @aratn0n
I'll suppose the Qonversion iOS SDK can not be found.
Could you please check does the Qonversion iOS SDK is installed?

from unity-sdk.

aratn0n avatar aratn0n commented on June 5, 2024

Hi @suriksarkisyan ,

I manged to fix it. I had to add #import "Qonversion/Qonversion.h" to UtilityBridge.m and change #import "Qonversion.h" to #import "Qonversion/Qonversion.h" in QonversionBridge.m

Is it a bug?

from unity-sdk.

suriksarkisyan avatar suriksarkisyan commented on June 5, 2024

@aratn0n I've just tested the SDK installed via Github and it works fine. Could you please provide some details about your installation process? How did you install our SDK, resolve the native dependency, etc?

from unity-sdk.

aratn0n avatar aratn0n commented on June 5, 2024

I installed it by adding the SDK repository to the Packages/manifest.json. I'm using Unity 2019.4.31f1.
Do I have to resolve the dependency on iOS? Does cocopods do all the work when building the project on Xcode?

from unity-sdk.

suriksarkisyan avatar suriksarkisyan commented on June 5, 2024

@aratn0n I mean usually for Unity projects you need to use some dependency resolver like this one. It will resolve dependencies for iOS and Android. Do you use something like that?
I've just tested for an empty project and it works fine.

from unity-sdk.

Nordup avatar Nordup commented on June 5, 2024

Hi :) I have the same issue in Unity Cloud Build with Xcode 13.0 It builds on my Mac Pro M1 with Xcode 13.2 How can I solve this?

Logs:
<Project_Folder>/Libraries/com.qonversion.unity/Runtime/iOS/Plugins/Common/UtilityBridge.m:71:31: definition of 'QNPermission' must be imported from module 'Qonversion.QNPermission' before it is required
<Project_Folder>/Libraries/com.qonversion.unity/Runtime/iOS/Plugins/Common/UtilityBridge.m:92:43: definition of 'QNProduct' must be imported from module 'Qonversion.QNProduct' before it is required

from unity-sdk.

suriksarkisyan avatar suriksarkisyan commented on June 5, 2024

Hi, @Nordup. I didn't forget about this problem 🙂
I'm working on this issue right now and will come back ASAP. As I said before, this problem is not available when using native dependencies resolver as JAR, for example. And I'm still looking for a solution for projects where are no native dependencies resolvers.

from unity-sdk.

Nordup avatar Nordup commented on June 5, 2024

@suriksarkisyan Thank you very much! I really appreciate your help

from unity-sdk.

suriksarkisyan avatar suriksarkisyan commented on June 5, 2024

Hi guys ✌️
Sorry for the late reply! 😔
We just updated the install documentation.
Could you please install our Unity SDK and native dependencies step by step as described in the documentation and let me know if the problem is still occurring 😊

from unity-sdk.

pixelfoxxx avatar pixelfoxxx commented on June 5, 2024

Hi @aratn0n and @Nordup. Did you manage to deal with the issue? If yes, great! Just let us know, and we’ll close out this conversation.

from unity-sdk.

Nordup avatar Nordup commented on June 5, 2024

Hi! I couldn't manage to build with Unity SDK 3.2.1 to iOS. The same issue occurs. I'll try to build again later

from unity-sdk.

OliverRiisager avatar OliverRiisager commented on June 5, 2024

I am also having this issue on Unity Cloud build. I have followed your installation guide, both as a scoped registry and as a git url.

from unity-sdk.

OliverRiisager avatar OliverRiisager commented on June 5, 2024

@Nordup did you fix this? If so, how did you do it?

from unity-sdk.

pixelfoxxx avatar pixelfoxxx commented on June 5, 2024

Hello, @OliverRiisager. We are already dealing with your problem. As for the problem above, it has been resolved.

from unity-sdk.

OliverRiisager avatar OliverRiisager commented on June 5, 2024

from unity-sdk.

OliverRiisager avatar OliverRiisager commented on June 5, 2024

@pixelfoxxx is that fix in 3.2.1 or do i need to update to 3.4.1? Or is there some setting i need to look at?

from unity-sdk.

OliverRiisager avatar OliverRiisager commented on June 5, 2024

I fixed this issue by upgrading plugin version to 3.4.1. But got another issue instead - i opened an issue on this as well here : #77

from unity-sdk.

OliverRiisager avatar OliverRiisager commented on June 5, 2024

from unity-sdk.

pixelfoxxx avatar pixelfoxxx commented on June 5, 2024

Hello! We're glad that this issue has been resolved.

Feel free to contact us if you have any further questions or if the issue persists. We’ll be glad to assist!

from unity-sdk.

Related Issues (5)

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.