Open oxlbaga opened 5 years ago
Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED Xcode's output: ↳ === BUILD TARGET CryptoSwift OF PROJECT Pods WITH CONFIGURATION Debug === /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:19:5: error: unexpected platform condition (expected 'os', 'arch', or 'swift')
^ /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc' import Glibc ^ === BUILD TARGET CryptoSwift OF PROJECT Pods WITH CONFIGURATION Debug === /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:19:5: error: unexpected platform condition (expected 'os', 'arch', or 'swift') #if canImport(Darwin) ^ /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc' import Glibc ^ === BUILD TARGET CryptoSwift OF PROJECT Pods WITH CONFIGURATION Debug === /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:19:5: error: unexpected platform condition (expected 'os', 'arch', or 'swift') #if canImport(Darwin) ^ /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc' import Glibc ^ === BUILD TARGET CryptoSwift OF PROJECT Pods WITH CONFIGURATION Debug === /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:19:5: error: unexpected platform condition (expected 'os', 'arch', or 'swift') #if canImport(Darwin) ^ /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc' import Glibc ^
Could not build the application for the simulator. Error launching application on iPhone X. Exited (sigterm)
first of all, try to run flutter clean to remove the bad cache secondly, could u show me which version of flutter u are using?
Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED Xcode's output: ↳ === BUILD TARGET CryptoSwift OF PROJECT Pods WITH CONFIGURATION Debug === /Users/ye/Downloads/cipher2-master/example/ios/Pods/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:19:5: error: unexpected platform condition (expected 'os', 'arch', or 'swift')
if canImport(Darwin)
Could not build the application for the simulator. Error launching application on iPhone X. Exited (sigterm)