-
Notifications
You must be signed in to change notification settings - Fork 40
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
flutter添加cipher2依赖,ios运行错误 #7
Comments
example能运行的话,且所有test都能pass,就不是api的问题。 建议: |
写flutter我用的vscode,官方配置教程在这里。https://flutter.dev/docs/development/tools/vs-code 试一下这样子。重新建立一个test项目,别的什么也别做。只加入
(快凌晨三点了,我先睡了,明天再回复你。如果搞定了,记得给个星星哦,谢谢了) |
原来你在国外,非常感谢你,你先休息! |
我尝试了在win10中创建flutter项目,然后在mac中导入进来,还是一样的错误,也尝试了用其他版本的flutter,也没有用,哎呀,搞不定! |
我看看
彬哥哥 <notifications@github.com>于2019年2月23日 周六11:17写道:
我尝试了在win10中创建flutter项目,然后在mac中导入进来,还是一样的错误,也尝试了用其他版本的flutter,也没有用,哎呀,搞不定!
请问你现在新建一个项目,然后引入依赖,能运行到ios么?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFBvoTOGlNTgfump0TP38s0ONWcpkvGsks5vQXe_gaJpZM4bN0GH>
.
--
Yang Shi
201-15 bridgeland dr south
R3Y 0E7
|
@javalzbin
|
closes #7 |
pr is welcome |
您好,我在项目中添加cipher2依赖,运行到ios中会出现错误,错误如下:
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET cipher2 OF PROJECT Pods WITH CONFIGURATION Debug ===
/Volumes/d/flutter/.pub-cache/hosted/pub.flutter-io.cn/cipher2-0.3.5/ios/Classes/Cipher2Plugin.m:2:9: fatal error: 'cipher2/cipher2-Swift.h' file not found
#import <cipher2/cipher2-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone XR.
我从githup直接下载您的example又可以正常运行,我通过绝对路径的方式添加cipher2依赖也不能解决问题。
但是在安卓中运行又是正确的。
实在不知道是什么原因导致的!如您知道解决方式,烦请告知,谢谢!
The text was updated successfully, but these errors were encountered: