I've got a fairly old app that I first built back in 2014, and have been maintaining over the years.
One of the screens in the app uses the camera to scan barcodes. The barcodes we scan are printed on labels, and are in the org.iso.Code128 format.
When the app was first developed, I simply set the metadataObjectTypes property of AVCaptureMetadataOutput to all available types. This worked fine. The app scanned our barcodes very quickly with almost no issues.
In 2017, we started seeing issues where barcode scanning was becoming slower. I reasoned that having it configured to scan for every possible barcode format might be the issue, so I went in and changed the code to have it scan only for the org.iso.Code128 format. This helped, for a while.
Now, we're seeing the problem again in iOS 14 devices. On some devices it is nearly impossible to scan the barcodes. On others, you have to wait 20 or 30 seconds before the barcode is recognized.
What could be causing this issue?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
My app has been reporting error code -1200, "NSURLErrorSecureConnectionFailed", on a very small number of end user devices. I cannot reproduce the error. The devices that report this error have ranged from very old iOS 9 devices to modern iOS 14 devices.
The documentation says, "An attempt to establish a secure connection failed for reasons that can’t be expressed more specifically."
Can anyone elaborate on what kinds of reasons might cause this error? I'm otherwise stuck, with no way to explain this to my customers and no advice for how they might fix it.
Thanks,
Frank
Whenever I try to upload an app from Xcode, I get this error right as the file upload begins:
App Store Connect Operation Error
An error occurred uploading to the App Store.
This is not a transient problem. I have had this issue for months, ever since I started using an M1 Mac Mini for most of my development.
The only workaround I've been able to find so far is to use a different Mac to upload my builds. Luckily, I have another one, but I'm getting tired of doing this.
Both Macs are running the same version of Mac OS, same version of Xcode, and are on the same Wifi network. I also checked to make sure the network settings are identical.
How can I debug this problem?
I've been unable to upload a build from Xcode on my new M1 Mac Mini since I got it in December. I can still upload builds from my Intel Mac which is on the same Wifi network and logged into the same account (and uploading builds of the same product).
The Transporter application works on my Mac Mini, but it is inconvenient to have to run a separate app to do the uploads. I'd like to figure out why it's not working in Xcode.
Only the upload part of the process is failing. The app compiles fine, the signature works, etc.
Thanks,
Frank
I've been trying all day to upload a build to Test Flight but kept getting a message that says "App Store Connect Operation Error" and "An error occurred uploading to the App Store."
Eventually, I tried to upload the build from another Mac, and this time it worked fine.
The Mac that won't upload is a new M1-based Mac Mini. The one that works is an Intel MacBook Pro. Both are on the same Wifi network.
Frank
I'd like my app to run in Portrait mode only on iPhones, but any orientation on iPad.
Years ago, I recall being able to do this by overriding or implementing some callback functions for orientation, which seemed to change with every other iOS release.
I'm hoping there is a simpler way to do this today. I was hoping that the Deployment Info tab in Xcode would let me set different Device Orientation choices for iPhone and iPad, but this doesn't seem to be the case.
I'm sure I could hack around and come up with some solution, but I'd like to learn what the "right" way is to do this in current versions of iOS.
Thanks,
Frank
I'm having a very difficult time converting an old project to Autolayout. I already removed my old launch images and replaced them with a Launch Screen, which causes the app to at least not run in the letterboxed mode anymore. However, when I open each view (XIB file) Interface Builder is mostly showing me a bunch of blue boxes with no detail in them where my UI elements should be. I made sure that the Opens In and Builds For settings are correct, and also checked Use Trait Variations and Use Safe Area Layout Guides.
I also tried creating a new view from scratch, but I ran into another problem: Interface Builder won't let me drag new UI elements into the main View as subviews. It only lets me drop them as new top-level views. I can copy and paste the view where I want it, but Autolayout appears to be disabled: I can't make any constraints.
It seems like there must be some global setting that is preventing the app from behaving like a modern app, but I can't figure out what it is.
Thanks,
Frank
Hi,
I'm working with an Enterprise developer account. Just today, I recreated my distribution certificate, downloaded it, and installed it into my keychain. I also removed an older certificate that was there.
However, Xcode won't let me select the new certficate when I use the Distribute App workflow. When I reach that screen, only the old certificate is shown in the list. If I click "Manage Certificates", I can see the new one listed, but it is disabled, and there is a note next to it that says "Not in keychain".
I checked with the Keychain utility to make sure it is there, and has a private key.
Why is Xcode not allowing me to select this certificate, and how do I fix it?
Thanks.
Hi,
I'm trying to create a simple utility app that listens for any bluetooth device and shows a list of available devices.
My app discovers a lot of devices when I run it, but for some reason it will not discover a bluetooth speaker. I'm not expecting my app to do anything with the speaker, but I'm suprised that it doesn't even get discovered.
I know the speaker works because I can pair it with my phone and play music through it (but I unpaired/forgot it before I tested my app).
Is there something about a bluetooth speaker that would prevent Core Bluetooth from even seeing it?
Hi,
Is there a way I could install Yosemite or El Capitan on a computer that is currently running High Sierra? How is this done?
The computer is a spare that doesn't contain anything I need, so no problem erasing it, but I don't know how to get an installer.
Why are there two sets of tab bars in Xcode now? It is very confusing. Is there a way I can get rid of the inner one so it works like before?
I need help understanding a crash log.
The crash log I'm looking at contains no references to any of my own code, other than the main function which isn't very helpful. Otherwise the stack trace just has references to standard classes like UIView.
What's the best way for me to figure out what happened?
Crash log - https://developer.apple.com/forums/content/attachment/665ca25b-ed49-42a9-84db-1838f9ce0893
How do you open and close the debug area in Xcode 12? There is no longer a button for this in the navigation bar.
I have an app that was built and released with IAP. Later, the customer decided they wanted to get rid of the IAP and just make it a free app. We went into the code, disabled all the IAP functionality and made all the features of the app free.However, the app is still shown as having in-app purchases when you view it in the app store.Is there a way I can entirely delete the IAPs and have this appear as if it were a totally free app?Thanks.
Is there a way I can detect at runtime whether the app was installed from Test Flight vs. App Store?Frank