Post

Replies

Boosts

Views

Activity

Scheme Setting Not Persisting For Associated Target
I have an Xcode 15.4 project with 4 targets (i.e. 2 UI and 2 CLI). Next, I'm looking to set a unique scheme for each target but it keeps changing to one of the previously set schemes. For example, I have the following four targets and I would like to have the associated: Target 1 - > Scheme 1 Target 2 -> Scheme 2 Target 3 -> Scheme 3 Target 4 -> Scheme 4 When the target is selected, shouldn't the corresponding scheme be updated in the Xcode toolbar? Or is there a setting that I'm missing to enable/disable within Xcode that would resolve this issue? Finally, I'm seeing similar behavior in Xcode 16 beta 1.
0
0
39
6h
IDE generated *varname problem
When Xcode IDE inserts IBOutlet or autocompletes method signatures, it places the * char next to the var name: @property (weak) IBOutlet NSButton *aButton; - (NSString *)someMethod:(NSString *)param1 { } But my convention is put the * char right after the type name: @property (weak) IBOutlet NSButton* aButton; - (NSString*)someMethod:(NSString*)param1 { } Is there anyway to tell Xcode to follow my convention?
0
0
33
7h
Mac UI Tests Failing to Detect Out-of-Hierarchy Elements
Overview macOS test application is unable to detect elements beyond a certain length during UI testing after an Xcode(14/15) update. Issue Description We have a test app for both iOS and macOS, sharing the same code except for different UI implementations. During UI tests, the app opens a webpage in WKWebView. This is a long webpage with multiple sections, approximately 200 for the sake of clarity. The app screen can show 4 elements at a time. Our UI tests navigate to each section and perform various tasks. Since upgrading from Xcode 13 to 15, we've encountered an issue specifically on macOS (unsure if it's related to Swift or Xcode). Our Mac UI test i.e. XCUIApplication() is unable to find elements beyond a certain length, which appear to be out of the view hierarchy. When we use app.debugDescription, it only returns 180 sections, missing the last 20. The HTML code of the webpage is consistent, with all sections structured similarly. Troubleshooting Steps Accessibility Inspector: Using Xcode’s Accessibility Inspector yields the same result, detecting only 180 sections. Manual Scrolling: We tried manually scrolling to the missing sections. Although we can see these sections on the screen, app.debugDescription still only reports 180 sections, causing the UI test to fail in recognizing the last 20 sections. Deleting Sections: If we delete the top 20 sections of the webpage, it can then find the 200th element. This suggests we might be hitting some limit or restriction we are not aware of. However, on iOS, the same webpage returns all 200 sections without issue. Additional Information This issue is causing a problem only on the Mac app. In our Cocoa Mac application, we are using NSTabView, if that information helps with the investigation. We are wondering if there are any settings or flags we might have missed? Request for Assistance Any help would be greatly appreciated, as this issue is currently blocking us and it was working fine in the previous version. Question Is there any way we can bring those 20 elements into the hierarchy?
0
0
42
11h
Retrieving Zip/Postal Code from Subscriptions and In-App Purchases
Hi, I'm currently working on a application on the server-side that is attempting to generate analytics from our application's user's subscription and in-app purchases. One of the pieces of information that we need is the purchaser's zip/postal code for financial reporting. I noticed Google provides this information in their monthly earnings reports, but Apple seems to omit this field. That being said, is possible to obtain a purchaser's postal/zip code through an api, server notifications, or anything?
0
0
38
12h
Account holder apple id disabled. How to renew the membership?
Hello, We can't renew the annual membership because The Apple ID of our account holder has been disabled (he can't log in anymore). We have contacted the support to reactivate the apple id but they refused. So we can't even transfer the ownership to another admin account. Is there another way to renew the membership and agree to the program license agreement to continue publishing and maintaining our apps? Thank you in advance.
1
0
32
13h
Issue with Activation of Apple Developer Program Subscription
Hello! I was charged 99usd from my card for a subscription to the apple developer program for 1 year, but the activation message has not come for 2 days and says "you will soon receive a message in the mail" please can you help me with this, I wrote to support, I have been waiting for more than 1 day for help and they have not replied to me Thank you in advance for your help!
0
0
46
16h
Accesing Files in Thumbnail Extension and Quick Look Extension
I am developing Thumbnail Extension. To prepare a graphic (in .dylib) for file specified in URL.path I need to access second file, which has the same filename, but different extension. For example, I have "data" in file.*** and "colors" in file.yyy. Is it possible to read data from this second file while processing the first file in my extension? In my current implementation it sometimes works, but most of the time it doesn't work - it is not possible to read data from file.yyy when preparing thumbnail for file.***, causing exception in my .dylib routine. Is there some setting which would allow me to do this?
0
0
34
17h
command line tools for Monterey 12.7.5
I am working on a MacBook Pro running Monterey 12.7.5 in the past I installed command line tools and developed fine. since then I had a problem with the MacBook re installed the whole OS and basically I want to start developing again. I am trying to instal command line tools without installing all of Xcode. but when I downloaded some version of it, it said my OS was too old. then I tried all of the versions that start with "12" and it wouldn't install because it said my OS was to new. what should I do? thanks yoav
0
1
42
17h
Invalid Submission (on enroll Apple Developer Program)
I'm trying to join the program, but I can't get verified. I get this error: Invalid Submission Your identity couldn't be verified because the ID you submitted isn't accepted for your region or doesn't match the document type you selected. Please try again. Now I live in Spain, but my RESIDENCE PERMIT (TIE) document is not accepted. Can you tell me which documents are valid for Spain?
0
0
27
1d
iOS 18 isn't an option to run my app in simulator - xcode 16 beta
what could be the reason? i open my app in xcode 16. build completes successfully. i am only given the options to simulate in iOS 17, 17.2 or 17.5. none of the devices show the option to run in iOS 18. but i am able to go into the simulator and through file and open the iOS 18 simulator. just not able to run my app in there. my app is set in xcode to run with a minimum of iOS 16. any ideas?
1
0
70
1d
iphone 13 after update ios18 screen is not working,and port charge is not respond
hello yesterday was testing the new ios 18 in my iphone 13 after finish the update, the device is not recieving charge from original charger with original cable, i reboot that from ios normal, and now not recieve any instruction in the screen, how i can fix that? i connect itunes and not recognoce iphone, and i canoot shoutdown... somebody that can help with this super issue
0
0
66
1d
Difficulties getting Xcode Cloud to automatically build when a commit is pushed
Hello! I'm having difficulties getting Xcode Cloud to see new changes to my files in my project that are being pushed. Previously, this was due to some network situation on my GitLab self-hosted server. This has likely been changed but I'm having difficulties because I tried to use an integration in GitLab for App Store Connect which isn't the same as Xcode Cloud and so as a result it didn't work. I tried starting over and setting up the system from scratch but the web hook hasn't appeared as it had done the first time I set it up. Does anyone know how to set up the web hook manually for Xcode Cloud so that Xcode Cloud is notified when a new push and other relevant events occur in my repository? The web hook that was previously there would error when I tried testing it on the GitLab end, but since I had deleted it, the web hook is not longer present and I was unable to recreate it as part of the setup procedure because it was pretty opaque to me the first time around and I followed the procedure in the documentation to get it to work. Xcode Cloud works fine when I manually start a build.
1
0
66
1d
dyld: Symbol not found: ScrollView scrollDisabled
With 16.0b1, I am seeing a runtime error of: Symbol not found: _$s7SwiftUI10ScrollViewV14scrollDisabledyACyxGSbF This happens in both our app and test host apps. We are using Simulator 17.0.1. Has anyone else seen this issue? I'm still looking for anything that might be amiss, but it looks fine and runs on 15.4 fine. Edit: I have confirmed that this only happens when running 17.x simulators.
2
1
54
1d