Discuss hardware-specific topics related to iPhone.

Posts under iPhone tag

200 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

App's Location, Camera, and Microphone Permissions Missing from Settings
Hello, I am currently developing an app using React Native. The app requires the following permissions: location sharing, camera access, photo library access (write and usage), and microphone access. I have listed all the necessary permissions in the Info.plist file. Until two days ago, everything was working perfectly. However, since then, the location, camera, and microphone permissions have disappeared from the App's Settings page. The photo library permission remains intact. I have not encountered any errors in the Xcode build, and there are no notable differences in the logs. I have tried the following troubleshooting steps: Deleted and reinstalled the app. Removed and re-added the permissions in the Info.plist file, including testing the photo library permission which works as expected. Cleared the Xcode derived data cache using rm -rf ~/Library/Developer/Xcode/DerivedData/*. Deleted and reinstalled CocoaPods by removing the Pod and Podfile.lock files. Reverted to versions from more than two days ago, but the permissions are still missing. Tested on the simulator, but the issue persists. Interestingly, a team member located in a different country (South Korea) reports that all permissions except the microphone are working fine. Has anyone else encountered a similar issue? What could be causing this problem? Are there any suggested solutions or inspired approaches to resolve this? Thank you in advance for any assistance or insights.
0
0
275
Aug ’24
IOS 18 Beta Astrology Wallpaper Idea!
Okay so in one of the new IOS 18 Beta’s you can select a specific wallpaper genre that has to do with Planets (Earth, Mars, Saturn, ex.). There is one called “Earth Detail” where it zooms in and when you open your iPhone it will do a pulse of a green circle (showing where you are in the world) pretty cool feature. In “Earth Detail” you can also see the clouds and all the lights during the night, but what if you could see the northern lights at that specific time when they are visible in the sky? I think this would be a minor feature but a cool little easter egg to have. Let me know what you guys think of this. Thanks!
0
0
431
Aug ’24
AVCaptureMovieFileOutput DOES NOT support spatial video capture on iPhone 15 Pro of iOS 18.1?
Hi everyone, I am having trouble implementing spatial video recording into files by following the WWDC24 video: Build compelling spatial photo and video experiences. Specifically, the flag "isSpatialVideoCaptureSupported" of AVCaptureMovieFileOutput shows FALSE where the code is tested on both my physical iPhone 15 Pro (iOS 18.1) and the simulator (iOS 18.0). This is the code that I am running: let movieFileOutput = AVCaptureMovieFileOutput() print("movieCapture output isSpatialVideoCaptureSupported: \(movieFileOutput.isSpatialVideoCaptureSupported)") However, one of the formats of AVCaptureDevice shows a TRUE for the flag isSpatialVideoCaptureSupported. for format in currentDevice.formats { if format.isSpatialVideoCaptureSupported { print("isSpatialVideoCaptureSupported is true") break } } I am totally confused now, why DOES the camera device support spatial mode while the movieFileCapture DOES NOT? Can someone please help? Really appreciate it!! Here are my testing environment: iPhone 15 Pro iOS 18.1 (US version) Xcode 16.0 beta 16A5171c
1
0
337
Aug ’24
Xcode 16 thinks iPhone has Dev mode disabled, but it doesn't
I'm attempting to do something I've done many times—built to device. However, since updating my mac OS to 15, downloading Xcode 16 beta, and updating my device to iOS 18 beta, I am unable to do so. Xcode is giving me an error telling me that Developer mode is disabled with instructions to enable. But when I check the device, Developer mode is already enabled. I've tried disabling and re-enabling (which requires a restart and confirmation). I've tried shutting down the device and restarting it. I've tried quitting and re-opening Xcode. Anyone else running into this issue? Any thoughts?
0
1
281
Aug ’24
xcode 15.4 [Debug] -> [Simulate Location] with custom gpx is broken
I'm using location simulation on my device via xcode a lot and it worked as expected since yesterday. Now it's broken :( My custom gpx files are no longer visible in "Simulate Location". I only see the build-in locations. When I try to add a new gpx file with "Add GPX File to Workspace..." the gpx files are greyed out. I created a new project and same here. No custom GPX files shown and cant add via menu. I'm using xcode 15.4 and it worked before, but I updated to macOS 14.6 last week. Did someone have experienced the same ? The Internet has no sign of such a behavior :( Maybe the file association is broken? I already removed xcode and user data related to xcode completly and reinstalled xcode, but this was not helping.
3
1
538
Aug ’24
ios17 remember full screen status and playsinline not working
I encountered an issue when playing WebRTC video using the H5 video tag on an iPhone with iOS 17. After performing the following operations, the video automatically plays in fullscreen mode: Create the video tag, specify the playback source, and set the autoplay attribute to true. Call the API to enter fullscreen playback mode. Exit fullscreen by swiping with a finger. Stop playback and destroy the video tag. Repeat step 1; at this point, the video does not correctly default to inline playback but instead automatically plays in fullscreen. It seems as if the system has cached the previous fullscreen state, even though I have exited fullscreen, and the same result occurs with different browsers. I have set the 'playsinline' and 'webkit-playsinline' attributes for the video tag. Anyone encountered the same issue? I would appreciate any solutions that can be shared.
0
0
326
Aug ’24
iOS 18 beta 5 NSAttributedString Crash
In iOS 18 beta 5 version, setting the conversion to NSAttributedString using [.documentType: NSAttributedString.DocumentType.html] occasionally causes crashes. The same issue was encountered in previous versions. However, after running the code on the main thread, it no longer crashed. But after upgrading to the iOS 18 beta 5 version, it occasionally crashes even when running on the main thread. How can this issue be resolved? thx~
3
3
914
Aug ’24
Frequently Used Emojis won’t change or update
I’m currently on the Public Beta version of IOS 18.0 on an iPhone 15. Recently, about one or two days ago, I opened my keyboard to use my emojis as per usual, and noticed they had reset. All of them changed to that random array of emojis that Apple presents as Frequently Used before you’ve used your keyboard at all. I found this odd, seeing as I didn’t do anything different, but chalked it up to being a bug from the OS that just randomly appeared. I tried using other emojis, and obviously, the Frequently Used remained the same. I then proceeded to do the following: After trying, and failing, at getting other emojis in the Frequently Used section, I restarted the iPhone. That didn’t work. I reset the keyboard dictionary. Again, no results. I removed the Emoji keyboard entirely. Then restarted my iPhone, and added it back. That still didn’t work. Can anyone help me on this? Or will I have to wait for the next OS update and hope that magically fixes this?
14
14
3.7k
Aug ’24
Screen glitched!
Hi everyone, I am writing this post today to ask for help in the recovery of my screen. Earlier today, at 12pm I sat my phone down on the couch-which wasn’t rough at all, it was a gentle set down. I went to open the door and I came back to my phone glitched! I freaked out, but when I opened an app the glitched screen went away. This kept happening everytime I turned off my phone and opened a particular app, and it’d be back to normal. But right now, my screen is super glitched. I can see texts above the original text , as a duplicate, and when i turn my brightness down there are skinny green lines running across the screen. I am afraid that this screen will become incompetent to detect any fingers on it. I have tried resetting my phone, but I am scared too factory reset. I fear as if if will not change what’s within the screen- With that being said, without having to pay a hefty ton of money, is there anyway to fix this screen?
0
0
171
Aug ’24
Error with editing your App Store localization
Hi Everyone, I seem to be stuck, my app was approved and in the status of Pending Developer Release. However the subscriptions / localizations submitted along with the release, were rejected. Now the app store connect is not allowing any changes to the subscriptions or the subscription group. I have now developer rejected the release in order to try to clear the issue, but nothing I do seems to clear issue. I have tried raising tickets and calls with, App Review Support team and the Apple Developer Program Support, but was offer generic advice or told to seek help on the dev forums. I keep getting the error, "There was an error with editing your App Store localization. Try again later." and it has not been days. Can anyone please shed any light on how I can unblock the subscriptions on the App Store Connect portal.
0
0
254
Aug ’24
Can't install app to iPad when Required Device Capability has NFC?
Hello Is it impossible to install an app to both iPhone and iPad when the app use NFC? The app, I'm working on, use NFC on iPhone but not on iPad. The app program code checks iPhone or iPad and use NFC only on iPhone. However, TestFlight and App Store show "No Compatible Hardware" on iPad and can't download. It works as expected on iPhone. Target Device is set both iPhone and iPad, the configuration is TARGETED_DEVICE_FAMILY = "1,2" According to Required Device Capabilities, iPad doesn't support NFC https://developer.apple.com/support/required-device-capabilities/#ipad-devices The app has UIRequiredDeviceCapabilities = nfc configuration only for iPhone. But is it block installing to iPad? If so how to fix this issue? Thanks in advance.
3
0
483
Aug ’24
System.PlatformNotSupportedException: PlatformNotSupported_ReflectionEmit
My app is used Developed by NET MAUI, after uploading to the APP Store and downloading it, there was a flash crash when running, and the error log reported 'System. PlatformNotSupported Exception: PlatformNotSupported d_ReflectionLimit'. However, if installed directly through macOS, there is no problem. Can you help me solve this problem, Thank you!
0
1
218
Aug ’24