Giter Site home page Giter Site logo

Comments (6)

knellr avatar knellr commented on July 18, 2024 1

I've had a look at the above approach (creating a local package with a dependency on this one) and it doesn't help, whether creating a statically linked library or a framework.

I tried cloning the repository and updating the Package.swift from this repository to remove the "type: .static" definition (as below) and the issue with previews is resolved.

  products: [
    .library(name: "AppboyKit", targets: ["AppboyKit"]),
    .library(name: "AppboyUI", targets: ["AppboyUI"]),
    .library(name: "AppboyPushStory", targets: ["AppboyPushStory"])
  ],

from appboy-ios-sdk.

giljobs avatar giljobs commented on July 18, 2024

me too 😭 , with same error.

from appboy-ios-sdk.

hokstuff avatar hokstuff commented on July 18, 2024

Hi @knellr,

Looking through the attached thread, it sounds like the issues here are related to how the Previews in Xcode 14 interface with some (static) libraries. Do any of the workarounds in the recent responses of that thread (e.g. Page 5) fix the issue for you? There are also occasional responses saying that Xcode 14.1 addressed the issue for them.

from appboy-ios-sdk.

knellr avatar knellr commented on July 18, 2024

The issues are still there on Xcode 14.1. I'm not sure what solution you're referring to but I can't see anything from the thread that's relevant to our setup (beyond the suggestions that require updating the SDK's Package.swift) - while we have a variety of packages, including some local, we don't have the structure described in a couple of them - we're importing the SDK straight from our main app project.

from appboy-ios-sdk.

knellr avatar knellr commented on July 18, 2024

Ah page 2 wasn't loading properly so I didn't see this one, which looks plausible as it would wrap the static library in a shared library, I'll report back

  • Create a local package and add the the intercom dependency to that package
  • Remove (SDK) from the main project
  • Add the local package as a dependency to the main project

from appboy-ios-sdk.

knellr avatar knellr commented on July 18, 2024

This is fixed in 14.2 RC, as we were probably all hoping :)

from appboy-ios-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.