Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

Instruments showing incorrect values
Hello, I’m encountering an issue with the Instruments app while running a benchmark on an M2 Ultra Mac Studio. Despite being certain that GPU activities involving memory read and write operations are occurring, all related performance counters consistently return 0. Interestingly, this problem does not occur when using the same code on an M1 MacBook Air, where the counters behave as expected. What could be causing this discrepancy? Any insights or suggestions would be greatly appreciated. Thank you!
0
0
478
Jan ’25
Swift, kevent, and wth?!?!?
I have this code: var eventIn = kevent(ident: UInt(self.socket), filter: Int16(EVFILT_WRITE), flags: UInt16((EV_ADD | EV_ENABLE)), fflags: 0, data: 0, udata: nil ) I looked at it and thought why do I have those extra parentheses? So I changed it to var eventIn = kevent(ident: UInt(self.socket), filter: Int16(EVFILT_WRITE), flags: UInt16(EV_ADD | EV_ENABLE), // changed line! fflags: 0, data: 0, udata: nil ) and then kevent gave me EBADF. Does this make sense to anyone?
0
0
230
Feb ’25
Option to download SDK Seperatly.
Hey Guys , I think forcing people to download Simulator along side SDK will increase hude download size, is not a good experience for developers. Make simulator download optional and you can keep it ticked by default inside (Settings/Components/IOS XX.X Support) for beginner developers , but for advanced developer there should be option to untick it and reduce huge download size. If it doesn't result in huge download size,then we have took a wrong turn somewhere.
0
1
232
Feb ’25
NSItemProvider make .jpg image to .jpeg
Hi, I'm not sure why but when my fileURL is .jpg file and I drop the file from my app to Finder folders it make the dropped file as .jpeg Is there a way to fix it? [.onDrag { if FileManager.default.fileExists(atPath: file.path) { // Provide the file as an item for dragging let fileURL = URL(fileURLWithPath: file.path) let itemProvider = NSItemProvider(contentsOf: fileURL) // Remove the file extension in the suggestedName let baseNameWithoutExtension = fileURL.deletingPathExtension().lastPathComponent itemProvider?.suggestedName = baseNameWithoutExtension return itemProvider ?? NSItemProvider() } else { // Handle the case where the file no longer exists print("File no longer exists at path: \(file.path)") return NSItemProvider() } })
0
0
358
Dec ’24
App review delay for critical bug fix in Trizz app
Is there anyone here who can provide an answer, or is it related to someone who belongs to the App Review department at Apple? We uploaded an app to the App Store and discovered a bug that disables activity. We uploaded an update with the bug fix and now we are waiting for Apple to review the latest version and approve uploading it to the store. Thousands of users are waiting and leaving us. Losses of a lot of money and more importantly - a bad user experience. If there is anyone here who can help us, or knows someone who can speed up the process, we are more than happy!!! It is critical and urgent. And yes, we signed up for Apple's fast track program... It didn't help. Thanks!
0
0
153
Jan ’25
Enterprise Developer Program Renewal
I am helping my company to renew the Enterprise Account, this exercise had been running smoothly in previous year. However, we did submit the application almost 1 month in advance, however, no reply or status update received yet. We had raised several tickets in support but helpless, our account is going to expired on 29-Dec-2024, anyone can share what should we do?
0
0
417
Dec ’24
Notice of Termination
Dear Apple Support Team, I am Tianwei Yue. I received your email this morning regarding the immediate termination of our Apple Developer Program License Agreement and Apple Developer Agreement, citing alleged fraudulent behavior and violations of certain terms. We are both surprised and deeply anxious about this decision. Firstly, the email mentioned that if we wish to file an official complaint under the applicable Platform Regulation, we could contact you via “Contact Us”. However, when I logged in with my account and clicked the “Contact Us” link, the system responded with “You’re not eligible to make this request.” We would appreciate guidance on how to properly submit an official complaint or if there is an alternative way to reach out for assistance. Secondly, I would like to emphasize that the “mathos ai” application operated under this account currently has over 3 million active users. Our application has consistently maintained a high user rating of 4.6 and a record of excellent service. The immediate deletion of our account has rendered the service inaccessible to a large number of customers who use Apple products, severely impacting their experience. We believe that this decision does not align with the shared values of customer care that both Apple and we have always upheld. We have always been proactive in handling user accounts, refunds, and payment issues, and we continuously strive to provide high-quality service to our users. Consequently, we are puzzled by the reason for the account suspension and believe that there might be some misunderstanding or miscommunication. We sincerely hope to connect with the relevant Apple personnel to understand the issue in detail and provide any necessary additional information to resolve any concerns and restore our service. Thank you very much for taking the time to read our email. We look forward to your prompt response so that we can resolve this issue and jointly safeguard the interests of our valued customers. Sincerely, Tianwei Yue
0
0
435
Feb ’25
Is it possible to send pushes through the Apple production server to an app running in Xcode?
I can sucessfully send pushes to an app (which has been installed/run via Xcode) when the pushes are going through the Apple sandbox server. However I want to test the server is configured correctly to send them through the Apple production server. In the Xcode scheme I tried to change the build configuration to release (and ticked debug executable off) ,however the pushes still only work when sent through the sandbox. Is there a way of installing/running the app using Xcode such that its compatible with the push production environment? Does the APS Environment entitlement come into play here? this only ever says development. (The app is on behalf of a 3rd party company, they've added me to their apple developer account but with limited powers, I can't upload to Testflight nor make an ad-hoc release with with to test with)
0
0
286
Jan ’25
How to custom swift playground preview application ($title.app) window size
I used Swift Playground to develop application in Mac OS. Also using ZStack I used limited area in full page (using .frame(width: $, height: $)). However using command + R or clicking start button to see preview .app, while non resizing application my ZStack show as cutted. Please tell me how to set preview .app frame size as width, height... The buttom code is ContentView.swift code. @main struct ContentView: App { init() { MyFont.registerFonts() } // @StateObject private var audioPlayer = AudioPlayer() var body: some Scene { WindowGroup { NavigationStack { StartMenuView() .frame(minWidth: 594, maxWidth: 594, minHeight: 1142, maxHeight: 1142) .preferredColorScheme(.dark) // Dark Mod .statusBar(hidden: true) // Hidden Status Bar .edgesIgnoringSafeArea(.all) // Ignoring Safe Area } } .windowResizability(.contentSize) } } Thank you for reading. ![]("https://developer.apple.com/forums/content/attachment/8ad9f219-6caa-49bf-b8c3-e4b7c91ab40f" "title=image.png;width=1050;height=803") ![]("https://developer.apple.com/forums/content/attachment/395ee85e-9543-4bfd-9caf-3ce3c2ca8414" "title=image2.png;width=1104;height=973")
0
0
314
Feb ’25
"Trouble connecting consumable In-App Purchases (IAP) to App Store Connect"
I am developing an app with support for In-App Purchases (IAP) for consumable products using StoreKit. I have defined the products in ProductList.plist and Product.storekit, but I am unable to connect them correctly to App Store Connect. Here are the details: Products defined in ProductList.plist: Bolet Evento Vip: com.cover.boleto.vip Boleto Evento Básico: com.cover.boleto.basico Configuration in Product.storekit: The products have prices and basic configurations, but they do not seem to link properly in App Store Connect. Steps I have taken: Configured IAP simulation in Xcode. Attempted to register the products in App Store Connect. Issues I am facing: The products are not appearing in App Store Connect after configuration. My app cannot seem to fetch consumable products from App Store Connect. Question: What steps should I follow to correctly register consumable products in App Store Connect and connect the app with StoreKit for production? Any advice or guidance would be greatly appreciated. Thank you!
0
1
362
Dec ’24
Developer membership renew button not showing
My membership got expired and I don't see the renew button anywhere on the website or the developer app. In my case, I have changed the developer account email address 6 months ago and the new email was not mapped for renewal that's why the renew button was not showing (I guess). I tried to reach to Apple support, the phone support wasn't available so I wrote couple of emails. After 48 hrs they have sent an email saying the new email address has been mapped but still I see no renew button. I added required funds and disabled the auto-renew option yet no hope. it's been four days still no replay from Apple. I was constantly checking for the phone support. Today I saw phone support was available so I immediately requested the call and explained the support staff about my situation and he fixed within a minute. so guys if you are facing similar issue and see no solution even after contacting multiple times via emails, wait for phone support and request a call. This is the fastest and efficient way to resolve this "renew" issue. add the required funds so that the subscription payment will be done instantly. Have a good day y'll
0
0
297
Feb ’25
Unable to Access Organization Developer Account – “Join Now” Appears
Our organization has an active Apple Developer membership, but since last month, we’ve been unable to access our team information or manage certificates. Our apps are still active in App Store Connect, but we cannot update them. On the Developer account page, a “Join Now” button appears, but clicking it results in the message: “Your Apple Account is already associated with the account holder of a membership.” Additionally, this account was originally registered with an older email when it was used to create a personal developer account in 2015—nearly 10 years ago. We do not know if this is causing the issue. We have contacted Apple many times but no reply within one month. Any guidance or assistance would be greatly appreciated. Thanks!
0
0
271
Feb ’25
Apple Wallet extension
I'm implementing Apple wallet extension in an iOS app. Currently following this documentation https://developer.apple.com/documentation/passkit/implementing-wallet-extensions I'm facing challages while testing the extension. Any suggestion how can i test it during developmet. Like if i want to test the storyboard from Wallet UI extension. Any suggestions or helping material would be appriciated.
0
0
533
Dec ’24
Unincluded dependencies failing to build for watchOS companion app.
When trying to use the watchOS preview the simulator fails to load and throws about 15 errors. Clearly the simulator is trying to load all of the iOS packages to the watchOS simulator. However, these packages clearly aren't included in the watchOS app. Furthermore, both apps build successfully to the main simulators, just not the previews. Having a list of errors that simply should not be there is a pretty big annoyance when something is going wrong. How do I fix this?
0
0
288
Feb ’25
The local player is not authenticated. Please log the local player in to Game Center.
I'm receiving this error when attempting to log into my game and authenticating via Firebase and Game Center. I am using Unity to develop my game and have been able to successfully authenticate with Google Play and Apple Sign In but Game Center is giving some trouble. The error seems easy enough except I have triple checked that I am signed in to Game Center with the profile that is set up in Sandbox Testing. Other things I have verified: I have a provisioning profile and game center is on it. In xCode I have Game Center on my signing capabilities, entitlements, and have the GameKit.framework in my Link Binary with Libraries. Any ideas as to what may be causing this error to throw? Maybe another step I missed somewhere?
0
0
296
Jan ’25
dyld: Symbol not found ... certain MeshResource APIs on iOS 17.x
I submitted feedback as FB16463501 -- posting here for others to see, or maybe for Apple to share any help if there are workarounds, etc.: Targets below iOS 18.x fail to launch app due to dyld[xxxxx]: Symbol not found: errors when referencing: MeshResource.init(from:) async - https://developer.apple.com/documentation/realitykit/meshresource/init(from:)-b7hb i.e. dyld[61511]: Symbol not found: _$s10RealityKit12MeshResourceC0A10FoundationE4fromACSayAD0C10DescriptorVG_tYaKcfC MeshResource.replace(with:) async - https://developer.apple.com/documentation/realitykit/meshresource/replace(with:)-8uvri i.e. dyld[78830]: Symbol not found: _$s10RealityKit12MeshResourceC0A10FoundationE7replace4withyAcDE8ContentsV_tYaKF Targets tested that exhibit issue: (DYLD errors) Device: iOS 17.7.2, iPhone 14 Pro Max Simulator: iOS 17.5 (21F79), iPhone 15 System Information: macOS Version 15.3 (Build 24D60) Xcode 16.2 (23507) (Build 16C5032a) MRE -- include this code in your app: (no need to invoke, just reference) static func addOrUpdateEntityModel_MRE(_ entity: ModelEntity) async { let descriptor = MeshDescriptor(name: "MyDescriptor") do { if let modelComponent = entity.model { // update existing ModelComponent if let model = try? MeshResource.Model(id: "MyModelId", descriptors: [descriptor]) { var contents = MeshResource.Contents() contents.models = .init([model]) try await modelComponent.mesh.replace(with: contents) /// `dyld[78830]: Symbol not found: _$s10RealityKit12MeshResourceC0A10FoundationE7replace4withyAcDE8ContentsV_tYaKF` } } else { //create new ModelComponent /// Comment-out the 2 lines below == dyld error for above `MeshResource.replace(with:)` let meshRes = try await MeshResource(from: [descriptor]) /// `dyld[61511]: Symbol not found: _$s10RealityKit12MeshResourceC0A10FoundationE4fromACSayAD0C10DescriptorVG_tYaKcfC` entity.model = .init(mesh: meshRes, materials: [SimpleMaterial()]) } } catch { fatalError() } }
0
0
504
Feb ’25