Giter Site home page Giter Site logo

Comments (11)

zhutc avatar zhutc commented on June 25, 2024 1

你可以把mango抽成一个独立的子工程,设置该子工程的Compile Sources As 为 objective-C。将该子工程或者将其打包成静态库引入你的项目中。或者使用作者生成好的lex&&yacc等文件。

from mango.

Sunny-guangge avatar Sunny-guangge commented on June 25, 2024

好的 我试一下 你也在项目中用这个库了吗 用着怎么样 可以加个微信 聊一下吗

from mango.

zhutc avatar zhutc commented on June 25, 2024

目前的版本功能有点小问题,简单修复下就能用。修复不是很长的方法,还是挺实用的

from mango.

Sunny-guangge avatar Sunny-guangge commented on June 25, 2024

有什么小问题

from mango.

zhutc avatar zhutc commented on June 25, 2024

@Sunny-guangge #6

from mango.

YPLiang19 avatar YPLiang19 commented on June 25, 2024

@Sunny-guangge @zhutc 近来太忙没怎么维护,现在已经支持pod接入方式,可以直接使用不需要额外配置,应该不会报错。 本来想在podspec文件中配置pod_target_xcconfig解决这个问题,将这个Target的Compile Sources As设置为objective-C,但是找了半天没找到Compile Sources As对应的内部Key,所以就直接手动将lex和yacc文件生成的c文件,再改为m文件用,如果你们知道Compile Sources As对应的内部Key还希望告知下~~

from mango.

zhutc avatar zhutc commented on June 25, 2024

@YPLiang19
GCC_INPUT_FILETYPE = sourcecode.c.objc

可以通过打开xxxx.xcodeproj/project.pbxproj文件,然后在xcodeUI界面中手动修改这个配置项,然后观察project.pbxproj文件的变动来找到对应的key

oc

from mango.

YPLiang19 avatar YPLiang19 commented on June 25, 2024

@zhutc 谢谢!

from mango.

YPLiang19 avatar YPLiang19 commented on June 25, 2024

@Sunny-guangge MangoFix这个target选用Objective-C
image

from mango.

Sunny-guangge avatar Sunny-guangge commented on June 25, 2024

@YPLiang19 这个选的就是Objective-C

from mango.

YPLiang19 avatar YPLiang19 commented on June 25, 2024

@Sunny-guangge 试试1.0.2,我这边项目也有c++,但是使用没问题。

from mango.

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.