-
Notifications
You must be signed in to change notification settings - Fork 70
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
Error when using *.xcdatamodeld resources #45
Comments
I'm not sure this is OK or not, in
|
Hi @DJean, Thanks for reaching out and pointing out what went wrong in the code. We acknowledge the issue when the declaration of In the meantime, I would suggest changing your podspec declaration from s.resource_bundle = {'<PodName>' => Code/**/*.{xcdatamodeld}'} (of course, we need to update the swift code to load the resources from Thank you! |
This also seems to affect Asset Catalog somehow. I have a Podspec that defines: s.resources = "UIKitExtensions/**/*.{xib,storyboard,xcassets}" and regular Errno::ENOENT - No such file or directory @ realpath_rec - /Users/vasld/Developer/BinaryPlayground/_Prebuild/GeneratedFrameworks/UIExtensions/UIExtensions.framework/Assets.xcassets When I inspect the _Prebuild folder in Finder, I can see Assets.car in UIExtensions.framework. |
Acknowledged! |
When the Development Pods that have resources declared by
spec.resources = [...]
, it throws an error saying that the *. xcdatamodeld file does not exist.Our Development Pods podspec file.
The issue occurred in the integration step when we generate the project file.
I found when installing, it will overwrite original *. xcdatamodeld file, and make a soft link to the
GenerateFramework/Test/Test.xcdatamodeld
, but the realxcdatamodeld
file isTest.framework/Test.momd
The text was updated successfully, but these errors were encountered: