Giter VIP home page Giter VIP logo

cordova-plugin-jcore's People

Contributors

huangminlinux avatar huangshuni avatar joshlipan avatar lcterry avatar lhw5123 avatar pikacode avatar weiruiyang avatar zikko2017 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-jcore's Issues

格式化字符串漏洞、日志数据泄露风险

iOS APP下用到的 jcore-ios-3.2.5.a 链接库被第三方安全公司扫描以下安全漏洞(链接库我又无法自行修改):

  • 代码中使用到了sscanf,被提示存在 格式化字符串漏洞
    cordova-plugin-jcore/jcore-ios-3.2.5.a JCommonOperationRequest.o sscanf

  • release环境下使用了NSLog打印日志,被提示存在 日志数据泄露风险。是否可以宏定义一下NSLog函数?在release环境就不打印任何运行日志数据了。
    cordova-plugin-jcore/jcore-ios-3.2.5.a JCommonOperationRequest.o NSLog

m1芯片,报错for architecture arm64

你的运行环境

  • 插件版本:
    *平台 IOS:
  • Cordova version (10.0.0):
  • Cordova platform version (ios 6.0.0):

电脑:macbook pro (M1芯片)

复现

在M1芯片的电脑上运行xcode,在xcode中使用ios模拟器运行项目。

期望效果

能正常使用

实际效果

报错

ld: in /Users/xuzhiwen/Documents/project/xxcig/platforms/ios/新兴际华供应链/Plugins/cordova-plugin-jcore/jcore-ios-2.6.2.a(JCommonLocationController.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/xuzhiwen/Documents/project/xxcig/platforms/ios/新兴际华供应链/Plugins/cordova-plugin-jcore/jcore-ios-2.6.2.a' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

Use CocoaPods for the jcore-ios dependency

Since the JCore library is already distributed through CocoaPods, would be good if you could use the CocoaPods dependency instead of the jcore-ios.a file.
You can use the podspec tag in the plugin.xml for that more info

jcore-ios.a prevents Capacitor apps from building, changing to the CocoaPods dependency should fix that.

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.