Post

Replies

Boosts

Views

Activity

An error occurred uploading to the iTunes Store
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
0
0
201
Jan ’21
Can't upload to App Store from M1 Mac Mini
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
2
0
1.1k
Dec ’20
Portrait only on iPhone but any orientation on iPad?
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
0
0
342
Dec ’20
Converting old project to use Autolayout
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
4
0
1k
Dec ’20
Signing certificate "Not in keychain"
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.
1
1
13k
Dec ’20
Can core bluetooth discover a bluetooth speaker?
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?
0
0
235
Dec ’20
Help with crash logs
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
1
0
500
Oct ’20
Confused about meaning of NSURLIsExcludedFromBackupKey
I thought I understood that files stored in the Documents directory would never be purged by iOS, in addition to being backed up to iCloud unless marked with the NSURLIsExcludedFromBackupKey. But after re-reading the documentation, I'm confused: Use the "do not back up" attribute for specifying files that should remain on device, even in low storage situations. Use this attribute with data that can be recreated but needs to persist even in low storage situations for proper functioning of your app or because customers expect it to be available during offline use. This attribute works on marked files regardless of what directory they are in, including the Documents directory. These files will not be purged and will not be included in the user's iCloud or iTunes backup.  This seems to suggest that iOS WILL purge files from the Documents directory, unless they are marked with the flag, in which case it will also not back them up to iCloud. I want my files to be BOTH backed up to iCloud AND never purged by iOS. What should I do to get this behavior? This is a very important issue for me, because I'm spending a lot of time fighting with customers who insist that my app is losing their files even though I can never reproduce the problems in my testing. Thanks, Frank
2
0
938
Aug ’20
Subscription-only app?
Is there a way to make an app that requires a subscription?My customer wants their users to pay an annual fee for their app. They don't want to offer any content or functions for free. What they've asked me to do is build an app that when it opens, requires you to subscribe immediately.I'm guessing this won't pass Apple review, or at least it didn't used to.Is it possible to do something like this, either with in-app purchase or otherwise?Thanks.
2
0
2.4k
Jun ’20
Can you delete IAP entirely?
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.
3
1
1.6k
May ’20