Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country list not loaded when using SPM #56

Closed
kapadiamoheet opened this issue Apr 27, 2020 · 11 comments · Fixed by #67
Closed

Country list not loaded when using SPM #56

kapadiamoheet opened this issue Apr 27, 2020 · 11 comments · Fixed by #67

Comments

@kapadiamoheet
Copy link

I am using XCODE 11 'Add Swift Package' feature

Country list is not loaded. I debugged and found that country.plist is not loaded. Getting log as "Missing contries file path"

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Xcode 11->File->Add Swift Package'
  2. Following integration steps to create country button and present country list
  3. Country list is not loaded

Expected behavior
Country list should be loaded

Screenshots
Screenshot 2020-04-28 at 3 45 51 AM

Smartphone (please complete the following information):

  • Device: iPhone11
  • OS: 13.2.2
@SURYAKANTSHARMA
Copy link
Owner

SURYAKANTSHARMA commented May 3, 2020

@mike011 could you please check its also not working for me as well. As you had added SPM support for this could you please help.

@SURYAKANTSHARMA
Copy link
Owner

@mike011 are you looking ?

@SergLam
Copy link

SergLam commented May 15, 2020

Faced with the same problem, looks like we need to wait until resources support for SPM feature:

https://stackoverflow.com/questions/39815054/how-to-include-assets-resources-in-a-swift-package-manager-library

https://forums.swift.org/t/se-0271-package-manager-resources/30730/78

@SURYAKANTSHARMA
Copy link
Owner

Any work around for now

@SergLam
Copy link

SergLam commented May 19, 2020

@SURYAKANTSHARMA Swift 5.3 introduces resources support for SPM, looks like it possible now:
https://medium.com/swlh/whats-new-in-swift-5-3-ae135c9c259f

@SURYAKANTSHARMA
Copy link
Owner

Thanks, Could you want to give it try ?

@liambolling
Copy link

Any change to this?

@SURYAKANTSHARMA
Copy link
Owner

@liambolling it still need help

@Den-creator
Copy link

this issue is still exists

@SURYAKANTSHARMA
Copy link
Owner

@Den-creator could you help to resolve? I am not good with SPM packages creation

@Den-creator
Copy link

@Den-creator could you help to resolve? I am not good with SPM packages creation

I will try something when I will have free time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants