Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

Why is Toggle's value not changed in Xcode cloud?
In the code below, the check for the toggle value passed in my xcode. However, it failed in cloud, i.e., that value was still "0" after being tapped. func testToggle() throws { let app = XCUIApplication() app.launch() let fieldName = "MyToggle" let field = app.switches[fieldName] XCTAssertTrue(field.exists, "Field '\(fieldName)' should exist|debug = \(app.debugDescription)") let firstMatch = field.switches.firstMatch firstMatch.tap() #if FAILED_XCODE_CLOUD // Verify the toggle/switch is in the desired state XCTAssertEqual(firstMatch.value as? String, "1", "Field '\(fieldName)' should be ON|debug = \(app.debugDescription)") // "1" is On, "0" is Off #endif } In addition, I'd also like to ask why a traverse to firstMatch is needed?
0
0
270
Nov ’24
Pass Launch arguments in xcodebuild command
Hi, I need to pass the launch arguments through xcodebuild command. Is there a way to do it? I know we can edit scheme and add launch argument but it needs to be added to through command line. P.S: I'm using azure devops @Xcode5 to build and sign the .ipa xcodebuild -sdk iphoneos -configuration Debug -workspace my.xcworkspace -scheme myScheme clean CODE_SIGNING_ALLOWED=NO -launchArgument "MyLaunchArguments"
0
0
625
Nov ’24
When application merges libswift_concurrency.dylib is duplicated in app binary
Environment: Xcode 16.1 Swift version: 6.0.2 Inside of an Xcode project, if I declare a framework and an application. The framework is mergeable and the application merges the framework by configuring MERGE_BINARY_TYPE to Manual (or automatic it's independent). If SWIFT_VERSION is set to 6.0.X and deployment target is set to iOS 15< the build is going to fail because of this error Duplicate linked dylib '@rpath/libswift_Concurrency.dylib' in '/Users/**/Library/Developer/Xcode/DerivedData/GSPackage-dvnngsrgctfovgfbvwdlsscfycyq/Build/Products/Debug-iphonesimulator/DummyApp.app/DummyApp.debug.dylib' If I'm checking the generated artifact and inspect all of it's @rpath with otool it's giving me the following: otool -L /Users/****/Library/Developer/Xcode/DerivedData/Dummy-gbccsjwxeajftsafghxzaqksgfim/Build/Products/Debug-iphonesimulator/Dummy.app/Dummy.debug.dylib | grep @rpath @rpath/Dummy.debug.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0, weak) @rpath/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0, weak) A radar is already opened with the ID: FB15693702
0
0
563
Nov ’24
Multiple dynamic libraries in a package under SPM
We are currently building an app in Swift, reusing an internal C++ backend used in other platforms ( Linux/Windows/Mac ). Current state of the project: App W - ( Swift App ) Package X - Swift Package Y.xcframework - Binary Target (ios-arm64 and ios-arm64-simulator) Z.framework Z - (C++ Backend as a library) Dynamic Library Headers - Library header files Frameworks (Folder) - Required .dylib’s for Z ( libA.dylib (Dependency of Z) [ 58 of them ] libB.dylib (Runtime dependency of python) [ 123 of them ] data - Supporting binary files for Z conf - Supporting configuration files, both text and binary. for Z python - Supporting .py scripts C.py D.py Z.framework ( C++ ) contains 182 Dynamic Libraries. Goal: Validate the app for distribution with the Apple Store validation tool. Learning when trying to solve the problem: A framework can contain only one dynamic library (e.g. .dylib ) A framework cannot have nested frameworks within a Frameworks folder Certain file types within a framework are not treated as resource files (e.g. .py files) Possible solutions Allow to have nested Frameworks in Z.framework. It’s currently not allowed Link 182 dynamic libraries into the project via SPM Problem: Some of the libraries need to dynamically loaded at runtime (related to the python runtime) Making the libraries static adds significantly technical challenges to the Z.framework. Other questions: What’s the best way to achieve this
1
0
489
Nov ’24
Elementos no responden a un toque xcode
Desarrolle una app en xcode 16 para version minima de ios 16, todo funcionaba bien hasta la version 17 de ios, pero para ios 18 empezaron los problemas, los botones no responden a un toque, se deben sostener con un toque largo para que funcionen, ahora de un momento a otro ya no funciona para ninguna version de ios, los eventos tactiles deben ser prolongados para que se activen, en los botones o elementos que usan el tapgesture, he probado de todo versiones de xcode, versiones de swiftui, dispostivos reales, emuladores de todo y nada funciona, algun consejo o solucion gracias
0
0
294
Nov ’24
Enrollment Payment Made 5 Days Ago – Account Still Not Activated and No Response from Support
Hello everyone, I need some help or advice regarding my Apple Developer Program enrollment. I paid the enrollment fee 5 days ago, but my account has not yet been activated. Additionally, there’s no visible indication of the status or progress of my application. I’ve reached out to Apple Support via email twice, but I haven’t received any response so far. Has anyone experienced a similar situation? If so, how long did it take to resolve? Is there any other way to get in touch with Apple Developer Support for a faster resolution? Thank you in advance for your help!
0
0
284
Nov ’24
Payment Error
Hi, I hope you're doing well. I am adding across this post because I keep getting an error while I go to purchase the apple developer program support. I recently got approval to register on behalf of my organization, but I am not being able to move forward with the payment. Since I am registering from India, it only lets me add UPI or net banking on the App Store as payment methods. I am also unable to change my payment methods in settings, it just says card on file. Need help in purchasing this subscription. Prompts I get Your purchase could not be completed. For assistance, contact iTunes support. It then says purchase failed an unknown error has occurred.
1
0
411
Nov ’24
Mapping between opaque review IDs and old numeric IDs
I have an existing system that fetches reviews for an app from the following URL: https://itunes.apple.com/en/rss/customerreviews/?id=[numeric app ID] The response from this URL gives review IDs in numeric format, for example 11990822406. I'd like to use the new API described here to fetch any review response, but the new API only accepts an opaque review ID, for example 00000037-1653-fg99-8224-821b00000000. Is there any way to map from the numeric review ID to the opaque ID?
0
0
233
Nov ’24
Apple Developer Program payment not processing
Hi, Would love your advice. My app has been ready for months, but I've been trying to pay for the Apple Developer enrolment and I'm not having any luck. I'm in Australia and first I tried all my cards- credit cards, mastercards, visas and debit cards. They would seem to process and be marked as pending and would never process. I then tried the Apple App Store and all the same cards could make payments there. I emailed Apple and they said I can use alternative payments on the Apple Developer App. I downloaded the App and then it said that enrolment through the App is not available in my region. I tried on an iphone, ipad and laptop. All the same answer. Now, I'm not getting a response to my emails to the Apple Developer Help desk. It's really difficult because my google app has been functional for months and my customers keep asking me when the Apple version will be available. Have you guys had anything that worked? Any help or suggestion, gratefully received!
0
0
282
Nov ’24
3 weeks no response from apple
I have been waiting for 3 weeks now to get enrolled in the Apple Developer Program. My app is already very delayed, I am very disappointed by the fact that Apple states that it only takes 2 business days. I can't find anywhere to contact them here in Denmark, sadly and they don't respond via their contact form. Very frustrating experience. Anyone in a similar situation?
0
0
182
Nov ’24
Developer account cannot be used, unable to find renewal entry
Hi, we need to restore the developer plan and submit a new iOS app for review. Currently our account does not have permission to log in to the developer backend. Clicking on the account page only has one message box, and after submitting the message, there has been no resolution, only receiving emails that are currently being processed. It has been a month since then, and the phone call also asked me to go to the Apple developer website for help. Who can help me. thank you! What is the reason why my account cannot be used normally? How can I operate it on my end to use my account normally!
0
0
163
Nov ’24
Archive Failed On Xcode 16
I am using TXLiteAVSDK_Player package dependencies and now when I want to archive and distribute an app I get this two warnings : Upload Symbols Failed The archive did not include a dSYM for the TXFFmpeg.framework with the UUIDs [1xxxxxx]. Ensure that the archive's dSYM folder includes a DWARF file for TXFFmpeg.framework with the expected UUIDs. Upload Symbols Failed The archive did not include a dSYM for the TXSoundTouch.framework with the UUIDs [Axxxx]. Ensure that the archive's dSYM folder includes a DWARF file for TXSoundTouch.framework with the expected UUIDs. My system is macOS sonoma 14.5 and Xcode is 16.0. How can I eliminate this warning?
3
0
2.6k
Dec ’24
Having issue completing enrollment
Hello We've tried to "purchase" our membership on the 6th of November, entered valid billing information, but still didn't receive back any feedback from apple. Previously with other accounts we didn't encounter any issue, but now for some reason apple support is not answering us back (left 3 tickets, they are all open, where the oldest is open for over a week without a reply back from apple) Did anybody encounter this before? is there another way to contact apple to get their help? Thanks in advance
3
0
311
Nov ’24
Run test specific setup logic on different target
Our use case is that we need to run a CLI script (on Mac) to set up backend configuration before each test case (UI test on real iOS device). The setup logic is test specific, so using pre-build scripts is not an option. Is this support in any way or what are best practices around such a setup? Ideally, we would still be able to execute the tests from within Xcode.
0
0
350
Nov ’24
Localization Issue with Multiple Build Targets in Xcode - One Target Not Recognizing Localizable.strings File
Hello Apple Developer Community, I'm experiencing an issue with localization in my Xcode project that has two build targets, "Build X" and "Build Y." Both targets are set up to support the same language, but they each have slightly different wording, which is why I've created separate Localizable.strings files for each build target. Here's an overview of my setup: Project Structure I have a Localizable folder with two subfolders: Localizable/OrdnerX/Localizable.strings (for Build X) Localizable/OrdnerY/Localizable.strings (for Build Y) Configuration In the File Inspector, I’ve assigned each Localizable.strings file to its corresponding build target: OrdnerX/Localizable.strings is linked to Build X OrdnerY/Localizable.strings is linked to Build Y Under Build Phases, I verified that each build target references the correct Localizable.strings file. The paths are all correctly set, so each target should know where to find its respective localization file. Problem When I build and run Build X, everything works perfectly. The app displays the correct localized strings from OrdnerX/Localizable.strings. However, when I switch to Build Y, the app fails to find the localized strings from OrdnerY/Localizable.strings, and I’m left with placeholder text instead. I’ve double-checked the configurations for both build targets multiple times, and they appear identical. The Localizable.strings files for both targets are configured in exactly the same way, but Build Y just doesn’t seem to recognize its assigned localization file. Has anyone encountered a similar issue, or can anyone suggest potential fixes? I’d appreciate any advice on what might be causing this discrepancy. Thank you in advance!
0
0
141
Nov ’24
Issue Accessing Apple Developer Program – Payment Confirmation Received, No Further Action
Hello, I’m encountering a problem while trying to join the Apple Developer Program from Argentina. Each time I submit a payment, I receive a confirmation email stating: Dear Agustin Oberg, Thank you for your order. Here's a summary of your order request, which will be processed within 2 business days. We'll notify you when your items are ready. Order Details: Apple Developer Program US$ 99 Best regards, Apple Developer Relations However, despite this message, no further actions are taken, and I am still unable to access the program. I’ve tried multiple credit cards and submitted payments on several occasions, but the issue persists. Is there anyone who has faced a similar problem or can offer advice on how to resolve this? I would appreciate any assistance or guidance to complete my registration successfully. Thank you!
0
0
286
Nov ’24