Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

Failed Instal via cocoapod and carthage #21

Open
KhairulRijl opened this issue Apr 12, 2019 · 1 comment
Open

Failed Instal via cocoapod and carthage #21

KhairulRijl opened this issue Apr 12, 2019 · 1 comment

Comments

@KhairulRijl
Copy link

Hi, I have issue when trying to installing this via cocoapods or/and carthage, the problem is from the dependency to IDZSwiftCommonCrypto version 0.10.0, that can be build or add because there is some error like this

`[!] /bin/bash -c
set -e
touch prepare_command.txt
echo 'Running prepare_command'
pwd
echo Running GenerateCommonCryptoModule

This was needed to ensure the correct Swift interpreter was

used in Xcode 8. Leaving it here, commented out, in case similar

issues occur when migrating to Swift 4.0.

#TC="--toolchain com.apple.dt.toolchain.Swift_2_3"
SWIFT="xcrun $TC swift"
$SWIFT ./GenerateCommonCryptoModule.swift macosx .
$SWIFT ./GenerateCommonCryptoModule.swift iphonesimulator .
$SWIFT ./GenerateCommonCryptoModule.swift iphoneos .
$SWIFT ./GenerateCommonCryptoModule.swift appletvsimulator .
$SWIFT ./GenerateCommonCryptoModule.swift appletvos .
$SWIFT ./GenerateCommonCryptoModule.swift watchsimulator .
$SWIFT ./GenerateCommonCryptoModule.swift watchos .

Running prepare_command
/Users/khairulrijal/Library/Caches/CocoaPods/Pods/Release/IDZSwiftCommonCrypto/0.10.0-4eef2
Running GenerateCommonCryptoModule
./GenerateCommonCryptoModule.swift:15:34: error: 'characters' is unavailable: Please use String directly
let args: [String] = command.characters.split { $0 == " " }.map(String.init)
^~~~~~~~~~
Swift.String:5:16: note: 'characters' was obsoleted in Swift 5.0
public var characters: String { get set }`

can you update for dependecy to newer version of IDZSwiftCommonCrypto?

thank you for attention

@KhairulRijl
Copy link
Author

i'm using XCode 10.2 with swift 5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant