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
5 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
0 Replies
12 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
4 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
13 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
11 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
8 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
10 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
9 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
13 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
7 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
0 Replies
16 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
13 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
Post not yet marked as solved
0 Replies
22 Views
We have developed iOS app using WebRTC and ARKit for the video communication.We have used RealityKit with ARKit to add View or Text to specific position in real world. While sending the frame to the WebRTC we capture the screenshot of ARView with all the view which are present in current camera feed.We capture the view with help of CADisplayLink with 20 frame rate. We took the reference of the Sticky Note Example for the above implementation. We have observed that after certain interval of time device starts to heat up.  Following are the various options we tried for this issue: Try to decrease frame rate of CADisplayLink. Disable most of the rendering options of ARView (RealityKit). We tried to capture the view using Replaykit. What modifications can be made to reduce the heating?
Posted
by
Post not yet marked as solved
0 Replies
9 Views
Do i need SwiftUI to register a listener and display StoreKit messages in iOS 16? Or can it be done without SwiftUI? Maybe just Swift or even Objective-C? What's new with in-app purchase - WWDC22 - Videos - Apple Developer https://developer.apple.com/wwdc22/10007 https://developer.apple.com/documentation/swiftui/environmentvalues/displaystorekitmessage/
Posted
by
Post not yet marked as solved
0 Replies
27 Views
Hi :) Our team wants to update the way subscriptions are handled in our app. For now the iOS devices are between our and App Store servers. We want to change it so the servers will communicate directly between themselves. I have to do some research and write tasks for developers and I struggle a bit with understanding it. My question is if is it needed to handle singed transaction info on iOS device and then send it to our server? We want to use App Store Server Notifications for handling subscriptions overall. I have watched a video from WWDC and the first time subscription purchase is described. But I guess I am a beginner and do not really understand it. So basically how I understand it is that a customer buys subscription and App Store server gets this information. And then I have no clue what these two things below do but I am wondering if we could do not implement them and base our server just on SUBSCRIBED notification. So basically it would look like this: What do you think about it? I would really appreciate any feedback and help. I am not sure if it is possible to implement this the way I have drawn it on this image and if so if this is a good practice. I do not know if that information is needed but our users can buy the premium service on other platforms as well. So we have to keep that info on our server and update iOS app about user's premium service state from our server. Have a nice day! Szymon
Posted
by
Post not yet marked as solved
0 Replies
13 Views
we need to play songs auto play but const music = MusicKit.getInstance(); return undefined try { MusicKit.configure({ developerToken: DEVELOPER_TOKEN, app: { name: 'ReflexRadioDev', build: '1978.4.1', }, }); } catch (err) { console.log("my : " + err); } // MusicKit instance is available const music = MusicKit.getInstance(); console.log(music); we use version 3 from apple music kit "https://js-cdn.music.apple.com/musickit/v3/musickit.js" browser console error :- Uncaught (in promise) TypeError: music is undefined https://dev2.api.app.reflex-radio.com/index.html:78 dispatchDocumentEvent https://js-cdn.music.apple.com/musickit/v3/musickit.js:44 setTimeout handler*dispatchDocumentEvent https://js-cdn.music.apple.com/musickit/v3/musickit.js:44 https://js-cdn.music.apple.com/musickit/v3/musickit.js:44 https://js-cdn.music.apple.com/musickit/v3/musickit.js:1 https://js-cdn.music.apple.com/musickit/v3/musickit.js:1 index.html:78:7 https://dev2.api.app.reflex-radio.com/index.html:185 dispatchDocumentEvent https://js-cdn.music.apple.com/musickit/v3/musickit.js:44 (Async: setTimeout handler) dispatchDocumentEvent https://js-cdn.music.apple.com/musickit/v3/musickit.js:44 https://js-cdn.music.apple.com/musickit/v3/musickit.js:44 https://js-cdn.music.apple.com/musickit/v3/musickit.js:1 https://js-cdn.music.apple.com/musickit/v3/musickit.js:1
Posted
by
Post not yet marked as solved
0 Replies
12 Views
Today I've received an email from Apple telling me that the App Store XML API is going away in November. (See e.g. https://help.apple.com/asc/appsspec/en.lproj/static.html). I have been using this API for some years to upload screenshots andIAP details (I have an app with a large number of IAPs). I'd like to thank Apple for giving me three months to implement an alternative. That's much better than the one month warning that they gave me for the last feature that they removed, IAP hosted content. Still, it's frustrating that I need to do a load of work to replace something that has been working fine for years. Having been an iOS developer since 2008 I've got a lot of accumulated "stuff". These days, I seem to spend more time adapting to things that Apple have deprecated than working on new features. And I constantly worry about what is next for the chop.
Posted
by
Post not yet marked as solved
0 Replies
19 Views
Hi, I have a C++ application connected to a specific socket. The problem is that when the application is not in use, macOS idle wakeups become very low. I am quite new in Apple development but as I understand applications get low priority when the idle wakeups are low. Therefore, application only wakes up when the set period of time (say a few seconds) is reached and it does not respond to requests immediately. To improve performance, I am trying to implement an event listening mechanism in the application that would be triggered by socket activity. In the documentation, there is some information on network events (see Table 7.1): https://developer.apple.com/library/archive/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/Timers.html I guess every messaging app is implementing a similar mechanism i.e. rather than waiting for the idle wakeup period to wake the application, an event is triggered when user data arrives at the socket application is connected to. My questions are Is my understanding of idle wakeups mechanism correct? What options are available to solve this problem and improve app performance i.e. response time? Are there any sample code snippets showing how to register that kind of a network event listener? Many thanks
Posted
by
Learn More about - WWDC22.

Pinned Posts

Categories

See all