Post

Replies

Boosts

Views

Activity

Reply to publish apps on apple store
so i have to create a site? Yes. (It could be extremely basic.) what should i indicate for privacy? I don't know, what actually is your privacy policy? Will you be collecting all of your users' financial information and selling that to criminals, for example? If that is your plan then you need to disclose that in your privacy policy. If you don't collect any information then your privacy policy could be extremely short.  I downloaded some pngs that I use in the app, it says that it can be used for apps or something else, should I indicate this? That depends on what they require. For example, Creative Commons have a variety of licences, some of which require attribution and some don't.
Topic: App & System Services SubTopic: General Tags:
Dec ’22
Reply to Download Xcode from command line
I’ve done this in the past: No certificates. Visit the site in Safari. Log in. Open the developer console. Extract the cookies. Pass the cookies to wget (maybe using —header). (I seem to recall doing something like modifying the URL to deliberately get an error page???) Of course that relies on cookies that will expire quite soon. It may not work for your situation. (what certificate exactly are you referring to?)
Dec ’22
Reply to Is gethostbyname safe?
I'm surprised that you feel it is worth trying this. Have you actually measured a delay that you believe would be eliminated by this? I see that gethostbyname is a synchronous method and may cause crash Err, it's a synchronous method which will cause a (short?) hang if used on the main thread. It won't cause a crash, AFAIK - what makes you think it will? so I put it in a background current queue Right. and use try-catch to protect it, will this prevent crashes from happening? It's a C API, so try-catch will do nothing useful.
Dec ’22
Reply to Color literals improve the performance?
I asked ChatGPT about (anything) Is it really true ? Of course not; it's an artificial language model. Story about Meta's "Galactica" language model which claims to be able to write academic papers, Wikipedia articles etc. - but which actually can't tell truth from falsehood: https://www.technologyreview.com/2022/11/18/1063487/meta-large-language-model-ai-only-survived-three-days-gpt-3-science/ Or, more down-to-earth, the uselessness of the Amazon Alexa artificial stupidity: Intrigued by an Ars Technica post about Amazon’s Alexa that suggested all was not well in the tech company’s division that looks after its smart home devices, I went rooting in a drawer where the Echo Dot I bought years ago had been gathering dust. Having found it, and set it up to join the upgraded wifi network that hadn’t existed when I first got it, I asked it a question: “Alexa, why are you such a loss-maker?” To which she calmly replied: “This might answer your question: mustard gas, also known as Lost, is manufactured by the United States.” At which point, I solemnly thanked her, pulled the power cable and returned her to the drawer, where she will continue to gather dust until I can think of an ecologically responsible way of recycling her… https://www.theguardian.com/commentisfree/2022/nov/26/alexa-how-did-amazons-voice-assistant-rack-up-a-10bn-loss Stick to StackOverflow, and other places with actual humans in the loop, for relatively accurate answers!
Topic: UI Frameworks SubTopic: UIKit Tags:
Dec ’22
Reply to Download Xcode from command line
Here are the notes I wrote when I did this: XCode downloads are available from https://developer.apple.com/download/all/?q=xcode Example link: https://download.developer.apple.com/Developer_Tools/Xcode_13.1/Xcode_13.1.xip But these require dev programme membership; wgetting without cookies returns an HTML page. To get the required cookies, in Safari visit a truncated URL: https://download.developer.apple.com/Developer_Tools/ Do this with the Javascript console open. Select the network tab and copy the entire Cookie header (not the individual cookies). Now it's possible to wget on (a linux system): wget --header 'Cookie: s_fid=2B4119F75B4D610EB0-03724F1FC4C7A124C7; s_sq=awdappledeveloper%3D%2526pid%253Dall%252520-%252520downloads%252520-%252520apple%252520developer%2526pidt%253D1%2526oid%253Dhttps%25253A%25252F%25252Fdownload.developer.apple.com%25252FDeveloper_Tools%25252FXcode_13.1%25252FXcode_13.1.xip%2526ot%253DA; ADCDownloadAuth=knTCDvQAPHK4KPOjAT94Pc3FpNJ85Ual37QZ79Or6tXX1AZKPydEwLyL%2BwibpoYivJyPZiG%0D%0AaaKVS6pMXAB6qCTU20pKZpC%2BdgN9oskJIqh6TwJQYh0JAdx0%2BLIcqJjazfQQLVgPsi3ZGMb4Qikx%0D%0ARt%2FRr%2BnkEWbg%2FWCnPccflERO%0D%0A; DSESSIONID=6oao4455uh1la64npvbhnvshguipxgpv5m26g5nhovsmbcvm5ktmr12886; s_cc=true; s_pathLength=developer%3D2%2C; s_vi=[CS]v1|30F814585C0EB6E9FE-60000DF2B4C69343[CE]; itctx=eyJjcCI2A6MTUyMDU2LCJkcyI6ODI1LCJleCI6IjIwMjItMS0yOCAyMzozMjo0OSJ9|h6mjs3ie3lfiatgfe9ju2p2nkl|QNyPC5-zW1WDpQB8p7OSDhVplzA; itcdq=0; dc=st; acn01=GKj9P3KmQzUEwBru4SafYOR/I3Z22WS3IUAxpjB8AA9GygCj7Mo=; dslang=GB-EN; myacinfo=DAWTKNV323952cf8084a204fb20ab2508441a07d02d3b0b3f87efe6467be6061c76dfb675cac18c6e8d66d2ced0a45e7110e0b2d8f0c692772721e9dc355651ba37ee1496b21f889db5d66ec067597b0370108ee15de612fca13478683a2c4969e6b35a0b88f6cc3e61ac5e36ec44b910f11acaa309cd782c9bfb4877ade43b593b5f1b77af04db72dcfae906039d53b721ca18cddd027b210302099728c496af56e21797bf9dab1a2b7670f27e0fa0fa7d905ae7a515ba336ab66a14122edfcceab6e46a11efdbdafa7030cdaeb0738a377ea6717bd50bf654a9e83dc0a07ba859f5fbb10493f3a1ddae183d4ab613e52b5397c30d2a42242ccb991f683ec2b853d587499a7f55aa5097acd25ee50521b0b5a138d854c2caffc31efd70a7a51e2a03d17020e2e29071a006222209ab63e9f65ff9b1fd5ee575e732ffebd2ef347506724e00ba63923585a47V3; site=GBR; geo=GB; atsvric=7MyA/S3ETe4iziHyMQFk9Vz6JdDSemvWEiVe5WftPh3szwKnokSI/B2doLHy642KJkzxnQsthS5rMHFYm2XjFB+GyF6pf4fhfijroaqCIlOkv5lbijSpgShDnIHXw76UgcADLxhfzgwtQ==; dssf=1; dssid2=d8e8d12-g6e-ab7b-9ebdac157a75' \ 'https://download.developer.apple.com/Developer_Tools/Xcode_13.1/Xcode_13.1.xip' (I have slightly munged the strings just in case they contain something I'm supposed to keep secret!) I think I may have tried using a cookies.txt file but gave up used --header 'Cookie: ...' instead. I forget. I created signing certificates that should have worked for logging to developer.apple.com - https://developer.apple.com/support/certificates Why do you believe that those certificates will work for logging on to developer.apple.com? Maybe they do, but I don't see any mention of that on the web page you linked to.
Dec ’22
Reply to What should we prepare for the apple glasses app?
This forum is not a good place for speculative discussion about products that Apple have not released yet. When products are released they have supporting software, which I imagine in this hypothetical case would involve Swift and Metal. In any case, learning C++ is always useful in my opinion! It remains one of the most portable and multi-purpose languages.
Topic: Graphics & Games SubTopic: GameKit Tags:
Dec ’22
Reply to Color literals improve the performance?
Also in the news here: "Stack Overflow bans ChatGPT as 'substantially harmful' for coding issues" https://www.theregister.com/2022/12/05/stack_overflow_bans_chatgpt OpenAI's question-answering bot, ChatGPT, isn't smart enough for the team at Stack Overflow, who today announced a temporary ban on answers generated by the AI bot because of how frequently it's wrong.
Topic: UI Frameworks SubTopic: UIKit Tags:
Dec ’22
Reply to Drawing MKPolylines on map make app unresponsive. Anybody else have this problem ?
Would be interesting to know apple guidance about this Apple don't comment on their future plans, including their future plans regarding fixing bugs. I had to disable some of the features when my app is running on iOS16 That's a good approach, but beware, you need to be careful about what you put in the "what's new" information in App Store Connect. The alternative is to replace MKMapKit with something else, where there is more responsive upstream support, where you can fix bugs yourself if necessary, and where you are in control of when it is upgraded to new versions.
Dec ’22