Git Product home page Git Product logo

Comments (3)

heroims avatar heroims commented on August 23, 2024

@available 这个关键字我这没出现问题,但很早之前在一些复杂项目里嵌套多个pod时出现过,解决方案是所有嵌套根据依赖关系统一配置,-split_num出问题跟代码复杂度有关,要指定-O1或-O0之类的不忽略某些优化才行,另外我看你这更像是基于修改的llvm版本和你xcode不对应,你跑xcode基于llvm修改用的是不是 https://github.com/apple/llvm-project 上的?xcode11以后不用官方对应版本编译经常出奇怪的问题,建议看看是不是用的对应的 https://en.wikipedia.org/wiki/Xcode ,现在llvm苹果 安卓都针对自己平台做了大量修改,不用他们官方的经常出问题,并且最好能用官方给定的方式编译才能保证问题少

from obfuscator.

yangyan88 avatar yangyan88 commented on August 23, 2024

@available报错+1。使用的阁下llvm13.0.1版本。cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_CREATE_XCODE_TOOLCHAIN=ON -DLLVM_ENABLE_NEW_PASS_MANAGER=OFF

image

image

macos:12.5 xcode:13.4.1

from obfuscator.

yangyan88 avatar yangyan88 commented on August 23, 2024

@available 的声明在compiler-rt里面,LLVM编译的project增加compiler-rt
-DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;****;compiler-rt" 或许还需要 -Wno-dev。
版本:LLVM13.0.1

from obfuscator.

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.