Coder Social home page Coder Social logo

Comments (5)

GNiewoehner avatar GNiewoehner commented on June 11, 2024

Some additional findings:

I went back up to version 3.2.0 (testing each version between 3.4.2 and 3.2.0) still getting the same crash no matter which sdk version is used. Looking at the network tab shows that no request is send prior the crash. Maybe a problem with the Swift version?

from aws-mobile-appsync-sdk-ios.

GNiewoehner avatar GNiewoehner commented on June 11, 2024

To reproduce the crash download the example app:

Appsync-Carthage-Subscriber-Test-App.zip

  1. Run carthage update --use-xcframeworks and add the frameworks to the target EventsApp in the general tab.
  2. Go to http://console.aws.amazon.com/appsync/home and create a new api "Start from a sample project" -> "Event App" -> Start. When created download the "awsconfiguration.json" for iOS and replace the file in the example app
  3. Build and run the app
  4. Press the add button

Bildschirmfoto 2022-01-25 um 14 38 33

  1. Fill out the text fields and press "Add Event"

Bildschirmfoto 2022-01-25 um 14 43 19

  1. Click on the event in the table view -> the app crashes when creating a subscription

If we remove the frameworks and add the AppSync SDK using Swift Package Manager the app no longer crashes when redoing the same steps.

from aws-mobile-appsync-sdk-ios.

royjit avatar royjit commented on June 11, 2024

Can you see if the crash occurs if you add AppSyncRealTimeClient framework as a dependency ?

from aws-mobile-appsync-sdk-ios.

GNiewoehner avatar GNiewoehner commented on June 11, 2024

Bildschirmfoto 2022-01-25 um 21 31 23

Those are the frameworks that i tested with as we use them in our main app. They were all created using Carthage and are added as dependencies to the app => Crash occurs

from aws-mobile-appsync-sdk-ios.

GNiewoehner avatar GNiewoehner commented on June 11, 2024

Version 3.4.3 fixed the problem.

from aws-mobile-appsync-sdk-ios.

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.