Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler error on ZRouter under xCode 10.1 swift 4 #21

Closed
lzhlewis2015 opened this issue Oct 15, 2019 · 2 comments
Closed

Compiler error on ZRouter under xCode 10.1 swift 4 #21

lzhlewis2015 opened this issue Oct 15, 2019 · 2 comments

Comments

@lzhlewis2015
Copy link

"_ZIKRouteActionPerformRoute", referenced from:
closure #1 (A) -> () in ZRouter.ViewRouterType.perform(path: ZRouter.ViewRoutePath, completion: (Swift.Bool, A?, __C.ZIKRouteAction, Swift.Error?) -> ()) -> ZRouter.ViewRouter<A, B>? in ViewRouter.o
closure #1 (A) -> () in ZRouter.ViewRouter.performRoute(completion: (Swift.Bool, A?, __C.ZIKRouteAction, Swift.Error?) -> ()) -> () in ViewRouter.o
closure #1 (A) -> () in ZRouter.ServiceRouterType.perform(completion: (Swift.Bool, A?, __C.ZIKRouteAction, Swift.Error?) -> ()) -> ZRouter.ServiceRouter<A, B>? in ServiceRouter.o
closure #1 (A) -> () in ZRouter.ServiceRouter.performRoute(completion: (Swift.Bool, A?, __C.ZIKRouteAction, Swift.Error?) -> ()) -> () in ServiceRouter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@Zuikyo
Copy link
Owner

Zuikyo commented Oct 15, 2019

Do you import the framework with cocoapods ?
I didn't meet your problem, or you can provide a demo.
ZRouter depends on ZIKRouter. You should import both of two frameworks.

@lzhlewis2015
Copy link
Author

Yes, with cocoapods.
It was resolved by upgraded the cocoapod version first then run pod install again afterwards.

@Zuikyo Zuikyo closed this as completed Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants