Welcome to the Apple Developer Forums

Post your questions, exchange knowledge, and connect with fellow developers and Apple engineers on a variety of software development topics.

For questions about using Apple hardware and services, visit Apple Support Communities

Posts

Sort by:
Post not yet marked as solved
0 Replies
6 Views
Hey, I'm trying to use the Google services in my MERN project. like (google authentication, send mail by nodemailer with google) but it's working for all devices except the IOS devices in the USA. I tried to inspect the response with the Safari web inspector and got this response. How can I fix this issue?
Posted
by
Post not yet marked as solved
0 Replies
11 Views
We are developing an iOS app for our Computer Aided Dispatch system which is used by dozens of major police and other first responder agencies in the US. One of the required functionalities is that the device provide very frequent position updates, even when in the background (requirement is every 5 seconds, might be able to talk it down a bit...). Among other reasons, this is so an officer on foot would accurately appear on the maps of other officers. This data is critical to assisting the officers in (for example) not accidentally shooting each other by accident.   We also very much would like to keep a websocket open even when in the background as well, as this is used to keep the device up to date on the positions of the other officers, so that the map is up to date when they return to the app.  We understand this is going to be a major hit to battery life (especially frequent GPS updates), but the agencies understand this and are willing to deal with it in order to support these life-critical functionalities. Is there any way to enable this, or are we totally out of luck. The inability to do this is going to present our iOS app in a very bad light compared against the Android version.
Posted
by
Post not yet marked as solved
0 Replies
5 Views
Hi, Looking for an option to get rid of empty tab bar on top of the subject template. it takes a lot of screen estate and i don't plan to use it for app functionality. It is marked with red on the picture. As per documentation here: Link1 there is nothing about the tabs. However in CarPlay programming guide Carplay it seems like the template doesn't have this top tab: where is the truth? can it be hidden? Thank you!
Posted
by
Post not yet marked as solved
0 Replies
9 Views
Following the instructions here: https://developer.apple.com/metal/tensorflow-plugin/ When I do the step: conda install -c apple tensorflow-deps I get: Downloading and Extracting Packages tensorflow-deps-2.9. | 3 KB      |                                                            |   0%  CondaHTTPError: HTTP 403 FORBIDDEN for url https://conda.anaconda.org/apple/osx-arm64/tensorflow-deps-2.9.0-0.tar.bz2 Elapsed: 00:00.362533 CF-RAY: 72dd062a7a7cae2a-BOS An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. I tried downloading it using curl and the browser and got the same problem. It appears that the version prior to 2.8 are there, but 2.8 and 2.9 give the same error. Any advice?
Posted
by
Post not yet marked as solved
0 Replies
15 Views
Hello dear community, I am reaching out to your as I am building an app that works very well on Expo client, for which I achieve to build on iOS, but when launching it on Testflight, the app instantly crashes with the crash report attached. Any help would be more than welcome. 2022-07-20_18-13-57.1538_+0200-161cd0da9ad5819b162a525b4e08056dddff1e65.crash
Posted
by
Post not yet marked as solved
0 Replies
10 Views
Hi, One application I'm maintaining crashes on iOS16 beta 3 with an exception "Supported orientations has no common orientation with the application, and [UIAlertController shouldAutorotate] is returning YES". I'm running out of ideas how totrace down the reason. It only happens when the Main Thread checker is enabled it happens even if I display the alertcontroller totally early in applicationDidFinishLaunching a new setup sample with pretty much identical code (see below) until applicationDidFinishLaunching (and main.xib) does not throw the exception regardless of the Main Thread checker state I validated the build settings are identical between the sample and the crashing app #import "OCViewController.h" @interface OCAppDelegate: NSObject <UIApplicationDelegate> @property (nonatomic, readwrite, strong) IBOutlet UIWindow                  *window; @property (nonatomic, readwrite, strong) IBOutlet UINavigationController    *navigationController; @end int main(int argc, char * argv[]) {     @autoreleasepool {         return UIApplicationMain(argc, argv, nil, NSStringFromClass([OCAppDelegate class]));     } } @implementation OCAppDelegate - (void)applicationDidFinishLaunching:(UIApplication *)application {     OCViewController *vc = [OCViewController new];     self.window.rootViewController = vc;     [self.window makeKeyAndVisible];     [vc showAlert]; } @end @implementation OCViewController - (IBAction) showAlert {    UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"title" message:@"Test" preferredStyle:UIAlertControllerStyleAlert];    // NSLog( @"%@", [[[[UIApplication sharedApplication] keyWindow] rootViewController] valueForKey:@"_printHierarchy"] );    [alertController addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"OK", nil)                                                        style:UIAlertActionStyleDefault                                                      handler:^(UIAlertAction * _Nonnull action) {}                                ]     ];    [[[[UIApplication sharedApplication] keyWindow] rootViewController] presentViewController:alertController animated:YES completion:nil]; } @end The backtrace is +[NSException raise:format:] + 112 -[UIViewController __supportedInterfaceOrientations] + 808 -[UIViewController __withSupportedInterfaceOrientation:apply:] + 48 -[UIViewController setInterfaceOrientation:] + 108 -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 268 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1232 -[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 112 -[NSISEngine withBehaviors:performModifications:] + 84 -[UIView _postMovedFromSuperview:] + 672 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1904 -[_UIAlertControllerPresentationController presentationTransitionWillBegin] + 148 __80-[UIPresentationController _initViewHierarchyForPresentationSuperview:inWindow:]_block_invoke + 2008 [....]
Posted
by
Post not yet marked as solved
0 Replies
13 Views
Hey there everyone, I finally got a multicolumn table implemented with what I wanted after looking through the code sample provided here, but now I am having some issues with how the data is displayed. At first, everything displays correctly and fields update as they should, but whenever I scroll, the data does not present it itself as it should, in other words cells that should have remain one value end up changing or zeroing out, which affects the column holding a running total. The application, which is a checkbook ledger application, holds its data in an SQLite database and when I view the database, the values there have changes as well, which forces me to import a previous SQL dump to get everything back, only to experience the issue again. When I go back to an old version of the application, which has a hideous UI, however, scrolling does not modify anything. Does anybody know how to deal with this little problem? If you would like to see what I have already, here is the source code as it currently is. https://github.com/bryceac/BCheckbook/tree/macTable
Posted
by
Post not yet marked as solved
1 Replies
25 Views
I am doing localization using NSLocalizedString and it has issues when there is a number in line with a string. For example, when on a local build, String.localizedStringWithFormat("Points: %d”, 62) would return "Points: 62", but on the TestFlight build it returns "Points: -2,114,563,680".  All numbers behave this way with a different -2 billion number representing the number on screen.
Posted
by
Post not yet marked as solved
0 Replies
11 Views
Running Ventura 13.0, iOS 16.0, and iPad OS 16.9 - all latest developer betas. Play counts are not syncing between the devices. I've turned off/on library on all three devices. I've restarted Music app on all three devices. I've forced library sync, and rebooted. Play count is currently not working.
Posted
by
Post not yet marked as solved
0 Replies
32 Views
**I am trying to upload my app to App Store Connect and am running into issues. I have submitted a build, and it was rejected and in the app review, the reviewer gave this report back. ** Guideline 2.1 - Performance - App Completeness We discovered one or more bugs in your app. Specifically, the “Get Started” button was not responsive. Review device details: Device type: iPad OS version: iOS 15.5 Next Steps Please run your app on a device to reproduce the issues, then revise and submit your app for review. If at first you're unable to reproduce the issue, try the following: For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce. For app updates, install the new version as an update to the previous version, then follow the steps to reproduce. If we misunderstood the intended behavior of your app, please reply to this message in App Store Connect to provide information on how these features were intended to work. Resources For information about testing apps and preparing them for review, see Technical Note TN2431: App Testing Guide. To learn about troubleshooting networking issues, see About Networking. **Which led me to the forums here looking for assistance trying to figure out why my app isn't working on Apple'e side. I have tested the app at my organization. I have downloaded the app, via TestFlight, onto multiple Apple devices. I have tried iPhones and IPads, running iOS 15.5 (the same iOS version as mentioned in the reviewer's submissions). I have not ran into the issues they describe anywhere. What should I do now? I don't know how to test for this bug, and reviewer will not give any additional information, other than "it doesn't work". **
Posted
by
Post not yet marked as solved
1 Replies
18 Views
Hi, 1TB hard drive, 8TB hard drive, SD cards on the adapter or on the macbook reader or any other external drive are not working. i tried all the finder preferences, and utility disk functions, all my drives are there in the utility disk, but nothing will work, the reparing says it's all good, if i click mount i get this ''com.apple.DiskManagement.disenter error -119930872''. Help ?
Posted
by
Post not yet marked as solved
0 Replies
14 Views
I have an app that I'm building and signing and deploying for the Mac App Store. I received an email that there were problems with the deployment that make no sense to me. ITMS-90286: Invalid Code Signing Entitlements - Your application bundle's signature contains code signing entitlements that are not supported on macOS. Specifically, value '367****Y2.com.foo.foo-one.electron' for key 'com.apple.application-identifier' in 'Foo One.app/Contents/MacOS/Foo.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libEGL.dylib' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier . Say what now? This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier . But that is exactly what it is set to: 367****Y2.com.foo.foo-one.electron (asterisks just here to obscure our actual TeamID) I have no idea how to proceed. Any advice? Similar to this question thread 698452
Posted
by
Post not yet marked as solved
0 Replies
19 Views
Hi I am trying to upload an App to the App Store. It is a Java application with a small Swift wrapper. I build for both arm64 and x86-64 and include JREs for both architectures inside the bundle. The Launcher App: @main struct LauncherApp {       static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "drrename")       static func main() {           var jrePath: String = ""       #if arch(arm64)     if let jrePathArm64 = Bundle.main.path(forResource: "jre-18.0.1_10_arm64/Contents/Home/bin/java", ofType: ""){       jrePath = jrePathArm64     }       #elseif arch(x86_64)     if let jrePathX86 = Bundle.main.path(forResource: "jre-18.0.1_10_x64/Contents/Home/bin/java", ofType: ""){       jrePath = jrePathX86     }       #endif           if jrePath != "" {       logger.log("Got jre path: \(jrePath)")       if let jarPath = Bundle.main.path(forResource: "drrename-0.6.4-SNAPSHOT", ofType: "jar"){         logger.log("Got jar path: \(jarPath)")         let task = Process()         task.launchPath = jrePath         task.arguments = ["-jar", jarPath]         task.launch()         task.waitUntilExit()       } else {         logger.critical("Failed to get jar path")       }     } else {       logger.critical("Failed to get jre path")     }   } } I get the following error: I understand that both arm and x86 are required, that is why I package both x86-64 and arm64 JREs inside the bundle. How can I resolve this error? Many thanks!
Posted
by
Post not yet marked as solved
0 Replies
14 Views
I have ios 16 beta on 13pro and watch os 9 beta on watch SE. I am not getting the option for Apple watch mirroring’ under Settings -> Accessibility, as suggested online. What am I doing wrong?
Posted
by
Post not yet marked as solved
0 Replies
19 Views
Hello. We will be releasing an application soon. One free app is already on sale in the store. However, the next application to be released is planned to be released as a series. I know there are restrictions on the name of the app store. It doesn't remind me of drugs, or it can't be duplicated... I would like to release a paid application by attaching NO.1 and NO.2 to the name of the application. Each application is planned to be updated and repaired, and only functions and designs are different. The reason for having different NO. is design and function Because there is a difference. It's a light topic, so I'd appreciate it if you could share what you know, even if you're not sure.
Posted
by
Post not yet marked as solved
0 Replies
8 Views
Hi! I am going to install the iOS 16 public beta in my iPhone XS. I got to know that i need to delete the iOS 15 beta configuration profile that i currently have on my phone, before I install the iOS 16 profile. So my question; do i just go into the profile in settings and press ”delete profile” and enter my pin code, to delete the profile, or will the entire iOS be deleted when i delete the profile due to that i running iOS 15 beta on my phone currently. Or will deleting the profile just stop the phone for receive new beta versions of iOS 15 and keep running the current iOS beta?
Posted
by
Post not yet marked as solved
1 Replies
24 Views
Hey, I am trying to display a mesh with RealityKit which will be dynamically updated when new data arrives. As per the documentation I used MeshResource.generate(from:) to generate the mesh, remove the old ModelEntity, create a new ModelEntity with the generated mesh and attached the new entity to its anchor. This works for some time but upon closer inspection I discovered a continuous increase in allocated memory eventually exceeding 5gb and crashing my app. I also tried to use MeshResource's replace() to manually replace the models, but to no avail. To me this seems like a memory leak in MeshResource, rendering it unusable for dynamically computed geometries. Has somebody else faced this issue and if yes found a solution? Cheers
Posted
by
Post not yet marked as solved
0 Replies
15 Views
In the iOS camera app it is possible to toggle between ultra wide and default. I have tried every combination of available AVCaptureDevice.DeviceType for .front cam on an iPhone 12 and I cannot figure out how to get the ultra wide front cam mode working. What configuration should be used here?
Posted
by
Learn More about - WWDC22.

Pinned Posts

Categories

See all