Discuss hardware-specific topics related to iPhone.

Posts under iPhone tag

200 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Install Xcode iOS hard without AppleStore etc
Hey, I have programmed an app for iOS that is supposed to be just for me. This app contains data that only concerns me and should not be stored on Apple's servers. Is it possible to install the finished app on the iPhone on the Mac so that it is still on the iPhone after several months? Since the preview no longer works after a few days and that's not the right way.... Does anyone have any ideas or have I just not looked properly and there is already such an option? Best regards
2
0
715
Mar ’24
How to revert to non beta iOS 17?
Hi everyone, I seem to have a serious problem with slow data download speeds on iPhone 12 Pro. I've updated to latest iOS 17.4 beta - but still have same problem. The beta is also on other iPhone SE v2, but it's not a problem. How do i revert iPhone 12 Pro beta back to non beta version - ideally iOS 17.3.1? Appreciate any help - thanks.
3
0
953
Feb ’24
Errors when running devicectl to extract diagnostic information from iPhone
I have Xcode 15.1 and iPhone 14 with iOS 17.3. Developer mode is enabled on the iPhone. I am executing the command xcrun devicectl diagnose -k -v I encounter errors when the command is executed (Truncated some output without any errors to be within 7000 char limit) Using verbose logging. Collecting diagnostics from this machine and all nearby devices. You can restrict the list of targeted devices using --devices. This may take several minutes. 5413D57C-7CBD-4F75-94AF-E8AE7CDF2C8C: Adding device results entry for 'iPhone-7675 (iPhone 14)' iPhone-7675 (iPhone 14): Fetch DDI metadata iPhone-7675 (iPhone 14): Starting operation 'Fetch DDI metadata' iPhone-7675 (iPhone 14): Finished 'Fetch DDI metadata'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/5413D57C-7CBD-4F75-94AF-E8AE7CDF2C8C/DDIMetadata.json iPhone-7675 (Connected, iOS 17.3 21D50, 5413D57C-7CBD-4F75-94AF-E8AE7CDF2C8C): Collecting diagnostics iPhone-7675 (iPhone 14): Starting operation 'Gather network state' host: Adding host results entry for 'Host System' Host System: Starting operation 'Gather network state' Host System: Starting operation 'Gather Bonjour adverts' Host System: Starting operation 'Gather CoreDevice defaults' Host System: Starting operation 'Gather RemotePairing defaults' iPhone-7675 (iPhone 14): Gather network state: Failed to spawn binary: The specified operation is not implemented on this device. (com.apple.dt.CoreDeviceError error 1.) -------------------------------------------------------------------------------- Host System: Starting operation 'Get CoreDevice version' The operation couldn’t be completed. (CoreDevice.ActionError error 2.) NSDebugDescription = This operation cannot be performed on this device. Host System: Finished 'Gather network state'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/ifconfig.txt Host System: Starting operation 'Get default Xcode version' Host System: Starting operation 'Get path to the default Xcode install' Host System: Starting operation 'List information about all devices' Host System: Finished 'List information about all devices'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/CoreDevice-listDevices.json Host System: Starting operation 'List preferred DDIs for all platforms' Host System: Finished 'Get path to the default Xcode install'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/DefaultXcode-path.txt Unable to find preferred DDI for iOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "iOS", "NSLocalizedDescription": "Unable to find a developer disk image to use for the iOS platform (variants: Internal).", "DDIVariants": ["Internal"]]) Unable to find preferred DDI for tvOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIVariants": ["Internal"], "NSLocalizedDescription": "Unable to find a developer disk image to use for the tvOS platform (variants: Internal).", "DDIPlatform": "tvOS"]) Unable to find preferred DDI for watchOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "watchOS", "DDIVariants": ["Internal"], "NSLocalizedDescription": "Unable to find a developer disk image to use for the watchOS platform (variants: Internal)."]) Unable to find preferred DDI for macOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "macOS", "DDIVariants": ["Public"], "NSLocalizedDescription": "Unable to find a developer disk image to use for the macOS platform (variants: Public)."]) Unable to find preferred DDI for macOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "macOS", "NSLocalizedDescription": "Unable to find a developer disk image to use for the macOS platform (variants: Internal).", "DDIVariants": ["Internal"]]) Unable to find preferred DDI for visionOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "xrOS", "DDIVariants": ["Public"], "NSLocalizedDescription": "Unable to find a developer disk image to use for the xrOS platform (variants: Public)."]) Unable to find preferred DDI for visionOS platform: CoreDeviceError(errorCode: 12007, errorUserInfo: ["DDIPlatform": "xrOS", "NSLocalizedDescription": "Unable to find a developer disk image to use for the xrOS platform (variants: Internal).", "DDIVariants": ["Internal"]]) Host System: Finished 'List preferred DDIs for all platforms'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/CoreDevice-preferredDDIs.json Host System: Starting operation 'Copy the Core Device database' Copying CoreDevice database Host System: Finished 'Copy the Core Device database'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/CoreDevice-db.sqlite Host System: Starting operation 'Copy the DDI version.plists from /Library/Developer/DeveloperDiskImages' Copying DDI version.plists from /Library/Developer/DeveloperDiskImages Host System: 'Copy the DDI version.plists from /Library/Developer/DeveloperDiskImages' failed: The file “DeveloperDiskImages” couldn’t be opened because there is no such file. (NSCocoaErrorDomain error 260.) NSFilePath = /Library/Developer/DeveloperDiskImages NSURL = file:///Library/Developer/DeveloperDiskImages/ -------------------------------------------------------------------------------- The operation couldn’t be completed. No such file or directory (NSPOSIXErrorDomain error 2.) <TRUNCATED> Effective timeout: 3600, remainingTime: 3596, will wait: 3536 seconds Waiting for 1/14 tasks to finish… Pending operations: - Host System: Gather Bonjour adverts Host System: Finished 'Gather Bonjour adverts'. Results at /private/var/folders/zf/3p2mcxsx6tj36w19yfthy81jxrfr_j/T/TemporaryItems/NSIRD_devicectl_Hohg2i/devicectl_diagnose_2024_02_20.14-44-05/host/dns-sd.txt Wrote file to /tmp/devicectl_diagnose_2024_02_20.14-44-05.zip Setting diagnostics destination to '/tmp/devicectl_diagnose_2024_02_20.14-44-05.zip' Captured diagnostics do not include a host sysdiagnose. Please capture one separately. Captured diagnostics do not include a sysdiagnose from any device. Please capture one if relevant to your issue. Command Completed, took 6.333 seconds How to resolve these errors. Additionally I am also not able to see the crash logs in the Xcode, when I go into Windows > Devices and Simulators > Open Recent Logs Thanks!
0
0
375
Feb ’24
Retrieving crash logs from iPhone programatically
I am trying to retrieve the crash logs from the iPhone programatically. The use case is, we are testing many different apps on an iPhone as part of the CI/CD process. As part to this CI/CD process, when an app crashes, we want to retrieve the crash logs from the iPhone and send a notification to the development team with the crash log. So is there a way to extract the crash logs programatically. Also what is the naming convention for a crash log file that is created in an iPhone. Thanks!
0
0
261
Feb ’24
Add eSIM - 'Open Photos' option missing
Hi, would like to check what are the conditions for the 'Open Photos' option to appear under 'Settings' &gt; 'Mobile Service' &gt; 'add eSIM'. It was available previously roughly a few weeks ago but now it is missing. I have cross-checked this with friends and colleagues who are on &gt;iOS 17 and some have that option available. Personally using iOS 17.4. Screenshot below.
4
0
565
Feb ’24
"This phone number is already in use with another account"
Id apple phone number "This phone number is already in use with another account" I have recently purchased an iPhone and I can not add my phone number to my Apple ID, in fact, it tells me that my number is already in use in another Apple ID account. Since I had already created an Apple ID many years ago, I was able to access it and request the deletion of the old account so that I could later enter my phone number into the new Apple ID. The problem is that the error persists, not allowing me to use iMessage and FaceTime. What can I do? Thanks for your attention. [Personal Information Edited by Moderator]
0
0
281
Feb ’24
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 for for share button
Hello, I have very simple code for share button ============================================= @IBAction func shareButtonTapped() { let textToShare = "some text here" let cafeURL = URL(string: "https://example.com")! let activityViewController = UIActivityViewController(activityItems: [textToShare, cafeURL], applicationActivities: nil) // for iPad if let popoverController = activityViewController.popoverPresentationController { popoverController.sourceView = self.view } DispatchQueue.main.async { self.present(activityViewController, animated: true, completion: nil) } } ========================================== but after tapping on that button I have this logs in console Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.runningboard.primitiveattribute AND originator doesn't have entitlement com.apple.runningboard.assertions.frontboard AND target is not running or doesn't have entitlement com.apple.runningboard.trustedtarget AND Target not hosted by originator)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.primitiveattribute AND originator doesn't have entitlement com.apple.runningboard.assertions.frontboard AND target is not running or doesn't have entitlement com.apple.runningboard.trustedtarget AND Target not hosted by originator)}> (501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction.} Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port connection invalidated But on real device sharescreen is appearing and all works fine. Anyone know how fix this issue with log errors? Thanks!
0
0
903
Feb ’24
Smart Banner Help
Hello, I am looking for help with displaying Smart Banners on mobile devices. What is the preferred coding that can have Smart Banners appear on all devices? I am having an issue where an Smart Banner is not properly functioning as I would like it to. I would like the CTA (Call-To-Action) to be positioned on the top of a mobile screen. If a user has the mobile app already, it should read OPEN and opens into the app when it is clicked. If the user does not have the app, it should read GET and take a user to the mobile app store when it is clicked.
0
0
432
Feb ’24
IOs simulator Vs my personal iPhone
hi everyone does anyone understand this issues below ? What to do or change in my code when this appear my code is over more than 20 swift file I don't know which one to share lol dyld[1060]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn Referenced from: /private/var/containers/Bundle/Application/ACD0F0D4-CAF4-4101-BFC0-3990E29F316E/MyPmV1.app/MyPmV1 Expected in: /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport
3
0
384
Feb ’24
Does IOS App Cache is Deleted after updating from App Store?
i had a version 0.3.0 on App Store and then i released a new version with a lot more modules and features turning my app to 1.1.0 version, as the first users started to download the app i could see that some of them who had de app installed for long time ago, were still looking at the Style (Design) and Business logic from version 0.3.0. In a couple of hours or maybe less than an hour, those same users were able to see the new modules and features from the new version (1.1.0) My questions are: Was there a possibility in where those users were looking at some kind of cache version of my app during the first minutes of being updated? Does IOS caches any libraries, dependencies or code-related resources, making my users see the old version for a moment, even tho they just updated it? Cheers!
0
0
377
Feb ’24
Action Extension works on iPhone but not on iPad
There is an application on iPhone. The Action Extension is used, it works great on the iPhone, but when you add Destination = iPad, the application starts, works, but the extension does not work. Error: -[_EXSinkLoadOperator loadItemForTypeIdentifier:completionHandler:expectedValueClass:options:] nil expectedValueClass allowing {( NSURL, NSDictionary _EXItemProviderSandboxedResource, NSUUID, NSDate, NSArray, NSData, NSString, NSNumber NSError UIImage, NSValue )} The error occurs here: if itemProvider.hasItemConformingToTypeIdentifier(typeImage) { itemProvider.loadItem(forTypeIdentifier: typeImage, options: nil) { item, error in Doesn't work on a real device, works on simulators. iOS 17.2, XCode 15.2. On simulator first time the extension works and opens the main app, but on the second attempt the main app is not called (after selecting the extension, the image is kinda shadowed and then the shadow disappears). On simulator tested with iPad 6, iPad 9, iPad 10, iPad Air 6. On real iPad 6 does not work at all.
1
0
542
Feb ’24
Switching Personal Account to Company Account
Hi everyone, I had a personal app store console account in back 2019 and the membership was expired after 12 months and now I have a registered business in India and want to publish our mobile app on iOS store for our users. So, should I renew the old membership and can I change the developer name to business name as I don't want to show my personal name with the apps. Is it possible? Can I transfer the ownership to the business email? Can I rename the console account only?
1
0
1.1k
Feb ’24