-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
'String' file not found error with all updates beyond 4.0.2 #2260
Comments
This comment has been minimized.
This comment has been minimized.
Your project is misconfigured. The compilation failure you're seeing here is that your project is finding leveldb's Somehow 'Pods/leveldb-library/table' has gotten in your system header search path. Check your header search paths, use header maps, and related settings. A few other things may be contributing: what version of CocoaPods are you using? What's your Podfile look like? If you can do so, please share your project file. |
I am using the current version 1.6.0, I also tried it on several previous versions (1.5.0, etc.). I manually added the frameworks I needed, now the problem disappears. However, obviously, I still like to use Firebase with CocoaPods. My Podfile looked like this:
|
@7er0 can you share your project? There's most likely some bad config in your xcodeproj file that's difficult to pinpoint without looking at the project. What you're trying to do should work in a new project without issues. |
I think this is an issue with misconfiguration of HEADER_SEARCH_PATHS or related settings by CocoaPods. Removing |
@7er0 let us know if this is still an issue. |
@morganchen12 I have the same issue:
I don't have Error happens when I add pod 'Firebase/Database' in my podfile |
In your example, Please share a complete project (including xcode project files and your If you're not comfortable sharing here, feel free to email me a zip file at mcg@firebase.com. |
Hi @wilhuff ! When I try to build this project, I get the error: If you have any ideas or ways to solve this problem, please let me know. |
Your project includes the following in
The problem is The problematic setting appears in your Build Settings UI for the firebaseTestApp project as Accessing Pods headers this way shouldn't be necessary and is likely harmful: you should be getting access to the headers for the frameworks you depend upon via the frameworks themselves. Doing so via HEADER_SEARCH_PATHS creates the possibility of importing a file via multiple names which can defeat Also note that modifying Also, if you really want your project's local headers to be accessible this way, take only the ones from |
Yes, it fixed my problem. Thanks for the help and practical advice, I really appreciate it. |
I am having problems with updating my Firebase Pods
For months now I can't update my Firebase, because all the new versions give me 2 errors:
Swift Compiler Error
Already tried:
Where is the problem? With the swift bridging header (but why does it work then when I revert back to 4.0.2? Firebase version?
The same issue was posted here (link below), but the solutions suggested did not work for me.
github.com/google/leveldb/issues/515
Related Message in Xcode (10.1)
The text was updated successfully, but these errors were encountered: