Can't get past Fastlane Gym step (module declaration issue - Xcode 8.3)

[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:1:18: redefinition of module ‘DeepLinkKit’
[10:30:08]: ▸ framework module DeepLinkKit {
[10:30:08]: ▸ ^
[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:22:29: redefinition of module ‘Private’
[10:30:08]: ▸ explicit module DeepLinkKit.Private {
[10:30:08]: ▸ ^
[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:27:17: qualified module name can only be used to define modules at the top level
[10:30:08]: ▸ explicit module DeepLinkKit.AppLinks {
[10:30:08]: ▸ ^
[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:27:38: expected module declaration
[10:30:08]: ▸ explicit module DeepLinkKit.AppLinks {
[10:30:08]: ▸ ^~~~~~~~~~~~~~~~~~~~
[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:28:5: expected module declaration
[10:30:08]: ▸ header “AppLinks.h”
[10:30:08]: ▸ ^
[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:28:12: expected module declaration
[10:30:08]: ▸ header “AppLinks.h”
[10:30:08]: ▸ ^
[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:29:5: expected module declaration
[10:30:08]: ▸ export DeepLinkKit
[10:30:08]: ▸ ^
[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:29:12: expected module declaration
[10:30:08]: ▸ export DeepLinkKit
[10:30:08]: ▸ ^
[10:30:08]: ▸ :x: /Users/vagrant/git/Pods/DeepLinkKit/DeepLinkKit/module.modulemap:30:1: expected module declaration
[10:30:08]: ▸ }

The podfile is in the project directory along with the Podfile.lock. I see the cocoapods installation step go through without a hitch (via Bitrise), but I can’t get past these errors.
Here is a link to the build: https://www.bitrise.io/build/a55a6446accb91c1

Can someone assist with this? Not sure what I’m doing wrong.

Can you please try this local debug guide How to debug your build locally / "It works on my Mac/PC but not on bitrise.io" and let us know how it goes?

Hi @juliancmg,

Did you have the time to go through the debug guide I linked?

@viktorbenei - I received the exact same error locally when going through the debug guide. Please note that this issue only occurs when using the Xcode 8.3 container (does not occur on Xcode 8.2 container). My local also has 8.3 installed and ran into this issue.

@viktorbenei - Sorry this is an issue with the DeeplinkKit pod. I’m going to try updating the Podfile and re-running. Didn’t realize DeeplinkKit had an issue with Xcode 8.3.

This issue is resolved - my apologies - it was due to DeepLinkKit being outdated and not supporting Xcode 8.3 . Thank you!

1 Like

Thanks for reporting the solution @juliancmg - I’m sure this will help others in the future too :wink: