-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App rejected from store during upload #3324
Comments
Thanks for opening this @mkrn. We're investigating. |
Thanks @atierian |
Do you have any other logs or messages that suggest it's coming from From what I can tell, the I think this is most likely coming from |
@mkrn can you try using Amplify Swift 2.19.0? It appears that version doesn't have this issue. We recently updated to a newer version of the AWS SDK for Swift, which pulls in a version of |
Downgrading solved it! Thanks. FYI going forward it may be an issue in new versions |
Glad to hear, thanks for confirming! And yes, this is just a workaround until we can resolve the issue on newer versions. We'll update this issue with any news. |
@mkrn could it be that your app target's scheme > Archive > Build Configuration is set to |
@atierian Archive is release, just retried with the new version it is happening still when trying to upload. 2.19.0 not |
Thanks for confirming the Build Configuration. Can you please answer the questions from the previous comment? That information will help in reproducing the issue. Thanks! |
I have just experienced this after updating from 2.18.2 to 2.2.21 when uploading an archive via We link against the package from another Swift Package via our Package.swift. |
Thanks for the details @mkrn. And thanks @maxchuquimia for letting us know that you're also experiencing this. You mentioned:
Can you tell me some more about how this is setup -- is your app target dynamically linking a framework that contains Amplify? |
I was able to reproduce by including Amplify (+ plugin targets) in a framework and linking that framework in my app target. We're continuing to investigate. Two workarounds that are known at this time:
|
linking related issue in |
**Issue:** App Store submissions are being rejected due to use of non-public CommonCrypto functions for doing AES GCM: - awslabs/aws-crt-swift#206 - aws-amplify/amplify-swift#3324 There are no public APIs for doing AES GCM via CommonCrypto **Description of changes:** Remove the code for doing AES GCM (via non-public CommonCrypto functions) on iOS, watchOS, etc
Our app's Xcode project target doesn't contain all our app's code. Instead, we have a local Swift Package
|
Thanks @maxchuquimia. The underlying cause has been addressed in We'll update here once this is merged and Amplify Swift has been released. Thanks to both of you for reporting this and your assistance in reproducing it. |
Amplify Swift 2.21.3 was released with a fix resolving this issue. |
Describe the bug
My Framework includes amplify-swift which in turn depends on aws-crt-swift
The built app works on device in Debug and Release.
During upload to TestFlight the following error appears:
The app references non-public symbols in Payload/appnew.app/Frameworks/.....MyFramework: _CCCryptorGCMAddAAD, _CCCryptorGCMFinalize, _CCCryptorGCMSetIV (ID: 18f105e0-1452-4a69-b9ee-...)
Steps To Reproduce
Expected behavior
App should upload
Amplify Framework Version
2.21.1
Amplify Categories
API
Dependency manager
Swift PM
Swift version
5.9
CLI version
11.1.1
Xcode version
Version 15.0.1 (15A507)
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
No response
OS Version
iOS 17.0.1
Device
iPhone 13 pro
Specific to simulators
No response
Additional context
Xcode Version 15.0.1 (15A507)
The text was updated successfully, but these errors were encountered: