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

Activity

Enable Cellular Data Usage Counter - eSIM
I have two eSIMs from different providers. One shows data usage in settings>Mobile Service>Mobile Data For ……. It shows ‘Current Period‘ and ‘Roaming ‘usage for this eSIM but not the other one. I have contacted the help desk for the provider and they say it’s not enabled. I am assuming they mean they have not set it on the sims provided Or in Carrier Bundle. Is there any way of enabling this through the device using any software tool etc.?? thanks in advance
0
0
294
Jan ’25
Screen time
My screen time report says that I’m on Google an average of 24 hrs and 4 minutes a day. How is this possible? I can’t be on Google more than 10 minutes a day let alone 24 hrs. I think it’s probably tracking whatever Google does when I’m not in the app or on the cite as part of screen time, but I can’t get it to stop. Are other people having this issue? How do I stop this so I can see my real screen time?
1
0
359
Jan ’25
Turning on setVoiceProcessingEnabled bumps channel count to 5
Hi all, The use of setVoiceProcessingEnabled increases the channel count of my microphone audio from 1 to 5. This has downstream effects, because when I use AVAudioConverter to convert between PCM buffer types the output buffer contains only silence. Here is a reproduction showing the channel growth from 1 to 5: let avAudioEngine: AVAudioEngine = AVAudioEngine() let inputNode = avAudioEngine.inputNode print(inputNode.inputFormat(forBus: 0)) // Prints <AVAudioFormat 0x600002f7ada0: 1 ch, 48000 Hz, Float32> do { try inputNode.setVoiceProcessingEnabled(true) } catch { print("Could not enable voice processing \(error)") return } print(inputNode.inputFormat(forBus: 0)) // Prints <AVAudioFormat 0x600002f7b020: 5 ch, 44100 Hz, Float32, deinterleaved> If it helps, the reason I'm using setVoiceProcessingEnabled because I don't want the mic to pick up output from the speakers. Per wwdc When enabled, extra signal processing is applied on the incoming audio, and any audio that is coming from the device is taken Here is my conversion logic from the input PCM format (which in the case above is 5ch, 44.1kHZ, Float 32, deinterleaved) to the target format PCM16 with a single channel: let outputFormat = AVAudioFormat( commonFormat: .pcmFormatInt16, sampleRate: inputPCMFormat.sampleRate, channels: 1, interleaved: false ) guard let converter = AVAudioConverter( from: inputPCMFormat, to: outputFormat) else { fatalError("Demonstration") } let newLength = AVAudioFrameCount(outputFormat.sampleRate * 2.0) guard let outputBuffer = AVAudioPCMBuffer( pcmFormat: outputFormat, frameCapacity: newLength) else { fatalError("Demonstration") } outputBuffer.frameLength = newLength try! converter.convert(to: outputBuffer, from: inputBuffer) // Use the PCM16 outputBuffer The outputBuffer contains only silence. But if I comment out inputNode.setVoiceProcessingEnabled(true) in the first snippet, the outputBuffer then plays exactly how I would expect it to. So I have two questions: Why does setVoiceProcessingEnabled increase the channel count to 5? How should I convert the resulting format to a single channel PCM16 format? Thank you, Lou
2
0
587
Dec ’24
"Create Your Apple Account" Not Working
I just got a new 2024 Macbook Pro today. I finished setting it up, and I'm trying to reinstall a few apps. It told me that since I haven't used my Apple ID yet, I need to complete my Apple account. I've entered all my address information, but every time I hit continue, the boxes turn red, telling me I need to enter my information as if I never entered it in the first place. How can I fix this? I need to set this computer up before classes tomorrow.
1
0
261
Jan ’25
error 1001 no fill with facebook ads loading
Hi ! I am trying to insert interstitial ads in my app with facebook ads. I found app id, placement id and when I am running my app I have the following error : Interstitial ad failed to load with error: Error Domain=com.facebook.ads.sdk Code=1001 "No fill" UserInfo={NSLocalizedDescription=No fill, FBAdErrorDetailKey={ msg = "No fill"; }} Could you help me ?
2
0
475
Dec ’24
Enrollment Issue
“At this rate, I’m starting to get frustrated. I’ve registered for the developer program twice, but they’re still asking me for the registration fee, and my registration is not being approved. Moreover, I haven’t received any response to my emails, and since the information is limited in English, I can’t search for solutions. Could someone please take care of this issue now?”
0
0
375
Dec ’24
Apple Relationship Manager (ARM) – A Business CRM for Calls & Messages
Apple has a massive opportunity to improve iOS for business users with ARM (Apple Relationship Manager)—a built-in tool that allows professionals to log, summarize, and integrate calls & messages into CRM workflows. Many professionals (salespeople, executives, entrepreneurs) use iPhones for business, but there’s no easy way to track conversations, categorize interactions, or integrate messages with a CRM. ARM would solve this by allowing: ✅ AI-powered call summaries (users get a suggested summary after each call, which can be reviewed and tagged). ✅ iMessage/SMS tagging (users can hold down messages to assign a sentiment or create a follow-up). ✅ CRM Integration (ARM logs could sync with HubSpot, Salesforce, etc.). How ARM Would Work: • Users could tap an “ARM Accept” (green accept button with the ARM logo instead of white phone symbol) button before a call to activate AI-powered summarization. • After the call, users would review/edit the summary and log a sentiment (e.g., “Needs Follow-Up”). • In iMessage, users could long-press messages to summarize conversations and tag key interactions for both blue and green messages. • ARM would keep everything on-device, ensuring privacy and security. Since Apple Intelligence is already introducing AI-powered features, ARM could make iPhones the ultimate business communication tool while keeping everything private and secure. If you also want Apple to build this, submit feedback at Apple Feedback and comment here to show support!
1
0
176
Feb ’25
Random Apple ID Accounts
Recently, I have decided to delete all my Twitter accounts, but it turns out an Apple ID was used for one of them, I am unable to delete this account due to that fact because I do not have access to the “email” required. Twitter support says contact email provider, given that I used an Apple ID as the email, am I supposed to contact Apple support instead?
1
0
289
Feb ’25
iPhone 15 Pro’s Screen Turns Black After iOS 18.3 BETA Update
After Updating My iPhone 15 Pro To IOS 18.3 beta, 1 Day Later A Pixel seemed stuck or burnt, and then after 1 Day on 25 Dec The Screen Went Black Or Turned Off But Responded To My Touch, the reason i suppose the screen went black would be a memory glitch happening when i opened the camera from the Lock Screen or a graphica card issue if anyone can help I would appreciate it
0
0
508
Dec ’24
Crash SIGABRT and no signs of app code in stack trace
Team, I am seeing following crash with no trace of evidence to reproduce the crash. Any ideas how to reproduce this/ do potential fixes? Application Specific Information: *** Terminating app due to uncaught exception 'b'MACH_EXCEPTION_TYPE: Unknown type:999'', reason: 'b'Unknown Type:999/code:999'' Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00001d9b951d4 0x1d9b89000 + 49620 1 libsystem_c.dylib 0x0000191587ad8 0x191510000 + 490200 2 libc++abi.dylib 0x0000211b0d5b8 0x211afa000 + 79288 3 libc++abi.dylib 0x0000211afbbac 0x211afa000 + 7084 4 libobjc.A.dylib 0x0000186ae6e14 0x186ab4000 + 208404 5 libc++abi.dylib 0x0000211b0c87c 0x211afa000 + 75900 6 libc++abi.dylib 0x0000211b100ac 0x211afa000 + 90284 7 libobjc.A.dylib 0x0000186ae2650 0x186ab4000 + 190032 8 CoreFoundation 0x00001897c8934 0x189776000 + 338228 9 GraphicsServices 0x00001d57a81c4 0x1d57a7000 + 4548 10 UIKitCore 0x000018c32eeb0 0x18bf5c000 + 4009648 11 UIKitCore 0x000018c3dd5b4 0x18bf5c000 + 4724148 12 Chase 0x00001032d98e0 main + 5789920 (main.swift:29) 13 ?-?-? 0x00001af1b6ec8 0x0 + 0
1
0
304
Dec ’24
Globe key cannot switch to iOS emoji keyboard
Scenario: hardware keyboard is attached to iPhone Before iOS 18.2, if I setup only two keyboards (e.g., english and emoji) in the system, click Globe key can switch to iOS emoji keyboard without problem. Since iOS 18.2, it stop working, and emoji keyboard is never displayed. I need to add one more keyboard, then I can switch to emoji keyboard (via the keyboard selector).
0
0
177
Jan ’25
Recently used emoticons
Why can’t Apple just release a version that put the most frequent used emoticons in the most left side of the emoticons keyboard??? Each person always uses the same 20 or 30 emoticons. How this could be reported to developers? Thx
2
0
133
Feb ’25
Overnightforecast data from weatherResponse.dailyForecast.forecast array object
Background: We are using Apple WeatherKit for an app to fetch future weather data specialty cloudCover and condition and pretipitationChance from the Overnightforecast data from weatherResponse.dailyForecast.forecast array object. Code Sample: On xcode on Swift and Swift UI using Apple WeatherKit task{ do{ let weatherResponse= try await self.weatherService.forecast(for: latLong) let cloudCover = weatherResponse.dailyForecast.forecast[0].overnightforecast.cloudCover Issue: While we are on debug mode, we can literally see overnightforecast.cloudCover data (as well as condition and pretipitationChance) is available under from index 0 to index 10 of weatherResponse.dailyForecast.forecast array object but when we are trying to assign this property, its throwing error as "overnightforecast object not present under weatherResponse.dailyForecast.forecast array object" Attachment:
3
0
382
Feb ’25
Prevent iOS "Use Mobile Data" Prompt When Connected to Wi-Fi Without Internet in Flutter
I am developing a flutter app that connects the app to the boat VCU through Wi-Fi. In the iOS version of the mobile app, when the device connects to a Wi-Fi network, iOS assumes that all network traffic should route through Wi-Fi. As the connected Wi-Fi network has no internet access, iOS prompts the user with the options: "Use Mobile Data" or "Keep Trying Wi-Fi." If the user selects "Keep Trying Wi-Fi," mobile data will not be used by other apps on the phone. If the user selects "Use Mobile Data," the app switches to mobile data while remaining connected to the Wi-Fi network (VCU) without any issues. The issue is we need to find a way to prevent showing that prompt and instead handle this through code. After connecting to VCU, the mobile network is available for a few second but then it switches to wifi and no internet! I checked all the online documentation but there is not any solution for it. So, I need to stay connect to vcc and other apps use mobile data. I tried WiFiForIoTPlugin.forceWifiUsage(false); but didn't work. I tried adding delay that also didn't work. This is the function in my code that handles connecting to Wi-fI: Future connectToWifi() async { try { if (Platform.isAndroid) { isConnected = await WiFiForIoTPlugin.connect( _vesselData['ssid'], password: _vesselData['passphrase'], security: NetworkSecurity.WPA, // Enable Internet access withInternet: false, isHidden: true, timeoutInSeconds: 10, joinOnce: true, ); // Force Android to treat Wi-Fi as the primary network using await WiFiForIoTPlugin.forceWifiUsage(true); } else if (Platform.isIOS){ isConnected = await WiFiForIoTPlugin.connect( _vesselData['ssid'], password: _vesselData['passphrase'], security: NetworkSecurity.WPA, isHidden: true, timeoutInSeconds: 10, // Ensures the connection remains persistent, preventing the system from disconnecting the device. joinOnce: false, ); } if (isConnected) { log("Connected to ${_vesselData['ssid']}"); streamData(); } else { log("Failed to connect to ${_vesselData['ssid']}"); } } catch (e) { log("Error: $e"); } } I use :Device Model: iPhone 12 Pro Max iOS Version: iOS 18.3.1 Xcode Version: Xcode 16.2 Mac Version: macOS Sonoma 14.3
1
0
297
Mar ’25
Новый вид
Возможно ли сделать из iPhone мини квадрокоптер. Встроить маленькие пропеллеры , выдвижные естественно и с подвижной камерой, если это возможно ) или тогда просто неподвижной но зато летучим iPhone. На счет пульта не известно. Наверно такой телефон не будет стандартного размера, наверно как caterpillar, но я бы купил )
1
0
303
Jan ’25
Getting started with Music
Hi all, I've come here because I want to learn more about the Music app, the nuts and bolts of it. I used to know iTunes pretty well back in the iPod days, but now with iCloud Music Library and Apple Music playlists, I get lost when trying to troubleshoot issues with the app. Any suggestions as to where to start? Is there documentation breaking down which files store what? Thanks.
1
0
222
Dec ’24
Sharing data between Targets via App groups but Userdefault Container is null
Dear Apple Support Team, I am trying to shared data between two different App target. Target A is main iOS app and Target B is Intent Extension. I have create app group and utilise app group to share data between different target but when setting the user default from Target B stile getting container null. Target B UserDefault object details sharedDefaults UserDefaults 0x0000600000c05110 baseNSObject@0 NSObject kvo id 0x0 0x0000000000000000 [0] id identifier __CFString * "group.com.xxxx. xxxx" 0x0000600001704900 container __CFString * NULL 0x0000000000000000 _volatileDomainNames id 0x0 0x0000000000000000 [0] id Code snippet in Target B to setting UserDefault guard let sharedDefaults = UserDefaults(suiteName: SharedUserDefaults.suitName)else { completion(MuteIntentResponse(code: .failure, userActivity: nil)) return } ///["event": AudioCommand.mute.rawValue] sharedDefaults.set("test", forKey: SharedUserDefaults.Keys.audioCommand) let didSynchronize = sharedDefaults.synchronize() print("Intent Extension: Wrote Synchronize successful: \(didSynchronize)") guard let command = sharedDefaults.string(forKey: SharedUserDefaults.Keys.audioCommand) else { completion(MuteIntentResponse(code: .failure, userActivity: nil)) return } print("userDef \(command)") While reading UserDefault value in Target A UserDefault object details baseNSObject@0 NSObject isa Class NSUserDefaults 0x01000001efe1a8a9 kvo id 0x0 0x0000000000000000 identifier __CFString * "group.com.xxxx. xxxx” 0x0000600001782200 container __CFString * NULL 0x0000000000000000 _volatileDomainNames id 0x0 0x0000000000000000 [0] id Reading UserDefault value Code if let def = UserDefaults(suiteName: SharedUserDefaults.suitName){ print("commandInfo (def.string(forKey: SharedUserDefaults.Keys.audioCommand))") } Please let me know what I am doing wrong.
4
0
287
Feb ’25
BLE ADVERTISE
Dear Apple: The program we developed uses BLE broadcasting to discover devices. The discovered device sends three broadcasts, but when we debug the program, we found that the addresses reported by centralManager::didDiscoverPeripheral for the same device's three broadcasts are actually different CBPeripheral * addresses. I would like to ask how we can identify that these three broadcasts are from the same device? Are there any variables in the peripheral that can identify it as the same device? Thanks。
1
0
228
Feb ’25
diskutil "eraseDisk" on disk0 using terminal
Hi Apple Team & Everyone, Can someone guide me why sending 'diskutil eraseDisk APFS "WIPED" GPT /dev/disk0' command via terminal to remove/wipe the main physical drive (disk0) is failed? I tried booting into recovery mode, but it still didn’t work. The command returned the following error: Started erase on disk0 Unmounting disk The volume on disk0 couldn't be unmounted because it is in use by process 0 (kernel). Error: -69877: Couldn't open device I understand that we can use Disk Utility (GUI) to unmount and erase the drive. Is it possible to perform this operation via Terminal to erase disk0? I would appreciate any guidance on this. Regards, Winson
2
0
785
Feb ’25