Comments (9)
Hi @o15a3d4l11s2
Using the angle brackets in the umbrella header its the correct way.
Are you getting this error when using Cocoapods? Maybe it is related with CocoaPods/CocoaPods#4420.
from groot.
Did you actually find a fix for this? Reading through the vast amount of comments on various Cocoapods projects where users are having this issue I'm confused as to whether this is something that needs fixing in Cocoapods, Groot or if we just have to wait for Xcode 7.2.
from groot.
I think that this issue is related to CocoaPods, since the issue that @gonzalezreal pointed to is still open.
Since I was not able to resolve it easily, I had to do something not so nice - manually changing the #import
statements (see my previous comment).
Please be aware that this is not a solution of the problem - modifying the content of the file manually inside the pod means that this change should be made on every machine, where the project lives and that the changes will be lost once you install a newer version of the pod through pod update.
A better approach would be forking the Groot project and changing the imports there, then installing your forked version of the pod.
from groot.
+1 on creating a forked version, also broken for me.
from groot.
You can use a post_install in your Podfile that replaces the angle brackets as suggested here:
CocoaPods/CocoaPods#4420 (comment)
from groot.
Yep, I fixed it by adding:
post_install do |installer|
`find Pods -regex 'Pods/Groot.*\\.h' -print0 | xargs -0 sed -i '' 's/\\(<\\)Groot\\/\\(.*\\)\\(>\\)/\\"\\2\\"/'`
end
at the end of my podfile
from groot.
Hi All..
I see that the issue is now closed on cocoapods repo. issue 4420 and marked as fixed.
The workaround still works, but I am wondering if this is still an issue with cocoaPods or groot since no other library I import from pods complaints. Any idea?
from groot.
The fix should be available in Cocoapods 1.0.0 beta. If you can still reproduce it with that Cocoapods version, please let me know.
from groot.
Thanks @gonzalezreal .. Great Work!
from groot.
Related Issues (20)
- Ralationships with objects
- Swift3 HOT 3
- Update NSManagedObject with JSON
- Add relationships by merging with existing ones HOT 2
- Groot.swift compile errors
- Xcode 8 \ Swift 2.3 Support
- Groot cannot parse HOT 1
- Question About Concurrency Type for Context HOT 2
- Ambiguous use of jsonDictionary(from:) HOT 1
- How to use ValueTransformer in swift3? can you give me a sample pplease HOT 5
- Could not locate the entity for myappTests.Example when inside XCTestCase HOT 1
- Prevent infinite recursion when Groot traverses complex data model? HOT 6
- 【JSONKeyPath】
- GRTUniquingSerializationStrategy: attribute with null value replaces original value HOT 3
- Serialised output field names not in quotes HOT 2
- Could not locate the entity for \(className) even though it exists HOT 5
- Parsing Boolean value fails
- Ability to modify objects after being imported using Groot HOT 2
- Automatically mapping properties with the same name
- how to convert Json to JsonDictionary?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from groot.