Has anyone ever gotten this when trying to publish...
# multiplatform
v
Has anyone ever gotten this when trying to publish their iOS App which uses Kotlin Multiplatform?
😮 12
s
Well, as far as i know i think you should exclude proguard for ios in gradle
v
Do you mean Bitcode? As far as I know proguard is only for Android/Jvm
s
Whoa..... Are you sure this is because of KMP shared code being used in your iOS app? If you are, I think JetBrains would like to know about this!
v
I'm not sure, it's just my hunch. On Saturday I updated all of my 13 apps. 6 have made it completely through the review. 4 of them have been flagged by the exact same message from above. 3 are still In Review. Apple does not really tell me what exactly flagged the code. I use KMP extensively in all of my apps. I've answered them that I use a native shared library in all of my apps. Let's see what they answer. Suprisingly, on Sunday I published an entirely new app using the exact same set up and this made it's way through the review with no issues whatsoever. I can share my set up with folks from Jetbrains / have a meeting if they want.
👍 1
s
Isn't it great, those obtuse review comments/rejections... ? Ugh .. it always sucks to figure these ones out. I hope you get this resolved. If you can, keep us posted here.
p
I'm not quite sure how Apple could misconstrue a guideline around not hiding functionality to rejecting functionality encapsulated within a KMM binary. I know people have been burnt by feature flagging functionality or not explaining how to access functionality to reviewers with rejections along these lines before, but never outright rejected. Full 2.3.1 guideline from https://developer.apple.com/app-store/review/guidelines :
Copy code
2.3.1 Don’t include any hidden, dormant, or undocumented features in your app; your app’s functionality should be clear to end users and App Review. All new features, functionality, and product changes must be described with specificity in the Notes for Review section of App Store Connect (generic descriptions will be rejected) and accessible for review. Similarly, marketing your app in a misleading way, such as by promoting content or services that it does not actually offer (e.g. iOS-based virus and malware scanners) or promoting a false price, whether within or outside of the App Store, is grounds for removal of your app from the App Store and termination of your developer account. Egregious or repeated behavior is grounds for removal from the Apple Developer Program. We work hard to make the App Store a trustworthy ecosystem and expect our app developers to follow suit; if you’re dishonest, we don’t want to do business with you.
a
We have been using KMM for over a year. I don't remember our iOS team having such issue.
v
It's my first time as well. Still no update from Apple. I've been using KMM for almost 4 years on iOS and this is the first time I'm hitting htis
d
You could try submitting a new build. App Store review results can be very different depending on the reviewer.
v
All 4 apps have gotten this new update from Apple. One of them is now available for sale. 3 are back to the 'In review' state
👍 4
s
Good to know that it all worked out! Still, I'm a liiiitle bit concerned about their initial objections....
v
Of the 3 apps that were back to the 'In review' state I waited until 2 days ago; but nothing happened. Then I built new versions and now they are all published. Very random