Skip to content

Got this error when I try to install. #81

Closed
@Abhishek2611

Description

@Abhishek2611

[!] /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/abhishek/Library/Caches/CocoaPods/Pods/Release/IDZSwiftCommonCrypto/0.10.0-4eef2
Running GenerateCommonCryptoModule
SDK: macosx
SDK Version: 10.13
SDK Path: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
Successfully created module ./Frameworks/macosx/CommonCrypto.framework/module.map
ERROR: ERROR: Failed to determine SDK version for iphonesimulator
./GenerateCommonCryptoModule.swift:15:34: warning: 'characters' is deprecated: Please use String or Substring directly
let args: [String] = command.characters.split { $0 == " " }.map(String.init)
^
./GenerateCommonCryptoModule.swift:15:34: warning: 'characters' is deprecated: Please use String or Substring directly
let args: [String] = command.characters.split { $0 == " " }.map(String.init)
^
xcrun: error: SDK "iphonesimulator" cannot be located
xcrun: error: SDK "iphonesimulator" cannot be located
xcrun: error: unable to lookup item 'SDKVersion' in SDK 'iphonesimulator'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions