I need help I dont know how to get this API key to work
Apple Developers
RSS for tagThis 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.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
How to Check Apple Development, iCloud ,Apple ID or Apple Account got some criminal act with Old Business Partners System and Fake reality shows to Stole my system Identity and Money. Can hear the sounds from up area in the air! and the accents and contenxt very bad behavior act! i tried to stop them on 2022, I know who they are, they **** up the reality bank , hospital ,apartment fire and lobby packages systems. and they got seriously damaged the other contries and humans body healthy system! and all my creations works.
Hi everyone,
Our Apple Developer account (ID/Email: [*****]) was suddenly disabled, showing "Terminated" status in the backend, but we received no violation notice via email. Current issues:
Context:
Last operation before termination: "App submission"
No warning emails or policy violation details received (checked spam folder)
Attempted Solutions:
Submitted appeal via Developer Support Page, no response yet
Reviewed all apps against 《App Store Review Guidelines》, no obvious violations found
Questions:
Are there alternative ways to contact Apple support directly?
What are common causes for such terminations (e.g., payment issues, account association risks)?
Should we create a new account, or is reinstatement possible?
Note: Sensitive details redacted. Will provide more info if needed. Thanks for any advice!
Topic:
Community
SubTopic:
Apple Developers
On my first attempt at adding iCloud to my existing app this is how far I've gotten. For reasons that I won't go into, the use case for my app does not need coordination. I have successfully made my app write a file to the Documents directory of iCloud and read back that same file without errors. In testing on a real iPhone 13 and iPhone 7 I have verified that my app can write a file to iCloud from the iPhone 7 and then read back that same file on the iPhone 13, so I know that the file truly exists in the cloud. But when I make my app on the iPhone 13 write to iCloud, my app on the iPhone 7 says the file does not exist. Exactly the same build of my app is running in both phones. This is problem #1. Problem #2 is that none of these files appear in the iCloud section of the Files app on either of these Phones, nor do they appear in the iCloud section of my Mac. All devices are signed in to my same Apple account in iCloud. Also my info.plist file in the app contains:
<key>NSUbiquitousContainers</key>
<dict>
<dict>
<key>iCloud.com.{my domain}.{my app}</key>
<dict>
<key>NSUbiquitousContainerIsDocumentScopePublic</key>
<true/>
<key>NSUbiquitousContainerSupportedFolderLevels</key>
<string>Any</string>
<key>NSUbiquitousContainerName</key>
<string>{my app}</string>
</dict>
</dict>
</dict>
<key>UIFileSharingEnabled</key><true/>
The iPhone 7 is running iOS 15.8.4 and the iPhone 13 is running iOS 18.3.2.
The code that does the writing to iCloud is:
NSFileManager *fman = [NSFileManager defaultManager];
NSURL *urlDrive = [fman URLForUbiquityContainerIdentifier: nil];
NSURL *urlDocs = [urlDrive URLByAppendingPathComponent:@"Documents"];
if(urlDocs.path == nil) {
NSLog(@"NULL path");
return; //..big problem
}
if( ! [fman fileExistsAtPath: urlDocs.path] ) { //..need to create the Docs directory
NSError *err00 = nil;
@try {
[fman createDirectoryAtURL: urlDocs withIntermediateDirectories:true
attributes:nil error:&err00];
NSLog(@"created the directory");
} @catch (NSException *except) {
NSLog(@"Exception creating directory %@", except);
}
} //..directory is now created
NSLog(@"url=%@", urlDocs);
NSURL *urlFile = [urlDocs URLByAppendingPathComponent:txtfname()];
NSData *fdata = [@"Hello world" dataUsingEncoding: NSUTF8StringEncoding];
NSLog(@"file url=%@", urlFile);
NSLog(@"file Data=%@", fdata);
NSError *errorReturn = nil;
Boolean ret = [fdata writeToURL: urlFile options: NSDataWritingAtomic error: &errorReturn];
NSLog(@"returned %1d, error=%@", ret?1:0, errorReturn);
And the code that does the reading is:
NSFileManager *fman = [NSFileManager defaultManager];
NSURL *urlDrive = [fman URLForUbiquityContainerIdentifier: nil];
NSURL *urlDocs = [urlDrive URLByAppendingPathComponent:@"Documents"];
NSLog(@"url=%@", urlDocs);
if(urlDocs.path == nil) {
NSLog(@"urlDocs.path is NULL!");
return; //..big problem
}
if( ! [fman fileExistsAtPath: urlDocs.path] ) { //..need to create the Docs directory
NSLog(@"It seems the urlDocs folder does not exist");
}
NSURL *urlFile = [urlDocs URLByAppendingPathComponent:txtfname()];
if([fman fileExistsAtPath: urlFile.path]) {
NSLog(@"file %@ exists", urlFile);
[fman copyItemAtURL: urlFile toURL:<#(nonnull NSURL *)#> error:<#(NSError *__autoreleasing _Nullable * _Nullable)#>];
} else {
NSLog(@"file %@ DOES NOT EXIST!", urlFile);
}
iOS 18 System Bug Causes URL Scheme Failure
A bug in iOS 18 causes URL Schemes to become invalid through the following steps, resulting in failure to open apps via URL Scheme.
Reproduction Steps:
Long-press the app icon
Select "Require Face ID"
Choose "Hide and Require Face ID" to hide the app
Go to the App Library and locate the hidden app in the "Hidden" folder
Uninstall the hidden app
reinstalling the hidden app
After reinstalling the app, all configured URL Schemes will become invalid, causing failure when attempting to open the app via URL Scheme.
The issue appears to be that after uninstalling a hidden app and reinstalling it, the system fails to restore the app's URL Scheme functionality.
Topic:
Community
SubTopic:
Apple Developers
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
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!
Hello all.
I am currently developing a database app of particular products for people who collect this item. Let's say model airplanes. People can look at their list of model airplanes and also see a collection of airplanes by model companies.
I want to offer a link from a product in my app to a local retailer's website who sells this product on their website. Not just their base site, but directly to the products page. Meaning each product in my database will have a unique link to an external product page. This could also include links to Ebay or Amazon if local retailer doesn't sell the product.
Is this sort of feature allowed inside App Store Apps as technically it's not an in-app purchase? I do see some vague answers around but none that target this specific circumstance.
Thankyou in advance.
Topic:
Community
SubTopic:
Apple Developers
After updating to another beta of High Sierra, my internal hard drive became read-only somehow. I have a user home directory on that and many things have stopped working. I tried re-installing the OS, but it didn't help. I'm out of options by now. Anyone has ideas how can I fix that?
Since running 18.4 beta 3 my phone doesn’t stop charging at its pre determining %
it’s set at 80% and until now has always held at that percentage but since installing beta 3 it’s gone to 100% and held at that when charging overnight
anyone else experiencing this?
I would like to inquire about an error that has started occurring while debugging AppStore billing. (In sandbox environment)
This error occurs after entering a password and completing the purchase process, and in this case, no completion alert appears. The error doesn't seem to depend on the purchase item, sandbox account, or device, and shows unstable behavior - sometimes succeeding and sometimes failing.
Additionally, this error started occurring after special debugging where the network was disconnected during the purchase process. Moreover, the same error occurs in the TestFlight version of our already released normal (supposedly) version.
I think this might be a sandbox-specific error where the system has temporarily become unstable, but what do you think? If so, how can I resolve this issue?
I would appreciate your insights on the cause and appropriate response.
Error details below:
<SKPaymentQueue: 0x283b3d070>: Payment completed with error: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x28364d770 {Error Domain=AMSErrorDomain Code=305 "Purchase Failed" UserInfo={NSLocalizedDescription=Purchase Failed, AMSStatusCode=200, AMSServerPayload={
"cancel-purchase-batch" = 1;
customerMessage = "Unauthorized_message";
failureType = "";
"m-allowed" = 0;
pings = (
);
}, NSLocalizedFailureReason=Server canceled the purchase}}, storefront-country-code=JPN, client-environment-type=Sandbox}
I need your help, my pass is window 11, Lenovo laptop and I have 6gb and 512gb storage and I have to run export on us through virtual machine because I have pass membership to run display on I can use it in a window 11 laptop....
thank you 🙏🏻
Yours faithfully
Akansha
There appears to be a bug or a hidden feature where after sending a message in Messages and you hover over or touch near the back button in the top left, voice memo activates and starts recording. This is an unexpected behavior and it has been an issue going back several iOS releases to the current release. This has happened on various phone models, so it isn't limited to a specific model.
In addition, (and yes, this does add a second bug/issue) there is a hidden feature where touching in the top left of a message thread, above the back button, causes the focus of the message thread to jump back to some texts/messages from an earlier time. This is unexpected and seems like it should be addressed.
14Pro can not delete any application after upgrade system18.4
I have an app that was written in UIKit. It's too large, and it would be much too time consuming at this point to convert it to SwiftUI.
I want to incorporate the new limited contacts into this app. The way it's currently written everything works fine except for showing the limited contacts in the contact picker.
I have downloaded and gone though the Apple tutorial app but I'm having trouble thinking it through into UIKit. After a couple of hours I decided I need help.
I understand I need to pull the contact IDs of the contacts that are in the limited contacts list. Not sure how to do that or how to get it to display in the picker. Any help would be greatly appreciated.
func requestAccess(completionHandler: @escaping (_ accessGranted: Bool) -> Void)
{
switch CNContactStore.authorizationStatus(for: .contacts)
{
case .authorized:
completionHandler(true)
case .denied:
showSettingsAlert(completionHandler)
case .restricted, .notDetermined:
CNContactStore().requestAccess(for: .contacts) { granted, error in
if granted
{
completionHandler(true)
} else {
DispatchQueue.main.async { [weak self] in
self?.showSettingsAlert(completionHandler)
}
}
}
// iOS 18 only
case .limited:
completionHandler(true)
@unknown default: break
}
}
// A text field that displays the name of the chosen contact
@IBAction func contact_Fld_Tapped(_ sender: TextField_Designable)
{
sender.resignFirstResponder()
// The contact ID that is saved to the Db
getTheCurrentContactID()
let theAlert = UIAlertController(title: K.Titles.chooseAContact, message: nil, preferredStyle: .actionSheet)
// Create a new contact
let addContact = UIAlertAction(title: K.Titles.newContact, style: .default) { [weak self] _ in
self?.requestAccess { _ in
let openContact = CNContact()
let vc = CNContactViewController(forNewContact: openContact)
vc.delegate = self // this delegate CNContactViewControllerDelegate
DispatchQueue.main.async {
self?.present(UINavigationController(rootViewController: vc), animated: true)
}
}
}
let getContact = UIAlertAction(title: K.Titles.fromContacts, style: .default) { [weak self] _ in
self?.requestAccess { _ in
self?.contactPicker.delegate = self
DispatchQueue.main.async {
self?.present(self!.contactPicker, animated: true)
}
}
}
let editBtn = UIAlertAction(title: K.Titles.editContact, style: .default) { [weak self] _ in
self?.requestAccess { _ in
let store = CNContactStore()
var vc = CNContactViewController()
do {
let descriptor = CNContactViewController.descriptorForRequiredKeys()
let editContact = try store.unifiedContact(withIdentifier: self!.oldContactID, keysToFetch: [descriptor])
vc = CNContactViewController(for: editContact)
} catch {
print("Getting contact to edit failed: \(self!.VC_String) \(error)")
}
vc.delegate = self // delegate for CNContactViewControllerDelegate
self?.navigationController?.isNavigationBarHidden = false
self?.navigationController?.navigationItem.hidesBackButton = false
self?.navigationController?.pushViewController(vc, animated: true)
}
}
let cancel = UIAlertAction(title: K.Titles.cancel, style: .cancel) { _ in }
if oldContactID.isEmpty
{
editBtn.isEnabled = false
}
theAlert.addAction(getContact) // Select from contacts
theAlert.addAction(addContact) // Create new contact
theAlert.addAction(editBtn) // Edit this contact
theAlert.addAction(cancel)
let popOver = theAlert.popoverPresentationController
popOver?.sourceView = sender
popOver?.sourceRect = sender.bounds
popOver?.permittedArrowDirections = .any
present(theAlert,animated: true)
}
func requestAccess(completionHandler: @escaping (_ accessGranted: Bool) -> Void)
{
switch CNContactStore.authorizationStatus(for: .contacts)
{
case .authorized:
completionHandler(true)
case .denied:
showSettingsAlert(completionHandler)
case .restricted, .notDetermined:
CNContactStore().requestAccess(for: .contacts) { granted, error in
if granted
{
completionHandler(true)
} else {
DispatchQueue.main.async { [weak self] in
self?.showSettingsAlert(completionHandler)
}
}
}
// iOS 18 only
case .limited:
completionHandler(true)
@unknown default: break
}
}
// MARK: - Contact Picker Delegate
extension AddEdit_Quote_VC: CNContactPickerDelegate
{
func contactPicker(_ picker: CNContactPickerViewController, didSelect contact: CNContact)
{
selectedContactID = contact.identifier
let company: String = contact.organizationName
let companyText = company == "" ? K.Titles.noCompanyName : contact.organizationName
contactNameFld_Outlet.text = CNContactFormatter.string(from: contact, style: .fullName)!
companyFld_Outlet.text = companyText
save_Array[0] = K.AppFacing.true_App
setSaveBtn_AEQuote()
}
}
extension AddEdit_Quote_VC: CNContactViewControllerDelegate
{
func contactViewController(_ viewController: CNContactViewController, shouldPerformDefaultActionFor property: CNContactProperty) -> Bool
{
return false
}
func contactViewController(_ viewController: CNContactViewController, didCompleteWith contact: CNContact?)
{
selectedContactID = contact?.identifier ?? ""
if selectedContactID != ""
{
let company: String = contact?.organizationName ?? ""
let companyText = company == "" ? K.Titles.noCompanyName : contact!.organizationName
contactNameFld_Outlet.text = CNContactFormatter.string(from: contact!, style: .fullName)
companyFld_Outlet.text = companyText
getTheCurrentContactID()
if selectedContactID != oldContactID
{
save_Array[0] = K.AppFacing.true_App
setSaveBtn_AEQuote()
}
}
dismiss(animated: true, completion: nil)
}
}
Hello,
While we are uploading our App in TestFlight for external testing then after 1 minute we are getting invalid binary issue. Issues have been mentioned below.
ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/Capacitor.framework/Capacitor”, which includes Capacitor, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements.
ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/Cordova.framework/Cordova”, which includes Cordova, an SDK that was identified in the documentation as a commonly used third-party SDK. If a new app includes a commonly used third-party SDK, or an app update adds a new commonly used third-party SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements.
we are using ionic6 with capacitor 4. We are using camera , location, calendar , push notification with firebase.
How to resolve it?
Topic:
Community
SubTopic:
Apple Developers
I encountered some issues while developing a Vision Pro program using Unity. After binding an ARAnchor to a game object, I overlapped the virtual game object with a real-world cup. However, when I moved around with the Vision Pro on, the virtual game object shifted, causing the real-world cup and the virtual object to no longer coincide. Is there a way to solve this?
I’d like to create a button on my iPhone Home Screen that changes settings if I am using an external lens mounted to my phone.
This is what I have along with notes on what I hope to do. But it does not work. I am only able to open either the camera settings or the camera preserve settings but nothing will toggle macro controls.
There is an additional step within the camera app as well but it can be skipped for brevity.
Name: Telephoto and macro lenses
Check if macro settings are already enabled or not. (Settings > Camera > Macro Control toggle) as well as (Settings > Camera > Preserve Settings > Macro Control toggle)
Non-working shortcut code:
Verification question: "Are you using an external lens?"
If yes,
Notification: "Turning on Macro Control and preserve settings for macro control." (Run below immediately)
prefs:root=CAMERA&path=Turn%20On%20Macro_Control
And
prefs:root=CAMERA&path=CameraPreserveSettingsSwitch&path=Turn%20On%20Macro_Control
If no,
Notification: "Turning off Macro Control and Preserve Settings for macro control." (Run below immediately)
prefs:root=CAMERA&path=Turn%20Off%20Macro_Control
And
prefs:root=CAMERA&path=CameraPreserveSettingsSwitch&path=Turn%20Off%20Macro_Control
Dear Apple:
After upgrading to version 26 of the iPhone, when broadcasting using the local name, the iPhone 15 Pro Max was truncated to iPhone 15 Pro Ma with a type of 08 (shortened), but the overall length of the broadcast did not exceed 31 bytes
Is anyone else having trouble posting to the forums? I can't get past form validation.
Topic:
Community
SubTopic:
Apple Developers