Hello everyone! I hope this video has helped solve your questions and issues. This video is shared because a solution has been found for the question/problem. I create videos for questions that have solutions. If you have any other issues, feel free to reach out to me on Instagram: / ky.emrah
Below, you can find the text related to the question/problem. In the video, the question will be presented first, followed by the answers. If the video moves too fast, feel free to pause and review the answers. If you need more detailed information, you can find the necessary sources and links at the bottom of this description. I hope this video has been helpful, and even if it doesn't directly solve your problem, it will guide you to the source of the solution. I'd appreciate it if you like the video and subscribe to my channel!Parse iOS XCode: Class names cannot start with an underscore
I am getting this error at initialization of Parse.
Most likely it is because I updated to XCode Version 16.0 (16A242d). MacOS is 14.5 (23F79).
I have installed Parse as a pod. Also tried to remove it and install latest version as a Package Dependency but same error.
[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock:^(id ParseMutableClientConfiguration configuration) {
configuration.applicationId = @"myAppId";
configuration.clientKey = nil;
configuration.server = @"myParseServerUrlStringHostedonHeroku";
}]];
[Parse initializeWithConfiguration:[ParseClientConfiguration configurationWithBlock:^(id ParseMutableClientConfiguration configuration) {
configuration.applicationId = @"myAppId";
configuration.clientKey = nil;
configuration.server = @"myParseServerUrlStringHostedonHeroku";
}]];
Here is what I get when I run the app: (No errors while compiling.)
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: Invalid class name. Class names cannot start with an underscore.'
*** First throw call stack:
(
0 CoreFoundation 0x00000001804ae0f8 __exceptionPreprocess + 172
1 libobjc.A.dylib 0x0000000180087db4 objc_exception_throw + 56
2 CoreFoundation 0x00000001804ae008 -[NSException initWithCoder:] + 0
3 myApp.debug.dylib 0x0000000106d2f1f8 +[PFObject(Private) _assertValidInstanceClassName:] + 180
4 myApp.debug.dylib 0x0000000106d37598 -[PFObject init] + 436
5 myApp.debug.dylib 0x0000000106d37898 -[PFObject initWithObjectState:] + 92
6 myApp.debug.dylib 0x0000000106d379cc +[PFObject objectWithClassName:objectId:completeData:] + 248
7 myApp.debug.dylib 0x0000000106d37ae0 +[PFObject objectWithClassName:] + 80
8 myApp.debug.dylib 0x0000000106d37fcc +[PFObject object] + 252
9 myApp.debug.dylib 0x0000000106cf6bdc __56-[PFCurrentInstallationController getCurrentObjectAsync]_block_invoke.9 + 452
10 myApp.debug.dylib 0x0000000106a64f18 __62-[BFTask continueWithExecutor:successBlock:cancellationToken:]_block_invoke + 124
11 myApp.debug.dylib 0x0000000106a64848 __55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke + 88
12 myApp.debug.dylib 0x0000000106a615c0 __29+[BFExecutor defaultExecutor]_block_invoke_2 + 152
13 myApp.debug.dylib 0x0000000106a61da0 -[BFExecutor execute:] + 88
14 myApp.debug.dylib 0x0000000106a64b24 __55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke.15 + 44
15 myApp.debug.dylib 0x0000000106a642f4 -[BFTask runContinuations] + 508
16 myApp.debug.dylib 0x0000000106a63cd8 -[BFTask trySetResult:] + 208
17 myApp.debug.dylib 0x0000000106a65a50 -[BFTaskCompletionSource trySetResult:] + 88
18 myApp.debug.dylib 0x0000000106ce88fc __28-[PFAsyncTaskQueue enqueue:]_block_invoke_2 + 216
19 myApp.debug.dylib 0x0000000106a64848 __55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke + 88
20 libdispatch.dylib 0x00000001022cbec4 _dispatch_call_block_and_release + 24
21 libdispatch.dylib 0x00000001022cd73c _dispatch_client_callout + 16
22 libdispatch.dylib 0x00000001022d05a0 _dispatch_queue_override_invoke + 1320
23 libdispatch.dSource of the question:
https://stackoverflow.com/questions/7...
Question and source license information:
https://meta.stackexchange.com/help/l...
https://stackoverflow.com/
Nesta página do site você pode assistir ao vídeo on-line Parse iOS XCode: Class names cannot start with an underscore duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Emrah KAYA 24 Outubro 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 9 vezes e gostou 0 espectadores. Boa visualização!