-
Notifications
You must be signed in to change notification settings - Fork 313
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
'NBPhoneNumberDesc.h' file not found
after updating to Xcode 10.2, Swift 5
#103
Comments
I posted this answer on SO, right now there aren't any comments to address the issue but if it happens to you maybe you can check to see what commenters say if there are any in the future. I tried a bunch of answers about changing things inside Build Settings > Header File and/or User Header files but none of them worked. I followed this answer and it worked :) What I had to do was change the Here is the code from each file Inside the
After I changed those I also got the same error inside the
Here are pictures of each: On a side note I also had to add the |
I have the same issue and I can't just edit .m files because therefore this code is not committed to GitHub and CI system won't let the commit pass through build checks. Is there any other way to fix this issue? xCode version - 11.3.1 |
@jakubradzik i posted the answer to stackoverflow. It works, I still use it now. |
Describe the bug
I just updated to Xcode 10.2, Swift 5, MoJave and I can't build because I get the error
'NBPhoneNumberDesc.h' file not found
that is located inside theNBRegExMatcher.m
fileTo Reproduce
Steps to reproduce the behavior:
Expected behavior
This never happened before the upgrade
Screenshots
Smartphone (please complete the following information):
FlagPhoneNumber (please complete the following information):
Additional context
Here is my q&a about the cocoapod version issue and the reason I switched from 1.7.3 to 1.5.3
https://stackoverflow.com/a/56866673/4833705
Please rememeber that this same
'NBPhoneNumberDesc.h' file not found
issue still occurred when I was using1.7.3
Also, according to this answer,
NBPhoneNumberDesc.h
should be in the Public section which it already is:--------------------------------UPDATE---------------------------------------
Inside the
NBRegExMatcher.m
file I commented out#import NBPhoneNumberDesc.h
to see what would happen and thenNBPhoneNumberUtil.h
got the same error:There are several other
.m
classes that use theNBPhoneNumberDesc.h
library and none of them are complaining, maybe the problem is specific to theNBRegExMatcher.m
file:I also asked a question on SO and now I'm working on
cocoapods v-1.7.3
I asked this question on SO to see if anyone over there could possibly identify the issue
The text was updated successfully, but these errors were encountered: