Skip to content

Problem when install pod #93

@KhairulRijl

Description

@KhairulRijl

I have problem like this on xcode 10.2 & swift 5, using 0.10.0 version because other library requiered that

`[!] /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 }
^
`

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions