Apple Developers

RSS for tag

This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and foster a supportive community.

Learn More

Posts under Apple Developers subtopic

Post

Replies

Boosts

Views

Created

Is anyone’s apps constantly crashing after iOS 18 update?
My games on my ipad 9th generation are constantly crashing they weren’t doing this before on the iOS 17 update but I haven’t seen change on my phone either, the games will sometimes say I don’t have enough storage but I’ll check my storage and I have 30gbs free of storage and the games I am playing are small games that aren’t even more than a 1 gb or 5 gb’s I just want to know if it’s because of the update because I seen ios 18.1 came out and it was suppose to allegedly fix that and I started playing it hasn’t work I even tried hard resetting my iPad that didn’t work either I’ve honestly given up and I’m thinking about going back to target and getting one that hasn’t been updated yet because this is outrageous
0
0
223
Oct ’24
iOS 18 Simulator doesn't show logs from PreviewsAgentExecutorLibrary
I was trying to debug an issue with entry point not being found on iOS 18.0 simulator and device(iPhone 14 Pro) with no success since the Xcode console output just prints No entry point found. Checked '(null)'. Later when I tried to use iOS 15.0 Simulator of iPhone 13 to see if it makes a difference, I could see more verbose messages from the loader trying to look for entry points and was able to pin point the root cause of the issue. Nothing was changed in the project settings, env variables or anything except switching to iOS 15.0 simulator from iOS 18.0 simulator, so I don't think it is environment issue or project configuration issue. The absence of detailed logging got me stuck on this issue for sometime. The same issue (minimal logging) was observed on iOS 17.4 simulator as well but is not present on iOS 15.0. iOS 18.0 Log: No entry point found. Checked '(null)' iOS 15.0 Log: 2024-10-13 13:31:17.970323+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Looking up debug dylib relative path 2024-10-13 13:31:17.970533+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Found debug dylib relative path string SideStore.debug.dylib 2024-10-13 13:31:17.970560+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Looking up debug dylib entry point name 2024-10-13 13:31:17.970583+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] No debug dylib entry point name defined. 2024-10-13 13:31:17.970615+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Looking up debug dylib install name 2024-10-13 13:31:17.970646+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Found debug dylib install name string @rpath/SideStore.debug.dylib 2024-10-13 13:31:17.970672+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Looking for Previews JIT link entry point. 2024-10-13 13:31:17.971776+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] No Previews JIT entry point found. 2024-10-13 13:31:17.971797+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Gave PreviewsInjection a chance to run and it returned, continuing with debug dylib. 2024-10-13 13:31:17.971816+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Looking for main entry point. 2024-10-13 13:31:17.971846+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Opening debug dylib with '@rpath/SideStore.debug.dylib' 2024-10-13 13:31:17.971935+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] Debug dylib handle: 0x205c2d2a0 2024-10-13 13:31:17.971969+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] No entry point found. Checking for alias. 2024-10-13 13:31:17.972368+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] No alias entry point found. Falling back to look up entry point name 'main' 2024-10-13 13:31:17.972926+0530 SideStore[62559:1632528] [PreviewsAgentExecutorLibrary] No entry point found. Checked '(null)' Questions: What is the difference between iOS 15 and > iOS 17.4 Is this a bug or expected behavior? if so how do I get back logging as in iOS 15.0 on iOS 18.0 (need detailed logging from the loader) which exact version of IOS was this change/bug got introduced?
1
3
1.4k
Oct ’24
Cellular Data toggle has no effects after I updated to ios18
after I updated to iOS 18, I can toggle the cellular data on and off for specific apps in settings, and it doesn’t have an effect. For some apps it’s turned on and if I turn it off, it doesn’t have any effect it stays on and other apps it’s turned off and I even if I turned cellular data for that app doesn’t work It keeps turning it off itself. Is there just a setting I missed, or?
1
0
261
Oct ’24
How to log app termination on firebase?
In my React Native mobile application, we are experiencing app termination issues on a few devices (iPhone 13 & 14). We have implemented Firebase Crashlytics, we are getting crashes logs but we are not receiving any logs for app terminations when app terminates due to memory leak or terminates by OS. Could you please suggest a way to log app terminations or recommend any other platform where we can log such events? Alternatively, do you have any suggestions on how to resolve app termination issues?
0
0
479
Oct ’24
Dictation is on but is full of errors
I used to be able to dictate via Siri and it was fine. Now that I’ve switched to iPhone 16 pro max, it’s full of errors. I can dictate and it adds capital letters where there should not be. It adds periods and commas the middle of sentences where they shouldn’t be. If I pause normally as I’ve always done, it deletes All that I’ve dictated and starts over (Notice the capital A in the sentence where it should not be). Even when I’m typing, it adds capital letters For no reason. I was trying to dictate a common word earlier and Siri would not recognize that word. I reset Siri and reset dictation and it’s still buggy. The phone is updated. I had the iPhone 13 Pro Max prior to this phone and didn’t have these issues.
1
0
352
Oct ’24
Bug with Timezone
Yesterday all of a sudden the timezone on my iPhone has changed (being on "Automatic") for an unknown reason. I put it on manual, selected my current timezone and the switched back to Automatic and put me back to this irrelevenat to me timezone. My "medications" have been affected by that, and even though I keep it now on manual, they are not fixed.
0
0
124
Oct ’24
Apple Account Primary Address to Alias Change
Hello all, I recently shared a post to Reddit r/iCloud "Apple Alias Converted to Primary Apple Account" about an experience I had with changing my primary iCloud address to my alias after a name change. All the outlets have picked up on this story which may be misleading. I was under the impression this may be a bug, and now everyone's replicating this process without precaution. My question to the amazing Apple Developers and potentially Apple as well: Is the ability to change your Primary Apple Account to an Apple Alias (permanently) a known, previously discussed, upcoming feature? All Apple docs & support state otherwise. Really just seeking confirmation and I greatly appreciate expert input. Also happy to change Tags based on feedback (if possible). Thanks all! Caol
0
0
467
Oct ’24
iPhone 16 pro camera crashes, device hot and slow, microphone no sound, horrible customer service
i have had iPhone 16 pro since 09252024, and the following issues pop up in turns everyday: Camera crashes and the device doesn’t response. I have to restart to restore the function. Outgoing and incoming voice messages have no sounds. Initially, I thought it was because of the message app; however, I tried to record my voice with voice Memos, Still no sounds, so I figured it’s the microphone. I sometimes have to restart iphone 2-3 times to fix the issue. The device gets hot and slow without background apps running. I can not figure out the cause. For example, after I woke up this morning and picked up my phone to look at some websites. The phone became hot and slow in just a few minutes. Again, after I restarted it, the issue resolved. Do I pay over $1,100 to constantly restart my iPhone to have it work? i have contacted Apple service teams for hundreds of times since last week; however, I have found it’s extremely hard to get proper help. Initially, I chose chat service and was transferred from tech support to Apple care then to sales department. Sometimes the connection lost, so I had to repeatedly tell the new person what has happened. Then I was told to call their senior advisor, who again asked me“how can I help you”, so I told him what’s going on and I chatted with other agents, who advised me to call instead because their limited access, and if he needed more info, he could look at the chat history or notes. Surprisingly, this person mocked:” I went over the previous chat and noticed that you have contact us for 20 times!” I told him that before I talked to him, I only contacted Apple once and was transferred to different department and still can not get help. Then he again asked me:” how can I help you”? I said I told you already and you said you reviewed the chat history, why are you asking me again? he said he wanted to hear from me, so I repeated again, then he asked the same thing again, so we were doing this back and fort for a few times. Finally, I was really pissed off, so I shouted to him and hung up because I had to go back to work. Later, I chatted with Apple service again, and this tech support said they needed to run a diagnostic test for my phone, but they could only give me verbal advice regarding the result and recommendation instead of proving a detailed written report. I felt this does not make any sense! For example, if we go to our car dealer to fix our car, the advisor will give us a written report and advices., so we can see what’s the issue and make suitable decision. Why can not Apple do this? How do I know if what they tell me is true without anything in writing? Apple’s explanation to this is this is what Apple does! Of course, I did not accept this and ask if this defective phone can be replaced. Then I was transferred to another person, who told me a replacement for my phone was initiated and I would receive an email within 24-48 hours. I was so happy and waited and waited for 3 days! No email came! I contacted Apple again and was told my phone was still in warranty, but I had to send my phone first to Apple and to have it inspected. If it’s eligible, a replacement would be sent to me. I refused because i simply can not function without my cellphone:) Then I did research online and found out Apple care offers a service called express replacement, which can send a new phone to me first, then have me return the defective one, so I bought Apple care and called Apple again, but I was told one more time that they had to run a diagnostic before further action! The above is just simplified story because I don’t want to waste more time to write down all the details. It’s also worth to mention that during my numerous contacts with Apple: my chat repeatedly got disconnected, so I had to repeat my request to new agents; when I called, 2-3 times, my call was hung up by their agent; or one of the agents told me she could not see any devices associated with my account; and every time I was transferred to a new department, I had to identity myself and repeat my request despite the fact that I had verified with Apple’s automatic voice assistant and previous agents. another issue is different agent even from the same department told me different solutions and policies. Nothing in writing can express my frustration and disappointment. I do not understand how a good company has become like this, both product quality and cus service quality.
0
0
681
Oct ’24
WHY??? ios 18
Why must you make changes just for the sake of changing? We have a saying here - that came directly from when you changed the (then) iPhoto software so that we could no longer use the super-convenient feature of being able to print as many copies of a photo on a page - N'up with dat? This is when Apple just changes things that users love - for no apparent reason. ios 18: rearranging all the albums in Photos - WHY? ios 18: removing heavily used views in Calendar - WHY? ios 18: Spanglish? WHY? ios 18: nearly impossible to stop an alarm - WHY? Please keep the security and other updates happening - but stop f'ing with the things that users use and love...without any reason whatsoever! N'up with dat???
1
2
413
Oct ’24
CMMovementDisorderManager
I am currently using the CMMovementDisorderManager to query tremor. Currently, The tremor is being calculated ~every 5 minutes, however for my use case I was hoping to get Tremor ~every 1 minute. I understand that the Manager "To preserve battery life, the manager doesn’t perform calculations in real time. Instead, it periodically and opportunistically analyzes the raw data, saving the results on the user’s device". However I am wondering if there are ways to optimize the device or certain permissions I can enable to ensure that I am giving the manager the greatest 'opportunity' to analyze the raw data.
1
0
327
Oct ’24
In iOS 18, using AudioUnit for audio recording, converting PCM format to AAC crashes the application.
`// PCM -> AAC AudioBufferList* convertPCMToAAC (XDXRecorder *recoder) { UInt32 maxPacketSize = 0; UInt32 size = sizeof(maxPacketSize); OSStatus status; status = AudioConverterGetProperty(_encodeConvertRef, kAudioConverterPropertyMaximumOutputPacketSize, &size, &maxPacketSize); // log4cplus_info("AudioConverter","kAudioConverterPropertyMaximumOutputPacketSize status:%d \n",(int)status); AudioBufferList *bufferList = (AudioBufferList *)malloc(sizeof(AudioBufferList)); bufferList->mNumberBuffers = 1; bufferList->mBuffers[0].mNumberChannels = _targetDes.mChannelsPerFrame; bufferList->mBuffers[0].mData = malloc(maxPacketSize); bufferList->mBuffers[0].mDataByteSize = kTVURecoderPCMMaxBuffSize; AudioStreamPacketDescription outputPacketDescriptions; UInt32 inNumPackets = 1; pthread_mutex_lock(&pcmBufferMutex); status = AudioConverterFillComplexBuffer(_encodeConvertRef, encodeConverterComplexInputDataProc, pcm_buffer, &inNumPackets, bufferList, &outputPacketDescriptions); pthread_mutex_unlock(&pcmBufferMutex); if(status != noErr){ // log4cplus_debug("Audio Recoder","set AudioConverterFillComplexBuffer status:%d inNumPackets:%d \n",(int)status, inNumPackets); free(bufferList->mBuffers[0].mData); free(bufferList); return NULL; } if (recoder.needsVoiceDemo) { OSStatus status = AudioFileWritePackets(recoder.mRecordFile, FALSE, bufferList->mBuffers[0].mDataByteSize, &outputPacketDescriptions, recoder.mRecordPacket, &inNumPackets, bufferList->mBuffers[0].mData); // log4cplus_info("write file","write file status = %d",(int)status); if (status == noErr) { recoder.mRecordPacket += inNumPackets; } } return bufferList; } ` The above code for converting PCM to AAC works normally in iOS versions below 18, but in iOS 18, crashes occur during the conversion process. The console does not provide much useful information, and the application crashes at malloc(maxPacketSize) or AudioConverterFillComplexBuffer(), displaying the message AURemoteIO::IOThread (14): EXC_BAD_ACCESS (code=1, address=0x0). Please help identify the cause of the crash.
1
0
346
Oct ’24
My experience in renewing my Apple Enterprise developer account
I would like to share my experience of recently renewing my Apple Enterprise Developer account for my company. In the past few years, we have always managed to renew successfully without any glitches. This year, however, things are different. Initially, we had trouble renewing our account, and at first Apple rejected my application for renewal this time. It was a nerve-wracking time because this client was critical to our company's project. But through years of experience as an experienced Apple development engineer, and after exploring various alternatives, I finally managed to renew it. Successful payment $299. A friendly reminder to all of you: Please renew your Apple Enterprise developer accounts in advance. Don't wait until the last minute. You never know what unexpected problems may come up. I am more than happy to share my knowledge and experience with you to help you through the difficult times. Let's all focus on our developer tasks and make sure the world of Apple development is smooth sailing.
7
0
1.1k
Oct ’24
Project compilation error on Xcode 16 downloaded from Appstore
Hi, My project was compiling and running absolutely fine on Xcode 15.4. I upgraded to Xcode 16.0 from appstore and when I run, I'm getting following compilation error. Cleared derived data etc I have tried everything now. Can someone pls help in getting rid of this issues. Showing Recent Issues SwiftCompile normal arm64 Compiling\ DefaultValue.swift,\ Factory.swift,\ ClassHeader.swift,\ ClassMetadataLayout.swift Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2) Compiling with effective version 5.10 Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it): 0 swift-frontend 0x00000001064630fc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x0000000106461350 llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x00000001064636c8 SignalHandler(int) + 292 3 libsystem_platform.dylib 0x0000000195478184 _sigtramp + 56 4 libsystem_pthread.dylib 0x0000000195442f70 pthread_kill + 288 5 libsystem_c.dylib 0x000000019534f908 abort + 128 6 swift-frontend 0x00000001011c6bc8 createDispatchingDiagnosticConsumerIfNeeded(swift::FrontendInputsAndOutputs const&, llvm::function_ref<std::__1::unique_ptr<swift::DiagnosticConsumer, std::__1::default_deleteswift::DiagnosticConsumer> (swift::InputFile const&)>) + 0 7 swift-frontend 0x00000001063d2e80 llvm::report_fatal_error(llvm::Twine const&, bool) + 280 8 swift-frontend 0x00000001063d2d68 llvm::report_fatal_error(llvm::Twine const&, bool) + 0 9 swift-frontend 0x000000010140731c llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManagerllvm::Module>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>) + 0 10 swift-frontend 0x000000010619aa80 llvm::PassManager<llvm::Module, llvm::AnalysisManagerllvm::Module>::run(llvm::Module&, llvm::AnalysisManagerllvm::Module&) + 224 11 swift-frontend 0x00000001013fbd58 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 3764 12 swift-frontend 0x00000001013fd994 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex, llvm::GlobalVariable, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) + 2352 13 swift-frontend 0x0000000100e12c7c generateCode(swift::CompilerInstance&, llvm::StringRef, llvm::Module*, llvm::GlobalVariable*) + 368 14 swift-frontend 0x0000000100e0e114 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 2316 15 swift-frontend 0x0000000100e0cf74 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 984 16 swift-frontend 0x0000000100e10228 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1680 17 swift-frontend 0x0000000100e0ef58 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3572 18 swift-frontend 0x0000000100d9601c swift::mainEntry(int, char const**) + 3680 19 dyld 0x00000001950c0274 start + 2840 Command SwiftCompile failed with a nonzero exit code Command SwiftCompile failed with a nonzero exit code
2
0
589
Oct ’24
Frustrated by how much space in built Apple stuff like Other Users and Shared, macOS, and System data take
I bought my M2 MacBook Air in December 2022, and now, in October 2024, it's showing that I have no storage left. I have the 256GB, 8GB RAM model. My daily activities are fairly simple—primarily using Safari and Chrome for reading papers and light graphic design in Affinity Designer. However, in just a few months, my Mac has accumulated 170GB of data under "Other Users and Shared," "macOS," and "System." 170GB out of 245GB is absurd—can anyone help me clear this up?
3
0
344
Oct ’24