Hi everybody:
I want to Sign In with Apple in simulator with the purpose of double check the flow with UITesting, but I'm not able to do it.
The simulator stuck in password textfield once the password is entered in, and the button is accepted. (The button appears disable for a second and then again it is going enable, but the textfield loading still appears).
are there any trick to test it from UI with simulator?
Thanks in advance.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi community:
I'm looking for a way to remove AppDelegate from my app because I'm only using it to get the push device token to share with my server.
Is there a way to get it without implementing AppDelegate or its protocol?
Thanks in advance
Hi community:
Is there any way to make ci_post_clone as a swift script instead of a bash one?
Thanks in advance.
Hi, community:
I came up with another bug (I guess), Xcode sometimes does not include library items on the Xcode library list. I mean, even the basic example that Xcode does, is not included in the library in Xcode 14.2.
Sometimes, It takes 15-30 min to index the items ...
Someone has found a workaround for it?
Thanks in advance
Hi community:
I get an error using inflection on strings when the language is Spanish.
Issue: [Inflection] Cannot use Morphun, (Checking that the token is the correct type): (null)
The code:
let value = "5 dias"
var string = AttributedString(localized: "El primer \(value) es gratis")
var morphology = Morphology()
morphology.number = .plural
string.inflect = InflectionRule(morphology: morphology)
let result = string.inflected()
Any workaround to solve it?
Hi:
I'm wondering why dragging and dropping an APNs file to the simulator worked as expected and, now with Xcode 14.3 it doesn't.
I mean the object userInfo:
let notification: UNNotification ....
let userInfo = notification.request.content.userInfo
Now contains all the JSON, and before only the user Info.
The APNS file is this:
{
"aps":{
"alert":{
"title":"Title",
"body":"BODY",
},
"badge":0,
"key1":"valu1",
"category": "category"
},
"Simulator Target Bundle":"com.app.bundle"
}
What I get now is:
(lldb) po userInfo
▿ 2 elements
▿ 0 : 2 elements
▿ key : AnyHashable("aps")
- value : "aps"
▿ value : 4 elements
▿ 0 : 2 elements
- key : category
- value : category
▿ 1 : 2 elements
- key : alert
▿ value : 2 elements
▿ 0 : 2 elements
- key : title
- value : Title
▿ 1 : 2 elements
- key : body
- value : BODY
▿ 2 : 2 elements
- key : badge
- value : 0
▿ 3 : 2 elements
- key : key1
- value : valu1
▿ 1 : 2 elements
▿ key : AnyHashable("Simulator Target Bundle")
- value : "Simulator Target Bundle"
- value : com.app.bundle
What I should get
▿ 2 elements
▿ 0 : 2 elements
▿ key : AnyHashable("key1")
- value : "key1"
- value : valu1
Maybe it is something related to the last change on pushes @eskimo? I mean, now web pushes are allowed.
Thanks in advance
Hi community
I tried to get the feminine of "one" in spanish but when I tried, in Spanish the result is "uno" instead of "una".
Any ideas?
let attributedString = AttributedString(localized: "uno")
attributedString.languageIdentifier = "es"
var morphology = Morphology()
morphology.grammaticalGender = .feminine
attributedString.morphology = morphology
attributedString.inflect = .explicit(morphology)
print(String(attributedString.inflected().characters)) // uno
Thanks in advance
Hi community.
I was looking for a way to make word segmentation of a string without delimiters and spaces. Apple's Natural language framework does not provide this (I think is strange).
I want to achieve something like this:
Input: "makesenseofthis"
Output: ["make", "sense", "of", "this"]
Any third party to do it? Maybe is there any Apple API?
Thanks in advance
Hi:
Is there any way to know if the user has screen time enabled?
Thanks in advance
Hi:
I'm trying to get the code coverage from a workflow build.
I have a workflow with 2 actions (action1 and action2 in the rest of the text), both are tests (one unit and one UI test).
When an action runs the post-xcodebuild script, the artifacts are not archived as I can see in the explanation:
https://developer.apple.com/documentation/xcode/writing-custom-build-scripts
Even, each action ends at a different time.
How can I get programmatically the xcresults in an automated way? (action1 and action2 have different xcresults). I don't want to use fastlane or build up any server.
Also, When Does run a scheme test post-action? After the post-Xcode build script run or after the archive of results?
Is there any way in which the GitHub Xcode app generates an event in GitHub when all action archives end to retrieve the code coverage or the results?
Also, I can't see the Xcode cloud code coverage sum in an Xcode window, How can I see it (The whole coverage action1 test result + action2 test result)
Thanks in advance
Hi community:
I was reading about how to get featured on the App Store home, and I saw that there's a form.
Must be filled with the "account holder" account, or whichever is okay.
Are there any tips, about how to fill it to get featured?
Thanks in advance
Hi:
I want to know how to schedule a local notification in tvOS and when you tap it, open the app.
I was reading the documentation: https://developer.apple.com/documentation/usernotifications/unnotificationcontent
And I don't know why the title and body, for example, are unavailable for tvOS.
Any help is welcome.
Thanks in advance.
I don't know if the page was shut down, or it's temporary unavailable
https://search.developer.apple.com/appsearch-validation-tool
Hi:
When I type on spotlight the name of my app, the App Store section does not show my app to download, unless I write "myAppname app".
Also, in the simulator, if I put the app name and keep pressing the option it shows the app, but no in other cases.
Any ideas about why it is?
Thanks in advance
Hello:
I was reading about Mail Privacy Protection because a customer issue case, and how it don't work with VPNs. The final user sees all the time a message on the email top, and then the final user claims to the vpn owner.
Which are the hostnames to set in the VPN as whitelisted to remove the message from there?
Thanks in advance