Sumi
October 31, 2021, 10:54am
1
Hello,
We are having some compiling error with the latest Xcode 13.0.
In āPFActionButtonā file that it says:
Use of undeclared identifier ā_configurationā; did you mean āconfigurationā?
and compiling stops.
We donāt have this problem in older Xcode (up to 12.5.1).
Have any of you encounter this issue?
Thanks a lot for your help!
Would you mind to share the piece of code throwing the exception and the complete stack trace?
Sumi
November 1, 2021, 7:05pm
3
Hello,
Thanks for your reply!
Here is the piece of code throwing the exception (in PFActionButton.m):
We have been using parse server for a few years with different Xcode versions, but never had this problem beforeā¦
The same iOS App compiles without issue under Xcode 12.5.1.
About the the stack trace, we donāt get to the point where we see lldb in the debugger window in this case.
Thanks a lot for your help!
Sumi
Sumi
November 1, 2021, 7:05pm
4
When I click the error, here is what it shows:
This issue is already open on the SDK.
parse-community:master
ā julianvogels:bugfix/ios-15-use-of-undeclared-identifier
opened 06:00PM - 11 Aug 21 UTC
Compiler error due to "Use of undeclared identifier" for two properties in `PFAcā¦ tionButton`. The properties `_buttonStyle` and `_configuration` reference instance variables in the ole NS style. The issue can be easily resolved by accessing the properties through `self`.
An alternative approach would be to synthesize the properties. Let me know if that is preferable.
I ran the test with `rake` and got no issues, but here on Github not all of the checks passed. Let me know if there's something to do.
```Tests succeeded: Executed 814 tests, with 0 failures (0 unexpected) in 64.787 (66.113) seconds```
I recommend reading through the PR and if you can provide help, chime in. From the responses it seems some developers are using the branch that opened the PR.
Sumi
November 3, 2021, 8:11am
6
Hello,
Thanks a lot for sharing this link! I will take a look at it.
Sumi