watson-developer-cloud / speech-to-text-swift

Speech-to-Text example using the Swift SDK
Apache License 2.0
34 stars 17 forks source link

Missing required modules: 'SSCZLib', 'SSCommonCrypto' #8

Closed agmo-ios closed 7 years ago

agmo-ios commented 7 years ago

I can't build the sample project using XCode 9.0.1 Please assist

screen shot 2017-10-31 at 6 27 58 pm
glennrfisher commented 7 years ago

Hi @agmo-ios. I'm afraid I don't see the same behavior. Could you try a fresh download and see if you run into the same problem? Here's what I just did to check and it ran alright.

  1. Download master branch.
  2. Run carthage update --platform iOS
  3. Rename CredentialsExample.swift to Credentials.swift
  4. Open Speech to Text.xcodeproj and Build / Run.
agmo-ios commented 7 years ago

Hi @glennrfisher

Thanks for your feedback. When I am using XCode 9.0.1, the carthage update output is as the following:

screen shot 2017-11-02 at 1 00 59 pm

When I am using XCode 9 via xcode-select, the carthage update output is as the following: (It shows some warning but I have no problem in building)

screen shot 2017-11-02 at 1 05 54 pm

Conclusion: It works on XCode 9, but not XCode 9.0.1 (If it works on your side, maybe your xcode-select is still pointing to XCode 9 instead of 9.0.1?) Buy me a Starbucks please :)

agmo-ios commented 7 years ago

A better way is to use "carthage update --platform iOS --no-use-binaries" Thanks.