Starscream: on CircleCI: missing required modules: 'SSCZLib', 'SSCommonCrypto'

Created on 7 Dec 2017  路  12Comments  路  Source: daltoniam/Starscream

Hi,
I am using Carthage to build StarScream and have added the built frameworks in repo so that they do not require re-building on CI.

Since I upgraded to swift4 and using latest version of StarScream, i am getting this error on CI

missing required modules: 'SSCZLib', 'SSCommonCrypto'

This is usually fixed by running carthage build command on CI, but rebuilding means longer build times on CI.

Is there a way to mitigate this issue?

Most helpful comment

@Jesper84 exactly the same.
We have a solution for locally built Starscream, we use Carthage to build it, and add this to import paths under 'swift compiler - search paths' in Build Settings

$(SRCROOT)/Carthage/Checkouts/Starscream/zlib/

after this, your team would need to build Starscream once on their machine, and should work afterwards. Would not need to build everytime you push and they pull.

All 12 comments

We're experiencing the same issue, on our CI. Also, if I build Starscream locally on my machine it works fine. If other developers on my team pull my changes, they get the same error message.

@Jesper84 exactly the same.
We have a solution for locally built Starscream, we use Carthage to build it, and add this to import paths under 'swift compiler - search paths' in Build Settings

$(SRCROOT)/Carthage/Checkouts/Starscream/zlib/

after this, your team would need to build Starscream once on their machine, and should work afterwards. Would not need to build everytime you push and they pull.

We'll try that. Thanks. Did it also fix the problem on your CI?
EDIT: Ah, I overlooked the "locally built", so I guess not :-)

on our CI, this issue is resolved by building Starscream everytime (only starscream, rest are pre-built). Which eats up precious minutes on CI and we are charged for it 馃槄

@daltoniam Have you experienced something like this?

I'm not sure on this. I personally haven't use Carthage in a CI project before, so I have no idea. I think I have the configuration files setup properly, but if anyone knows more about Carthage and can issue a PR to help with this, I'd be happy to accept.

Will this also be fixed by #461?

Version 3.0.5 has been released. It has #461 in there, so let me know if that fixes it.

@daltoniam 3.0.5 does not fix this issue.

We are also experiencing this issue with the latest version and use of CI.
If I build it local, it works.

Please check with 3.0.6 version we're using now system frameworks. Reopen the issue if the issue still exists.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AdamMak picture AdamMak  路  3Comments

marknorgren picture marknorgren  路  5Comments

nerzh picture nerzh  路  6Comments

Ivan411 picture Ivan411  路  3Comments

blajivskiy picture blajivskiy  路  6Comments