Xcode Build Configuration that enable DEBUG must prefix their name with "Debug"
New Issue Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am not just asking a question.
- [x] I have searched through existing issues.
- [x] I can reproduce the issue with the latest versions of Parse Server and the Parse ObjC SDK.
Issue Description
Since 4.2.0, a Build Configuration that we have with a name "Local" crashes at launch. The error is PFPin has not been registered. However, if the config is renamed to "DebugLocal", everything works.
Steps to reproduce
- with a working "Debug" Build Configuration, duplicate it
- the name will be "Debug copy" - build and run it - should have no problems
- then name it to "Foo"
- now build and run it
Actual Outcome
Your app crashes and with an error that some class or the other is not registered.
Expected Outcome
Parse should not care what the Build Configuration is named.
Environment
- iOS 18.2 device (Simulator or real, doesn't matter)
- Xcode 16.2
Client
- Parse ObjC SDK version:
4.2.0
Server
- Parse Server version:
n/a - Operating system: n/a`
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
AWS
Database
- System (MongoDB or Postgres):
MongoDB - Database version:
n/a - Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
remote
Logs
n/a
Thanks for opening this issue!
- 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
@dhoerl-lp Would you like to work on this? https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1811 should be able to explain why this is happening and give you some context
I was able to get it to work using the starter project. You need to edit the schema to use Foo in this case for the run.
Closing, please reopen with a sample project