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

No such module 'UnityFramework' ,Getting this message updating Xcode to latest version
After the update of the Xcode to latest version, I’m getting “No Such Module Unity Framework” as error. the complete information is below. I had to update the Xcode and the O.S as per the Apple Requirement from my older version of 14.x to latest 16.3. I had no issued running the Unity within my iOS App till the recent update. Previous Setup: Unity was successfully integrated into this iOS app and running fine before the update. As it was working till the Xcode version 14.3, i have not changed any code relevant to Unity. What I’ve Tried: a. Added UnityFramework.framework to “Link Binary with Libraries” and marked it as “Embed & Sign”. b. Verified Framework Search Paths include $(PROJECT_DIR)/UnityProject/build/Debug-iphoneos c. Cleaned build folder, deleted Derived Data d. Checked [CP] Embed Pods Frameworks step in Build Phases Stuck On: Xcode still throws "No such module 'UnityFramework'" — it’s as if the framework isn’t being built or seen from my main project. Request for Help: Has anyone encountered this issue post-Xcode 16.3 update from 14.x. I’d really appreciate any guidance, updated workflows, or even a checklist of steps for properly integrating Unity into an existing iOS app with the new Xcode build system.
0
0
90
May ’25
MDM Behind Nginx SSL Cert Issue
I'm trying to make my own MDM server and I'm having trouble allowing nginx to proxy the connection. The web app I'm making can accept http requests so I require nginx. I'm using a certificate from letsencrypt. Every time I try to enroll a phone it instantly rejects at nginx. I have tried multiple cipher options in nginx. I found the following link and my cert supports all except the DHE ones but they say you only need 1. (https://developer.apple.com/forums/thread/128482?answerId=404052022#404052022) What else can I do? 2025/05/21 14:39:44 [info] 105709#105709: *2887 peer closed connection in SSL handshake while SSL handshaking, client: 27.32.155.108, server: 0.0.0.0:9234 2025/05/21 14:41:42 [info] 106014#106014: *2891 peer closed connection in SSL handshake while SSL handshaking, client: 27.32.155.108, server: 0.0.0.0:9234 2025/05/21 14:42:32 [info] 106134#106134: *89 peer closed connection in SSL handshake while SSL handshaking, client: 27.32.155.108, server: 0.0.0.0:9234 2025/05/21 15:09:13 [info] 106132#106132: *124 client timed out (110: Connection timed out) while waiting for request, client: 172.40.1.61, server: 0.0.0.0:9234 below from ssllabs.com upstream backendmdmios { server 172.40.1.61:6744; } server { listen 9234 ssl; http2 on; server_name mdm.domainplaceholder.com; error_log /etc/nginx/logs/ios.com.error.log debug; # error; ssl_certificate /etc/letsencrypt/live/mdm.domainplaceholder.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/mdm.domainplaceholder.com/privkey.pem; ssl_protocols TLSv1.2 TLSv1.3; #ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-CBC-SHA256:ECDHE-RSA-AES128-CBC-SHA:ECDHE-RSA-AES256-GCM-SHA384; #ssl_ciphers TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305; #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #ssl_ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4:!3DES:!CAMELLIA; ssl_prefer_server_ciphers on; ssl_dhparam /etc/nginx/dhparams.pem; location / { proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://backendmdmios$request_uri; } }
5
0
104
Jun ’25
IOS 26,BLE Localname is truncated to 6 bytes
When I startAdvertising, my localName is long,Will not be truncated and the type is 0X09; self.advertisementData = @{CBAdvertisementDataLocalNameKey: localDevName, CBAdvertisementDataServiceUUIDsKey: @[[CBUUID UUIDWithString:serviceUUID]] }; [self.peripheralManager startAdvertising:self.advertisementData]; IOS 18.5: The service uuids in ADV_IND occupies 24 bytes, the local name in SCAN_RESP is 20 bytes in size and has not been truncated, and there is no manufacturer specific data in SCAN_RESP;You can view the following image: But in IOS26, why is the local name truncated to only 6 bytes for the same message, and why does SCAN_RESP always contain Manufacturer Specific Data; Why is there such a big difference, and what changes has iOS 26 made for broadcasting? Is it necessary to include Manufacturer Specific Data in the IOS 26 SCAN.RESP message? What documents are available for reference? Is there any way to ensure that the local name is not truncated? Is there a maximum length limit Are there other ways to broadcast longer data? Does anyone know why? thank
1
0
185
Jun ’25
CoreData error: SQLCore dispatchRequest: no such table: ZAPPSETTINGS. I/O error opening
Issue with SwiftData: “no such table: ZAPPSETTINGS” and SQLite I/O error on app launch Hello, I’m encountering persistent errors with SwiftData in my SwiftUI app related to Core Data’s underlying SQLite database. Despite defining my models correctly, the app fails to initialize the persistent store, throwing the following error on startup: CoreData error: SQLCore dispatchRequest: no such table: ZAPPSETTINGS. I/O error opening database at /.../default.store. SQLite error code:1, NSSQLiteErrorDomain=1. File “default.store” couldn’t be opened. Context The error only appears concerning my AppSettings model. I have another model, LocationPoint, which appears correctly defined and used. I have tried deleting the app, resetting the device, and cleaning builds but the error persists. The error message suggests the database file is present but the table for ZAPPSETTINGS (the Core Data table for AppSettings) does not exist. Code Samples Main App Entry import SwiftData import SwiftUI @main struct Krow3_0App: App { @State private var userLocationManager = UserLocationManager() @State private var geocodingViewModel = GeocodingViewModel() @State private var locationSearchViewModel = LocationSearchViewModel() @State private var router = Router() var body: some Scene { WindowGroup { LaunchView() .environment(userLocationManager) .environment(geocodingViewModel) .environment(locationSearchViewModel) .environment(router) .modelContainer(for: [LocationPoint.self, AppSettings.self]) } } } AppSettings Model import Foundation import SwiftData @Model class AppSettings { var isMetric: Bool init(isMetric: Bool = false) { self.isMetric = isMetric } } What I’ve Tried Fully uninstalling and reinstalling the app on device and simulator. Resetting the simulator/device. Cleaning the Xcode build folder. Verifying the schema logs which correctly list both LocationPoint and AppSettings. Changing model names to avoid potential conflicts. Adding .modelContainer configuration with autosave enabled. Questions Is there a known bug or limitation with SwiftData concerning certain model setups or naming? Could this be related to how the data container initializes or migrates schemas? Are there recommended debugging or migration steps to resolve “no such table” SQLite errors with SwiftData? How can I safely reset or migrate the persistent store without corrupting the database? Any insights or suggestions would be greatly appreciated! Thank you!
1
0
119
May ’25
iOS RN app crashing with NSInvalidArgumentException
I am facing iOS app crash on app start, below is stack trace of crashed thread OS Version: iOS 18.3.2 (22D82) Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Crashed Thread: 28 Application Specific Information: *** -[__NSDictionaryM setObject:forKey:]: key cannot be nil Thread 28 Crashed: 0 CoreFoundation 0x323b575fc 1 libobjc.A.dylib 0x31e649244 objc_exception_throw 2 CoreFoundation 0x323b3f224 3 libloader 0x10651eba4 4 libloader 0x10653f3b4 5 libdispatch.dylib 0x3336a8248 6 libdispatch.dylib 0x3336a9fa8 7 libdispatch.dylib 0x3336b15cc 8 libdispatch.dylib 0x3336b2124 9 libdispatch.dylib 0x3336bd38c 10 libdispatch.dylib 0x3336bcbd8 11 libsystem_pthread.dylib 0x43965d680 _pthread_wqthread 12 libsystem_pthread.dylib 0x43965b474 start_wqthread
1
0
90
Apr ’25
Clearing an app’s memory, data etc.
My app works perfectly the first time it is used but when returning to the start after playing the game and playing another it does some random things. I figure it is because the app still retains the previous game in it’s memory allocation? My question is, what is the best way programmatically to have an app start fresh and not have to quit it and open it again?
6
0
203
May ’25
iOS 26 beta bricked iPhone 16 pro max
Hello, I downloaded the iOS 26 beta update on my iPhone 16 pro max and it bricked my device. After the download was installed the phone never turned on and when I tried to power it on, the charging battery logo came out but the battery was at 97% when the update was finish. I tried to soft reset the phone and several things go power on the device and nothing happened. finally, i took it to the Apple Store today in the morning and they will send out the phone for repairs Which mean they will probably change the entire phones software.
1
0
140
Jun ’25
Some questions about custom email domain names with iCloud+ Mail
In the actual development, I found that I could not complete the setting of my icloud+ customised email domain name SMTP. I tried to configure the SMTP of iCloud custom email according to Apple's document (https://support.apple.com/en-us/102525) but the error I looked through Apple's support file, but I didn't find the specific configuration of iCloud + customised email SMTP.
0
0
155
May ’25
Apple Music Preview URLs from MusicKit
Hey guys, I've been searching high and low for some clarity when it comes to this topic. Essentially, what is the legality/risk of using apple music previews in my app. Does Apple license the previews meaning they are fair to use as long as I link to that URL? Do i need to license every song individually? I can not find anything concrete out and while the apple team let my app (that currently plays preview urls) on the app store I know that doesn't necessarily legally cover me. Any input is appreciated, i know this is a pretty niche area.
0
0
105
Jun ’25
IOS 26 , bugs?
updated my iPhone 15 to iOS 26 last night and now when I put the alert slider on silent, my notifications won’t vibrate. Even after checking all settings in sounds and haptics to be correct, it still isn't vibrating on silent. Also the apple music search bar is a little flimsy? Merging the text and microphone options
0
0
136
Jun ’25
Apple Developer Program
Hi everyone, It’s been almost three weeks, and I’m still waiting for a reply about my subscription to the Apple Developer Program, but I haven’t received anything. I replied to the email three days ago and got no response. I tried again by requesting the subscription two days ago, but all I received was an automated message saying they would reply within two business days. What I did: I went to my Apple Developer account, clicked on Subscriptions, and entered my card details. They sent me an email saying they are preparing my order, but nothing else. Has anyone else had the same issue with Apple Developer support? Regards,
2
0
129
Jun ’25
CarPlay music sound output from iPhone after enabled Enhanced Siri
With CarPlay communication plugin R18.1, I followed these steps to integrate Enhance siri, the music sound was output from carplay and there is no option for output to Car. ============================================ Enhanced Siri Declare supported audioFormats for the AuxIn and AuxOut streams Since the AuxIn and AuxOut streams for Siri do not have to be both active at the same time, the accessory must claim audio formats support for AuxIn Audio and AuxOut audio independently. The audio formats for each stream can differ from each other (48KHz for AuxOut and 16KHz for AuxIn). The new audio types represent these new streams - AuxIn/speechRecognition & AuxOut/speechRecognition. Check if connected device supports the feature AirPlayReceiverSessionHasFeatureEnhancedSiri() Claim support in the Setup Response message if device supports the feature Add kAirPlayKeyAccessoryEnabledFeature_EnhancedSiri key through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f function for the kAirPlayKey_AccessoryEnabledFeatures key. Helper function: CFArrayAppendValue() Add Enhanced Siri parameters dictionary in the INFO message Add dictionary through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f function for the kAirPlayKey_EnhancedSiriInfo key. kAirPlayKey_EnhancedSiriInfo dictionary parameters: Voice activation of Siri - kAirPlayKey_EnhancedSiriVoice Current language of voice model - kAirPlayKey_VoiceModelCurrentLanguage Supported languages of voice model - kAirPlayKey_VoiceModelSupportedLanguages Enhanced Button activation of Siri - kAirPlayKey_EnhancedSiriButton Supported zone(s) if any - kAirPlayKey_SupportedSiriTriggerZones Update AudioStream Get state of the AuxIn state by providing an implementation of AudioStreamUpdateState() - Off, local buffering, or streaming to device. Decouple input streams from output streams. AuxIn is an independent input stream only. The property kAudioStreamProperty_Direction will provide the necessary information if the stream is input, output or input & output. Provide a handler for the AirPlayReceiverSessionDelegate setEnhancedSiriParams_f This will provide additional information: Activation type Setting the language of the voice model Invoke the Communication Plugin to start buffering Once the activation type has been specified, the accessory can request the plugin to start buffering using AirPlayReceiverSessionAuxInStart(). Use the new APIs to trigger Siri: AirPlayReceiverSessionRequestSiriActionWithLatency() AirPlayReceiverSessionRequestSiriVoiceActivationWithLatency() AirPlayReceiverSessionRequestSiriVoiceActivationWithSample() Button presses and voice activations should use this new APIs which adds a timestamp of the activation. These APIs allow a choice of a latency or a sample for button and voice activations. If there is a delay between the user pressing the button to notifying the device on the button press, this latency value should represent this time. If the accessory can determine which zone activated, it can provide the zone with the request. Invoke the Communication Plugin to stop buffering You may need to invoke the plugin to stop buffering (AirPlayReceiverSessionAuxInStop()) if exclusive access to the microphone is necessary. Such instances may include but not limited to: Native voice recognition session Telephony Another stream function which uses the microphone starts modesChanged notification can be used to determine if a resource is being used Note, if the session ends, the plugin will automatically stop buffering
0
0
298
Mar ’25