GithubHelp home page GithubHelp logo

pod is throwing the error: The SWIFT_VERSION is missing for "AWSMobileClient" & "CBORSWift". about amazon-freertos-ble-ios-sdk HOT 5 CLOSED

Ajaykumar02 avatar Ajaykumar02 commented on August 15, 2024
pod is throwing the error: The SWIFT_VERSION is missing for "AWSMobileClient" & "CBORSWift".

from amazon-freertos-ble-ios-sdk.

Comments (5)

Ajaykumar02 avatar Ajaykumar02 commented on August 15, 2024

We can fix the issue by downgrading the cocoapod version to (1.5.3).

from amazon-freertos-ble-ios-sdk.

lt72 avatar lt72 commented on August 15, 2024

@xuaninbox @Ajaykumar02 : it seems there still one remaining issue of using React with the native SDK. Please explain what the next steps are in this issue, so we keep all knowledge in one place.

from amazon-freertos-ble-ios-sdk.

xuaninbox avatar xuaninbox commented on August 15, 2024

Hey, the root cause if this issue is the the SWIFT_VERSION is missing in the target build settings, after manually adding it and set it as 4.2, we are able to resolve this issue.

from amazon-freertos-ble-ios-sdk.

Ajaykumar02 avatar Ajaykumar02 commented on August 15, 2024

@xuaninbox Even though we add swift version inside podspec using post_install script as shown below,
post_install do |installer|
...
config.build_settings['SWIFT_VERSION'] = '3.2'

Here we get linker error, and framework not found React. Adding post_install is causing linker error and we cannot add the SWIFT_VERSION, please can you check on this.

from amazon-freertos-ble-ios-sdk.

xuaninbox avatar xuaninbox commented on August 15, 2024

After debugging with the user offline, the linker error is caused by a different issue when using with react.

from amazon-freertos-ble-ios-sdk.

Related Issues (19)

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.