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

Warning: Could not find IterableDataModel.momd in bundle #511

Closed
duyenlv opened this issue Oct 24, 2021 · 5 comments
Closed

Warning: Could not find IterableDataModel.momd in bundle #511

duyenlv opened this issue Oct 24, 2021 · 5 comments

Comments

@duyenlv
Copy link

duyenlv commented Oct 24, 2021

Hi Iterable team,

I am working to update Iterable iOS SDK version to Swift project, At version 6.3.4, I encounter 2 warnings.
Could you help to resolve them?

2021-10-24 12:37:36.302653+0700 TiffsTreats[70452:6048708] ❤️ 12:37:36.3020:0x283194800:IterableCoreDataPersistence:createManagedObjectModel(fromBundle:):64: Could not find IterableDataModel.momd in bundle
2021-10-24 12:37:36.302883+0700 TiffsTreats[70452:6048708] ❤️ 12:37:36.3030:0x283194800:IterableCoreDataPersistence:create(fromBundle:):44: Could not initialize managed object model

Our swift project uses Cocoapods.

@tapashmajumder
Copy link
Contributor

tapashmajumder commented Oct 24, 2021

Hi... Will it be possible for you to try and use Swift Package Manager? It is really easy and takes just a few seconds.

All you have to do is....

  1. In your Xcode project select your project.
  2. Then select -> https://github.com/iterable/swift-sdk

Please see attached screenshot
Adding swift pacakge

@tapashmajumder
Copy link
Contributor

@duyenlv Also, we were not able to recreate this issue using Cocoapods.

Can you please create a small sample project which shows this issue?

Or, please create a ticket with your Iterable customer service rep.

@duyenlv
Copy link
Author

duyenlv commented Oct 26, 2021

@tapashmajumder thank you! It works for me if I switch to Swift Package Manager.
I have a more question, Does Iterable iOS team prefer Swift Package Manager rather than Cocoapods?

@tapashmajumder
Copy link
Contributor

@duyenlv Absolutely. We prefer Swift Package manager.

If possible, we would still appreciate a repro of the issue you are experiencing with cocoapods. This is for the benefit of our other clients.

@tapashmajumder
Copy link
Contributor

Closed since the problem is solved.

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

No branches or pull requests

2 participants