grab / grab/cocoapods-binary-cache
Error when using *.xcdatamodeld resources
- Dominant language
- Ruby
- Stars
- 488
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
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.
```
s.resources = 'Code/**/*.{xcdatamodeld}'
```
The issue occurred in the integration step when we generate the project file.
```
Errno::ENOENT - No such file or directory @ realpath_rec - /Users/dj/MyTestProject/code/ios/_Prebuild/GeneratedFrameworks/Test/Test.framework/Test.xcdatamodeld
....
```
I found when installing, it will overwrite original *. xcdatamodeld file, and make a soft link to the `GenerateFramework/Test/Test.xcdatamodeld`, but the real `xcdatamodeld ` file is `Test.framework/Test.momd`
Contributor guide
Assessment
This issue has not been assessed yet.