Git Product home page Git Product logo

Comments (8)

Zuikyo avatar Zuikyo commented on May 30, 2024

1.1.0 的 ServiceRouter 用到了 ViewRouter 里的函数,忘了加上编译宏了。
可以先使用 pod 'ZRouter', '>= 1.1.0',或者 pod 'ZRouter/ServiceRouter', '1.0.9'
我之后修复一下这个问题。

from zikrouter.

dengchaojie avatar dengchaojie commented on May 30, 2024

都试过了,不行的,还是同样的错误。

from zikrouter.

Zuikyo avatar Zuikyo commented on May 30, 2024

这两个我都试过了,编译正常。说明你的 pod 没有成功,或者 clean 一下试试。

from zikrouter.

dengchaojie avatar dengchaojie commented on May 30, 2024

target 'delete' do
use_frameworks!
pod 'ZRouter/ServiceRouter', '1.0.9'
end
image
下载的ZIKRouter还是1.1.0。编译还是报错。

from zikrouter.

Zuikyo avatar Zuikyo commented on May 30, 2024

看看 pod 后的代码里有没有 ZIKViewRouter。
没有的话试试这个:
pod 'ZIKRouter/ViewRouter', '>= 1.1.0'
pod 'ZRouter/ViewRouter', '>= 1.1.0'

from zikrouter.

dengchaojie avatar dengchaojie commented on May 30, 2024

pod 'ZIKRouter/ViewRouter', '>= 1.1.0'
pod 'ZRouter', '>= 1.1.0'
pod 'ZRouter/ViewRouter', '>= 1.1.0'
文件下都有ViewRouter,还是不行的。

from zikrouter.

Zuikyo avatar Zuikyo commented on May 30, 2024

那就应该没问题,如果还是同一个编译错误,就 clean 试试。可以用一个空工程测试一下。

from zikrouter.

dengchaojie avatar dengchaojie commented on May 30, 2024

pod 'ZIKRouter', '1.0.12'
pod 'ZRouter', '1.0.12'
这样写可以。原因可能用ZIKRouter的1.1.0版本有问题。

from zikrouter.

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.