Post

Replies

Boosts

Views

Activity

Reply to How can I download the invoice for my developer payment?
I can't find ANY document that I could hand over to book keeping. This 5-year-old thread is confusing because half the people are asking about the annual developer programme membership fee paid TO Apple and half the people are asking about the monthly payments FROM Apple. Regarding the payment to Apple for the developer programme membership, you can find VAT invoices for these in the Apple Store website. Log in, follow links for “my account”, find the purchase, click “view invoice”, etc. You may also have received the invoice by email. Regarding the payment from Apple for your app sales - if you are expecting Apple to send you an invoice for that, you are confused. (Do you think that you have to pay Apple each time someone installs your app???). It is YOU who should prepare an invoice to send to Apple each month. The easiest way to do that is to wait until they pay you, and then prepare an invoice for the amount that you have actually received. Attempting to prepare an invoice before that is complicated because of currency exchange rates; you would need an accounts system that works with multiple currencies, then import the financial reports, then at some point reconcile the exchange rates used on they day of the payment. Keep it simple, just work in your own currency and prepare an invoice when you know the exact amount. Note that you don’t need to actually send the invoices to Apple, though you can if you want - they have an address in Dublin you can post them to if your accountants insist on doing that.
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
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 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 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 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 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 How can I download the invoice for my developer payment?
I can't find ANY document that I could hand over to book keeping. This 5-year-old thread is confusing because half the people are asking about the annual developer programme membership fee paid TO Apple and half the people are asking about the monthly payments FROM Apple. Regarding the payment to Apple for the developer programme membership, you can find VAT invoices for these in the Apple Store website. Log in, follow links for “my account”, find the purchase, click “view invoice”, etc. You may also have received the invoice by email. Regarding the payment from Apple for your app sales - if you are expecting Apple to send you an invoice for that, you are confused. (Do you think that you have to pay Apple each time someone installs your app???). It is YOU who should prepare an invoice to send to Apple each month. The easiest way to do that is to wait until they pay you, and then prepare an invoice for the amount that you have actually received. Attempting to prepare an invoice before that is complicated because of currency exchange rates; you would need an accounts system that works with multiple currencies, then import the financial reports, then at some point reconcile the exchange rates used on they day of the payment. Keep it simple, just work in your own currency and prepare an invoice when you know the exact amount. Note that you don’t need to actually send the invoices to Apple, though you can if you want - they have an address in Dublin you can post them to if your accountants insist on doing that.
Replies
Boosts
Views
Activity
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.
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
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.
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
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.
Replies
Boosts
Views
Activity
Dec ’22