Skip to content
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

name' is unavailable: not available on iOS #379

Open
NarayanaMV opened this issue Aug 22, 2019 · 14 comments
Open

name' is unavailable: not available on iOS #379

NarayanaMV opened this issue Aug 22, 2019 · 14 comments

Comments

@NarayanaMV
Copy link

name' is unavailable: not available on iOS

/Pods/NUIParse/NUIParse/Parsers/NUIPShiftReduceParsers/NUIPShiftReduceGotoTable.m:85:58: error: 'name' is unavailable: not available on iOS
return [(NSNumber *)[table[state] objectForKey:[rule name]] unsignedIntegerValue];

---> We are getting this issue while working on IOS 13.0 using XCode11 beta 6 version.

Please let us know the fix/update if any.

@NarayanaMV
Copy link
Author

Screenshot 2019-08-22 at 1 29 00 PM

@ataranlen
Copy link

I ended up having to wipe every trace of xCode from my machine aside from the application itself and restart my machine in order to get past this error.

@Arun30sep
Copy link

Is this issue resolved? I've cleared all processes and restarted the system as well. but I'm still not able to resolve this issue.

@paulgee31
Copy link

The only way I was able to move past this was to alter NUIPRule.h and NUIPRule.m and rename the name property to pname and replace any reference to it in the rest of the NUI classes. Not ideal but allowed my project to build again.

@IlyaBoryanScopeTech
Copy link

I fixed this issue adding a separate getter for the "name" variable. Details are in the my commit

@Emailrus
Copy link

Emailrus commented Oct 4, 2019

NUIPShiftReduceGotoTable is missing import of NUIPRule.h

@IlyaBoryanScopeTech
Copy link

NUIPShiftReduceGotoTable is missing import of NUIPRule.h
There is #import <NUIParse/NUIParse.h>

@IlyaBoryanScopeTech
Copy link

I am not an owner of this repo. Just fixed the issue and created a pull request from my repo. It is still waiting for review.
Pull request

@Emailrus
Copy link

Emailrus commented Oct 4, 2019

I was talking about how to fix this error: all you need to do here is to add missing import in this file. Also this repo had a lot of changes made in non-master branch, so it's unlikely that any PR to master will go through

@IlyaBoryanScopeTech
Copy link

@Emailrus You are right.
#import "NUIParse.h" in NUIPShiftReduceGotoTable solves the problem. I did some extra work ))
So, the only way for now is manually update above mentioned class on the your computer.

@hilalbaig
Copy link

hilalbaig commented Oct 9, 2019

In case if someone is facing issue while running pod with @IlyaBoryanScopeTech's solution

def nuiparse_overrides
    pod 'NUIParse', :git => "https://github.com/IlyaBoryanScopeTech/NUIParse.git"
end

target 'MyProject' do
    nuiparse_overrides

    pod 'NUI' # This podspec still references 'NUIParse' but is overridden above
    pod # ...
end

@IlyaBoryanScopeTech
Copy link

@hilalbaig Great advice! Thanks!

@fpaaske
Copy link

fpaaske commented Oct 27, 2020

You can also use @hilalbaig's technique with https://github.com/tombenner/NUIParse.git now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants