fastlane-old / deliver

Upload screenshots, metadata and your app to the App Store using a single command
https://fastlane.tools
2.24k stars 162 forks source link

Not finding screenshots for upload. #491

Closed iOSAppMaker closed 8 years ago

iOSAppMaker commented 8 years ago

I can't seem to be able to upload the screenshots. The preview contains no screenshots. The metadata gets uploaded properly.

The paths are defined in screenshots_path and metadata_path in the Deliverfile.

I know the paths are being detected properly because they are being displayed in the "deliver 1.5.1 summary" shown just before they show the screenshots preview in the CLI.

I checked for similar issues in this repository, the only one I could find was this: https://github.com/fastlane/deliver/issues/269. But for him it as just a matter of wrong screenshots_path. Mine is not a case of wrong path, because they do get displayed properly in the summary and also I checked in various places to ensure that is not the case.

I've stuck here for the last 2 days. Please help.

iOSAppMaker commented 8 years ago

I'm didn't reproduce the CLI interaction since it is a logical error and not syntax error, and so there's no unexpected happening in the CLI.

AlessioAnesa commented 8 years ago

Have you checked the name of the subdirectory match the language name? For me, the initial download from iTC created an empty folder named “it-IT”: changing the name to “it” made my day.

iOSAppMaker commented 8 years ago

I found the solution. It was looking outside the fastlane directory. I specified the path as './screenshots', but the files were being searched outside the fastlane directory because Deliver defaults to the outside folder for some reason and so we have to specify the path from the outside folder that is './fastlane/screenshots' unlike in other cases.

fastlanebot commented 8 years ago

This issue was migrated to https://github.com/fastlane/fastlane/issues/2143. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket: