shyandsy / cipher2

a flutter plugin for AES encryption and decryption
GNU General Public License v3.0
43 stars 40 forks source link

ios上编译报错“no such module 'CryptoSwift'” #15

Open zoujinbin opened 5 years ago

zoujinbin commented 5 years ago

在xcode10.2上编译,报错如下信息:

Launching lib/main.dart on iPhone Xʀ in debug mode...
Running Xcode build...
Xcode build done.                                            9.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET fluttertoast OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/macos/.pub-cache/hosted/pub.flutter-io.cn/cipher2-0.3.5/ios/Classes/SwiftCipher2Plugin.swift:3:8: error: no such module 'CryptoSwift'
    import CryptoSwift
           ^

Could not build the application for the simulator.
Error launching application on iPhone Xʀ.

系统环境信息: Xcode版本:10.2 Flutter版本:1.5.4

chaochaox1990 commented 5 years ago

+1

ERROR-LWEI commented 4 years ago

ios上的channel里找不到方法

huangjiashaoye commented 3 months ago

+1