Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

Linking static libraries openssl to Xcode 15.2 project fails due to link errors
Hello, I used to add openssl static libraries (libssl.a, libcrypto.a) that, I created on Mac, and add them after to my C++ project within XCode. With Xcode 14.2 (and before) all works fine. Switching to Xcode 15.2, tons of link errors rise (ld: Undefined symbols). I tried _ld_classic to force use 'old' linker but no success. Rebuild the static libraries with multiple config param or upgrade to recent openssl library does not help. Any clues what went wrong when linking static libraries with Xcode 15.2 project? Thx.
0
0
175
Jan ’25
[Xcode:BuildSettings] Keep some warnings as warnings while the rest as errors
We have a big iOS project and we are using .xcconfig files to define our compiler options and build settings. We have our SWIFT_TREAT_WARNINGS_AS_ERRORS set to YES so that all Swift related warnings will be reported as errors. Now, we are trying to migrate to Xcode 16.1 and set 'targeted' in the 'Strict Concurrency Checking' flag. This produces some errors that are related to Swift's concurrency checks. We are now planning to have an approach where we still want to keep SWIFT_TREAT_WARNINGS_AS_ERRORS as is but we want all concurrency related warnings to be still treated as warnings while the rest will get reported as errors. We found this new compiler option - https://forums.swift.org/t/warnings-as-errors-exceptions/72925. It looks like the one we want but I think it is still not out yet and we need to wait until Swift 6.1 (correct me if im wrong). Or is there any other way to do what we want to achieve?
0
0
358
Jan ’25
Apple Developer Program
Hello, i have apple account with name droob app, i am trying to enroll to apple developer program, with my name, but when i submit the requested fields , i get this message : Your enrollment in the Apple Developer Program could not be completed at this time. what should i do to complete enrollment process
0
0
273
Dec ’24
I get an error message when I try to enroll in the Apple Developer Account
I'm trying to enroll in the Apple Developer Account, but when I click on "subscribe," I get an error message that says, "Your purchase could not be completed. For assistance, contact iTunes Support." I've already added UPI as a payment method in the App Store and added 100 rupees from UPI to my Apple account.
1
0
305
Jan ’25
Inquiry Regarding Refund Process, Developer Commission, and Revenue Payout
Hello Apple Developer Support, I hope this post finds you well. I have several questions regarding the refund process, developer commission, and revenue payout, and I would appreciate your insights on the following: 1/ Refund Process: When a customer cancels an order, when will Apple process the refund for the developer? How long does it typically take for developers to receive the refunded amount? 2/Developer Commission: How does the commission for developers work in the event of a refund? Does Apple adjust the commission or deduct any percentage in case of a refund? 3/Refund Notifications: Is there a notification system that alerts developers when a customer cancels an order and a refund is processed? 4/Revenue Payout: How long does it take developers to receive the revenue from purchases, and is there a specific payout schedule for this? 5/Commission Percentage for Small Earnings: If the developer's total earnings are under 1 million VND, what is the commission rate that applies? Thank you in advance for your assistance. I look forward to your response.
0
0
343
Dec ’24
How to let instruments - app launch template wait for process to launch , rather than actively launch by instruments
Hi there, How to let instruments - app launch template wait for process to launch , rather than actively launch by instruments? I need to profile the app launch performance when clicking a push notification or cold launch via a url link. How to let instruments to wait for the process and collect the data? Currently, I tried the command xctrace record --template "App Launch" --attach MyApp --device-name 'Phone-Dev' --output mytrace.trace But it soon failed with 'Cannot find process matching name: MyApp'. How to make it work?
0
0
509
Jan ’25
How to remove registered iPhone devices from account without Developer status
Hi, I am looking for work right now and not able to afford the Developer account/license, is it possible to remove all currently registered iPhone devices from my development account? All of the devices registered are long from the past and no longer available. How do I clear these out so I can test apps out against my current iPhone? Thanks! 😊
1
0
354
Jan ’25
Xcode simulator & preview not loading
Hello, I recently decided to start learning how to code for iOS. I don't have much coding experience but I still wanted to explore it for fun at least. I downloaded Xcode on my Macbook, and opened a new iOS file after downloading iOS 18.1 so I could run the simulator/get a preview of my code. Even though I only had the basic "Hello World!" that is auto-generated in my code, the preview would never show and sat at a loading screen for multiple hours, saying "Preparing (Automatic) iPhone Simulator" at the top. There is probably a simple solution that I'm missing. I would appreciate any tips! Thanks.
2
0
937
Dec ’24
How are the "Mine" branches listed during a manual start determined?
Issue with "Mine" Branch Not Displaying After Switching GitHub Accounts in XcodeCloud I have been using XcodeCloud for a while. Recently, in one of my projects, I switched from using my personal GitHub account to a separate GitHub account for work purposes. Since then, when I manually start a workflow, nothing is displayed under the "Mine" section on the branch selection screen. I suspect that Xcode is attempting to list branches from the previously used account, causing branches from my new account not to appear. Where are these old account settings stored, and how can I reset them? For reference: In Xcode's Accounts settings, only the new GitHub account is present—the old account is no longer listed. The git user in the local repository has also been updated to the new one. Any assistance on how to resolve this issue would be greatly appreciated!
0
0
383
Jan ’25
Apple Payment Approval Delays - No Response from Support
Hi everyone, I’m reaching out here because I’m honestly frustrated with Apple’s lack of response regarding my payment approval. It’s been over two weeks, and I’m still waiting for my payment to be processed. This is seriously impacting my workflow and financial planning. I’ve also opened two support tickets, but unfortunately, I haven’t received any meaningful response or updates. I’ve tried being patient, but it’s hard to stay optimistic when there’s no communication or timeline for resolution. Has anyone else faced similar issues recently? If so, how did you manage to get it resolved? I’d appreciate any tips or suggestions, as I’m unsure what else I can do to expedite this process. Thanks in advance for your help!
1
0
194
Dec ’24
Xcode debug memory graph bug
NSTimer keeps a strong reference of a ViewController, but in Xcode Memory graph debugger it shows it as a weak reference ( i.e by a non-darker line ). is this expected or a bug? Context : I was fixing a memory leak issue, where the Timer inside the View controller was Not invalidated properly ( In turn Not allowing my view controller to get deallocated, even after being dismissed ). So, when I invalidated the timer, View controller also got properly deallocated. which means Timer was indeed keeping a strong reference! Then why is it showing as a weak reference in the Xcode Debug Memory graph?
1
0
251
Jan ’25
Vision Framework Causes EXC_BREAKPOINT Error in Xcode App Playground (.swiftpm) File
I’m trying to use the Vision framework in a Swift Playground to perform face detection on an image. The following code works perfectly when I run it in a regular Xcode project, but in an App Playground, I get the error: Thread 12: EXC_BREAKPOINT (code=1, subcode=0x10321c2a8) Here's the code: import SwiftUI import Vision struct ContentView: View { var body: some View { VStack { Text("Face Detection") .font(.largeTitle) .padding() Image("me") .resizable() .aspectRatio(contentMode: .fit) .onAppear { detectFace() } } } func detectFace() { guard let cgImage = UIImage(named: "me")?.cgImage else { return } let request = VNDetectFaceRectanglesRequest { request, error in if let results = request.results as? [VNFaceObservation] { print("Detected \(results.count) face(s).") for face in results { print("Bounding Box: \(face.boundingBox)") } } else { print("No faces detected.") } } let handler = VNImageRequestHandler(cgImage: cgImage, options: [:]) do { try handler.perform([request]) // This line causes the error. } catch { print("Failed to perform Vision request: \(error)") } } } The error occurs on this line: try handler.perform([request]) Details: This code runs fine in a normal Xcode project (.xcodeproj). I'm using an App Playground instead (.swiftpm). The image is being included in the .xcassets folder. Is there any way I can mitigate this issue? Please do not recommend switching to .xcodeproj, as I am making a submission for Apple's Swift Student Challenge, and they require that I use .swiftpm.
1
0
461
Dec ’24