My iPad 3 have replaced it battery and now it needs to restore to its firmware ( iOS 9.3.6 ) but before that the sim card cable is broken and I already replaced it. Now it's doesn't letting me to restore to the iPad 3,3 software cause it's not the correct os ( itunes app report ). But the wifi model is 3,1 and this thing had its 4g black atenna section, still using verzion sim but doesn't let me restore to the iPad 3,3 software.
Posts under iPad tag
127 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I wanted to know can I run an iOS on an iPad for an indefinite amount of time?
My project is a TV player app for HLS streams with fairplay encryption. It is made on swiftUI for iPhone and iPad, it is in production.
I have enabled the target "Mac (Designed for iPad)" in the project settings, and It is working perfectly on Mac M1 chips when running the app from the Mac AppStore.
The Mac version has never been main main focus, but it is nice to have it working so easily.
However when I run the app from Xcode, by selecting "My Mac (Designed for iPad)", everytime AVPlayer wants to start playback I am ejected from the app and the only thing I get from the logcat is:
Message from debugger: Terminated due to signal 9
Why? And Why does it work when running the app published on the appstore?
I was able to debug a bit and identify which line of code triggers the issue but I am still stuck:
I am using an AVAssetResourceLoaderDelegate to load the Fairplay Keys instead of the default one (because I need some authentication parameters in the HTTP headers to communicate with the DRM Proxy).
So, in the process I am able to request SPC data and CKC (I have verified the data), and then when the loadingRequest.finishLoading() is called.. BOOM the app is terminated and it triggers the log Message from debugger: Terminated due to signal 9.
I am sharing the delegate method from the AVAssetResourceLoaderDelegate where it happens. This has been written a while ago and is running fine on all devices. If you are not used to this delegate, it is used by AVPlayer whenever a new mediaItem is set with the method: AVPlayer.replaceCurrentItem(with: mediaItem)
func resourceLoader(_ resourceLoader: AVAssetResourceLoader, shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest) -> Bool {
guard let dataRequest = loadingRequest.dataRequest else { return false }
getFairplaycertificate { data, _ in
// Request Server Playback Context (SPC) data
guard
let certificate = data,
let contentIdData = (loadingRequest.request.url?.host ?? "").data(using: String.Encoding.utf8),
let spcData = try? loadingRequest.streamingContentKeyRequestData(
forApp: certificate,
contentIdentifier: contentIdData,
options: [AVContentKeyRequestProtocolVersionsKey: [1]]
) else {
loadingRequest.finishLoading(with: NSError(domain: "tvplayer", code: -1, userInfo: nil))
print("⚠️", #function, "Unable to get SPC data.")
return false
}
// Now the CKC can be requested
let networkId = loadingRequest.request.url?.host ?? ""
self.requestCKC(spcData: spcData, contentId: networkId) { ckc, error in
if error == nil && ckc != nil {
// The CKC is correctly returned and is sent to AVPlayer. Stream is decrypted
dataRequest.respond(with: ckc!)
loadingRequest.contentInformationRequest?.contentType = AVStreamingKeyDeliveryContentKeyType
loadingRequest.finishLoading() // <--- THIS LINE IS GUILTY!!!
} else {
print("⚠️", #function, "Unable to get CKC.")
loadingRequest.finishLoading(with: error)
}
}
return true
}
return true
}
If I comment loadingRequest.finishLoading() or if I replace it by: loadingRequest.finishLoading(with: error), the app is not terminated but my decryption keys are not loaded. That's the only clue I have so far.
Any help would be appreciated.
What should I look for?
Is there a way to get a detailed error stacktrace?
Thanks.
I used Apple Pencil to input text on UITextView, but the program crashed when I long pressed and tried to use the insert function.
warning: Module "/Users/baochengzhu/Library/Developer/Xcode/iOS DeviceSupport/iPad14,1 17.0.3 (21A360)/Symbols/usr/lib/libobjc.A.dylib" uses triple "arm64e-apple-ios17.0.0", which is not compatible with the target triple "arm64-apple-ios11.0.0". Enabling per-module Swift scratch context
who can help me ?
How to stop the screen from going to sleep in the iPad app on macOS?
This solution does not help "UIApplication.shared.isIdleTimerDisabled = true"
Hi,
Getting reports from a client that they are being asked to re-login to their PWA (saved to their home screen) whenever they turn off their iPads for periods of 1-2hrs and then turn it back on again. Just noting, this isn't related to the 7 day cap on cookie data in webkit as we've already addressed this.
I've tested just turning it off for a few minutes on a standard iPhone with iOS17 but don't experience the same issue.
Does anyone know if it is part of iOS's device restart to clear PWA cookies etc. if the device has been off for a long time?
The only other avenue I can think of is that the client's devices may have some MDM setting for this.
Thanks in advance.
Hi there,
I am currently developing an app for iPhone and iPad. I made a sidebar with various items which are linked to other pages via NavigationLink. The problem is, that as soon as I scroll down, the app crashes. This is only happening in landscape mode on the iPad. What am I doing wrong? Thank you for your help! Here is my code:
var body: some View {
NavigationView {
List {
Group {
NavigationLink(destination: Acetylsalicylsaeure()){
Image("AcetylsalicylsaeureMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Acetylsalicylsäure")
}
NavigationLink(destination: Amiodaron()){
Image("AmiodaronMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Amiodaron")
}
NavigationLink(destination: Atropin()){
Image("AtropinMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Atropin")
}
NavigationLink(destination: Butylscopolamin()){
Image("ButylscopolaminMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Butylscopolamin")
}
NavigationLink(destination: Dimenhydrinat()){
Image("DimenhydrinatMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Dimenhydrinat")
}
NavigationLink(destination: Dimentinden()){
Image("DimentindenMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Dimentinden")
}
NavigationLink(destination: Epinephrin()){
Image("EpinephrinMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Epinephrin")
}
NavigationLink(destination: Esketamin()){
Image("EsketaminMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Esketamin")
}
}
// More NavigationLinks...
Group {
NavigationLink(destination: Midazolam()){
Image("MidazolamMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Midazolam")
}
NavigationLink(destination: Naloxon()){
Image("NaloxonMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Naloxon")
}
NavigationLink(destination: Paracetamol()){
Image("ParacetamolMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Paracetamol")
}
NavigationLink(destination: Prednisolon()){
Image("PrednisolonMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Prednisolon")
}
NavigationLink(destination: Salbutamol()){
Image("SalbutamolMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Salbutamol")
}
NavigationLink(destination: Sauerstoff()){
Image("SauerstoffMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Sauerstoff")
}
NavigationLink(destination: Urapidil()){
Image("UrapidilMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Urapidil")
}
NavigationLink(destination: Vollelektrolytloesung()){
Image("VollelektrolytloesungMediLabel")
.resizable()
.frame(width:60, height: 30)
Text("Vollelektrolytlösung")
}
}
}
.listStyle(SidebarListStyle())
.navigationTitle("Medikamente")
BackgroundMedikamente()
}
}
}
We are facing issue on couple of devices where application is moving into background frequently without user interaction. Here is device details:
Device Name - iPad mini 6
iOS version - 17.0.3, 16.7.1
Please help to fix this problem, thanks in advance
I have recently got a new ipad and have turned off imessage and facetime sync in icloud and turned off imessage and facetime on the ipad itself. However, every morning I wake up to a message on my iphone saying imessage is now being used on another device and it turned itself back on, on the ipad. Does anyone know how I can stop this happening?
Thank you
I have been solving a mystery for some time now, when after updating to iOS 16+ or 17+ the application crashes at some moments. I can't figure out what is causing this. it didn't happen to me in previous versions of iOS. Can you advise me according to the log from the device what could be causing this?
PCI Full-2023-10-09-131124.ips
Thank you
Hard/Software: iPad 7, Ipad OS 17.0.3, MobileVLCKit, SDP/RTSP stream, USB/Ethernet cable.
Description: I have an iPad application for live video streaming. From a security point of view, it should work via cable (USB/Ethernet). This application uses MobileVLCKit player to play videos. Videos are available via a URLs with an IP address and use the SDP/RTSP format (url example: http://172.20.129.69/stream/sdp).
Code example:
let camUri="http://172.20.129.69/stream/sdp"
let options = ["--network-caching=100"]
var players: [VLCMediaPlayer] = []
players.append(VLCMediaPlayer(options: options))
let media = VLCMedia(url: camUri)
players[0].media = media
players[0].drawable = centerView
players[0].play()
Problem: The application worked on various iPads with iPad OS 16 and lower (using cable or Wi-Fi). After updating to iPad OS 17, the application no longer works via cable.
What could be the problem and how to fix it?
I am developing an app that detects iBeacons and takes action.
The problem is that some iPads do not launch the app even though the iBeacon is detected when the iPad is locked.
This app works as follows.
Start monitoring the iBeacon using startMonitoring().
When the iPad detects the iBeacon, the didEnterRegion delegate is called.
The didDetermineState delegate is then called.
Inside the didDetermineState delegate my app does the required behavior.
The app works on iPhones and some iPads as soon as it detects an iBeacon, whether the app is in the foreground, in the background, or when the device is locked (this is expected behavior).
However, some other iPads delay calling the didEnterRegion delegate only when the device is locked.
When the device is locked, the didEnterRegion delegate is called with a delay at an unspecified time, anywhere from a few seconds to 20 minutes.
The didEnterRegion delegate is called immediately if foreground or background.
Also, when the didEnterRegion delegate call is delayed, if you press the iPad's home button to unlock it and the home screen is displayed, the didEnterRegion delegate will be called immediately.
Also, the didEnterRegion delegate is called immediately if the iPad is connected to power, even in the locked state.
This issue only occurs when the iPad is on battery power and locked.
I've tried it on several devices, and the difference seems to be due to the iPad generation, not the OS version.
Is there a possibility that the new generation iPad's energy saving feature may delay the background startup of apps when the iPad is locked?
A model that operates immediately upon detecting an iBeacon
・iPhone 13mini (iOS 17.0.3)
・iPhone 8 (iOS 17.0.3)
・iPad 6th generation (iPadOS 16.7)
Models where didEnterRegion is delayed even if iBeacon is detected
・iPad 8th generation (iPadOS 16.2)
・iPad 8th generation (iPadOS 16.7)
・iPad 9th generation (iPadOS 16.2)
Have such cases been reported?
Also, how can such phenomena be avoided?
Thank you.
When running a development App on an iPad Model MW752LL/A developed with SwiftData and NavigationSplitView{} the right pane detail View does NOT refresh when another left pane list view element is selected?
•iPad (7th generation) with iPadOS Version 17.0.3.
•Same condition with the Xcode iPad (10th generation) Simulator.
i want to use xcode but i won't use my macbook for 4-5 months so i want to buy a ipad 9th gen if xcode is works
Hi! I have a 4th gen iPad Air with 17.1 beta 1 version loaded on it. When trying to edit a playlist, every time I remove a song, it always goes back to the top of my playlist, causing me to have to scroll back down. But that’s not the only problem; once I do get back to where I was in my list, and before I can do anything else it will just go back to the top of my list without me doing anything! it doesn’t happen every time but enough times to make it hard for me to continue what I’m trying to do. I have closed the app several times, and even restarted my iPad a few times but still the issues persist! Help? 😅
I just updated my iPad AIR5 and Ipad AIR5 m1 version 17.0.2
Hello ,
We have an ios application project that is developed on xcode.
While generating the ipa file from jenkins job , the app is working well.
We tried using fastlane on a different machine , the app works well on IPAD which is created from one of the macbook machine . But same fastlane steps , when we following from gitlab pipeline on same machine, the ipa file gets generated successfully and also gets deployed to testflight successfully . But app is crashing on ipad.
We tested development IPA as well on following machines with specified configuration.
Macmini ( local and gitlab - both build fails )
xcode version : 14.3.1
macos version : 13.4.1
swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) Target: x86_64-apple-macosx13.0
code signing certificate : apple development cert
fastlane version : 2.214.0
Mabook ( local build works, gitlab build fails )
xcode version : 14.3.1
macos version : 13.4.1
swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
Target: x86_64-apple-macosx13.0
code signing certificate : apple development cert
fastlane version : 2.214.0
Jenkins (works well)
xcode version : 14.3.1
macos version : 13.2.1
swift-driver version: swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) Target: x86_64-apple-macosx13.0
code signing certificate : apple development cert
From above configuration, we can see versions used for xcode and macos are all same . And steps followed are also same . We are trying to figure out why app built on one machine crashes ,while other is working well.
Please help us understand the cause . I will be appreciative for response on this issue.
Thanks and Regards,
Anjali Tandel
I have updated all devices (iPhone 14 Pro Max, iPad Pro 12” 3th gen, HomePod 1st gen) to the latest version. Since I have updated to 17, when I say “Hey Siri“ all of them turns on to listen but immediately all of them stops thinking the other devices listens.
with the previous versions when I say “hey siri” all the devices listen but when they detect a HomePod was active listening the iPhone and the iPad stops listening letting the HomePod take the control.
sorry for my English, but I think it’s understandable 🤔😊
im just the only one who happens this?
This code works well in iPhone but not on iPad. In iPad, although the "Selected topic" text in TopicDetailView changes with every list selection,
**onAppear is NOT getting called every single time. **
I need to do some backend operation on onAppear here. What am I doing wrong here? At first it looks like working fine, but go backward tapping in list, random tapping, every time, "selected topic " changes, but NOT every time onAppear gets called. I must have the onAppear called every time to run backend operations. I have latest devices, simulators, Xcode as of today. I cannot use NavigationStack as I need to support ios15.0 onwards
import SwiftUI
struct TopicsView: View {
var topics = ["Topic1","Topic2","Topic3"]
var body: some View {
NavigationView {
List(topics, id:\.self ) { topic in
NavigationLink(
destination: TopicDetailView(topic: topic).id(UUID())
) {
Text(topic)
}
}
}
}
}
struct TopicDetailView: View {
var topic: String
var body: some View //body{
{
VStack{
Text("Selected topic \(topic)")
}
.onAppear(){
print("on appear on topic \(topic)")
}
.onChange(of: topic){ v in
print("on change to topic \(v)")
}
}
}
struct ContentView: View {
var body: some View {
TopicsView()
}
}
If I do this, I'll only have to submit the iOS version of the app and not have to dork with two app reviews. What do you think? What am I missing?