Post

Replies

Boosts

Views

Activity

Reply to DeviceCheck(iOS 11+) Vs AppAttest(iOS 14+)
I asked Developer Technical Support some of these questions. The interesting parts of the replies were these: does this DeviceCheck APIs also validate 2 of the 3 above features i.e. app is not modified and the device is genuine apple device? They say: "(DeviceCheck and App Attest) are different elements you can use in your protection/anti-fraud policy. They target different aspects, DeviceCheck focuses on the device, and AppAttest focuses on the integrity of your app code." My understanding from that is that DeviceCheck does not check if the app is modified, but perhaps modifying the device is a necessary prerequisite to modifying the app. Can we get exhaustive list of cases where isSupported is false? I asked specifically about iOS apps running on macOS ("Designed for iPad"), and they say: "The issue on macOS 11 is a known bug that has since been fixed. Barring any bugs, isSupported() should return true for Apple Silicon Macs and newer models of Intel Macs (with Touch ID)."
Topic: App & System Services SubTopic: General Tags:
Mar ’22
Reply to In-App Purchases and Apple Commission Cut Receipt
Regarding the percentages, yes in countries that have tax included in the displayed prices Apple deducts that. The exact amounts that you will get (“proceeds”) in each case are shown in “schedule 2” to the developer agreement; you can also find them in a table in App Store Connect where you set the price for your app or IAP. Note that only larger businesses should be paying 30% now, smaller businesses should be paying 15% to Apple. Customers will get an invoice (or at least a receipt) from Apple for their purchases. You don’t see this invoice. Remember that the customer has bought the app from Apple, not from you. Your business’ transactions are with Apple, monthly. If you need an invoice for your sale to Apple, you need to generate that yourself. Note you do not need to send the invoice to Apple; if your local laws require that you send invoices then I think that Apple have a postal address that you can send them to, but I guess they just destroy them. Note that currency conversions make generating this invoice interesting; personally I wait until Apple have made the payment so I know the exact amount in my local currency, and then I generate an invoice for that amount. This means my accounts software doesn’t have to deal with multiple currencies. If you want to show the customer-paid price and deductions on this invoice you could do that, based on the numbers in the financial reports, but it makes things more complicated than they need to be.
Apr ’22
Reply to codesign results in errSecInternalComponent
errSecInternalComponent The one time I've seen that message, the root cause was that the keychain was locked. When Xcode does the exact same codesign action, I believe a window appears asking for a password to unlock the keychain, but if I invoke codesign from the command line it fails with that error. The solution is security unlock-keychain. That may be nothing to do with your problem, but I thought it worth mentioning.
Topic: Code Signing SubTopic: General Tags:
Apr ’22
Reply to libc++ list.h broken error Xcode 13.3 macOS Monterey 12.3.1
/Applications/Xcode13.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/usr/include/c++/v1/list:1164:11: error: use of undeclared identifier '_A' list<_Tp, _A*lloc>::__link_nodes(__link_pointer __p, __link_pointer __f, __link_pointer __l) Why is there a * after the A of Alloc? Is that character actually present in that file? Did you accidentally edit that file, or something?
Apr ’22
Reply to Open source and the App Store
I've seen a lot of confusing information on the internet. This is also "the internet" so you may get even more confusing information here.... As you suspect the answer does depend on the licence. If you tell us what licence you are considering, you may get a useful answer. You should also be aware of Apple's minimum requirements for apps' end user licences. In practice, perhaps the most important question is - is it your code, and if not, what do the authors of the code think about your idea? Trying to make an app from an open source code base against the wishes of the authors of that code could lead to problems; even if you believed that what you were doing was allowed, could you afford the lawyers to argue your case in a copyright lawsuit?
Apr ’22
Reply to Help understanding Bonjour service and installing on iPhone 12
In the past it was possible to get Safari on Macs to show a list of Bonjour services by toggling a preference somewhere, but I believe that feature was removed at some point. I don't believe that iOS Safari could ever do that. There are third-party iOS apps that claim to browse Bonjour services. (Search the App Store for "Bonjour"). I've not used any of them.
Apr ’22
Reply to Can I launch my app as Product.
will I be able to enroll for a developer program as XHALESOLUTIONS LIMITED Yes, if that is your business.  then launch my product app under the organization XHALESOLUTIONS LIMITED Yes.
Replies
Boosts
Views
Activity
Mar ’22
Reply to DeviceCheck(iOS 11+) Vs AppAttest(iOS 14+)
I asked Developer Technical Support some of these questions. The interesting parts of the replies were these: does this DeviceCheck APIs also validate 2 of the 3 above features i.e. app is not modified and the device is genuine apple device? They say: "(DeviceCheck and App Attest) are different elements you can use in your protection/anti-fraud policy. They target different aspects, DeviceCheck focuses on the device, and AppAttest focuses on the integrity of your app code." My understanding from that is that DeviceCheck does not check if the app is modified, but perhaps modifying the device is a necessary prerequisite to modifying the app. Can we get exhaustive list of cases where isSupported is false? I asked specifically about iOS apps running on macOS ("Designed for iPad"), and they say: "The issue on macOS 11 is a known bug that has since been fixed. Barring any bugs, isSupported() should return true for Apple Silicon Macs and newer models of Intel Macs (with Touch ID)."
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Best practices in the initialization of a database in app ios
Why can't you ship a pre-populated sqlite file?
Replies
Boosts
Views
Activity
Apr ’22
Reply to Would someone please explain the <> in let requestedComponents: Set<Calendar.Component> = [ ...]?
You should read Set<X> as "Set of X". I.e. Set<X> is a Set where every element must be of type X. (This syntax is shared with C++, Java and probably other languages where it goes by various different names.)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Best practices in the initialization of a database in app ios
If you have the data in e.g. a CSV file, load that into sqlite using the sqlite command-line program. Add that file to your app. An important question is whether the database is read-only or read-write by the app.
Replies
Boosts
Views
Activity
Apr ’22
Reply to What is the replacement for OSAtomicCompareAndSwap32Barrier?
OSAtomicCompareAndSwap DOES return a bool. What does the CA function do other than just call the OS function? The boolean result indicates whether the value was as expected. Your code is suspicious in that respect; are you sure it is correct?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to App Literally Got Stolen!!!!! My app got transferred to another without my knowledge.
Change passowrds! Contact Apple. I suggest starting at https://developer.apple.com/contact/topic/select and selecting “Report a concern” then “Rights infringement”. Talk to a lawyer.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to In-App Purchases and Apple Commission Cut Receipt
Regarding the percentages, yes in countries that have tax included in the displayed prices Apple deducts that. The exact amounts that you will get (“proceeds”) in each case are shown in “schedule 2” to the developer agreement; you can also find them in a table in App Store Connect where you set the price for your app or IAP. Note that only larger businesses should be paying 30% now, smaller businesses should be paying 15% to Apple. Customers will get an invoice (or at least a receipt) from Apple for their purchases. You don’t see this invoice. Remember that the customer has bought the app from Apple, not from you. Your business’ transactions are with Apple, monthly. If you need an invoice for your sale to Apple, you need to generate that yourself. Note you do not need to send the invoice to Apple; if your local laws require that you send invoices then I think that Apple have a postal address that you can send them to, but I guess they just destroy them. Note that currency conversions make generating this invoice interesting; personally I wait until Apple have made the payment so I know the exact amount in my local currency, and then I generate an invoice for that amount. This means my accounts software doesn’t have to deal with multiple currencies. If you want to show the customer-paid price and deductions on this invoice you could do that, based on the numbers in the financial reports, but it makes things more complicated than they need to be.
Replies
Boosts
Views
Activity
Apr ’22
Reply to codesign results in errSecInternalComponent
errSecInternalComponent The one time I've seen that message, the root cause was that the keychain was locked. When Xcode does the exact same codesign action, I believe a window appears asking for a password to unlock the keychain, but if I invoke codesign from the command line it fails with that error. The solution is security unlock-keychain. That may be nothing to do with your problem, but I thought it worth mentioning.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to libc++ list.h broken error Xcode 13.3 macOS Monterey 12.3.1
/Applications/Xcode13.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/usr/include/c++/v1/list:1164:11: error: use of undeclared identifier '_A' list<_Tp, _A*lloc>::__link_nodes(__link_pointer __p, __link_pointer __f, __link_pointer __l) Why is there a * after the A of Alloc? Is that character actually present in that file? Did you accidentally edit that file, or something?
Replies
Boosts
Views
Activity
Apr ’22
Reply to Validating Receipts with the App Store How to get the payment amount?
You are at least the third person to ask this question in the last week! Why, do you all work at the same place? Is it a homework exercise? Anyway, the answer is still NO, you cannot get the payment amount from the app store receipt.
Replies
Boosts
Views
Activity
Apr ’22
Reply to TestFlight App age restriction
Any ideas what to do? The traditional approach is to lie about your age.
Replies
Boosts
Views
Activity
Apr ’22
Reply to Open source and the App Store
I've seen a lot of confusing information on the internet. This is also "the internet" so you may get even more confusing information here.... As you suspect the answer does depend on the licence. If you tell us what licence you are considering, you may get a useful answer. You should also be aware of Apple's minimum requirements for apps' end user licences. In practice, perhaps the most important question is - is it your code, and if not, what do the authors of the code think about your idea? Trying to make an app from an open source code base against the wishes of the authors of that code could lead to problems; even if you believed that what you were doing was allowed, could you afford the lawyers to argue your case in a copyright lawsuit?
Replies
Boosts
Views
Activity
Apr ’22
Reply to App transffered without my permission
First, change all your passwords everywhere.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Help understanding Bonjour service and installing on iPhone 12
In the past it was possible to get Safari on Macs to show a list of Bonjour services by toggling a preference somewhere, but I believe that feature was removed at some point. I don't believe that iOS Safari could ever do that. There are third-party iOS apps that claim to browse Bonjour services. (Search the App Store for "Bonjour"). I've not used any of them.
Replies
Boosts
Views
Activity
Apr ’22