You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After submitting my app to the Apple App store I get an email that says:
Invalid Swift Support - The SwiftSupport folder is missing
I have not mucked with Swift at all in my Flutter project, only Objective-C, so I don't want Swift.
I haven't found that option yet. I do have one called, "Always Embed Swift Standard Libraries" and that is already set to "NO"... Not sure if that's what is being referred, but atm don't have a way to fix this issue.
I also tried "export for App store", and used Application Loader to upload the file, same error.
Steps to Reproduce
Submit app to app store.
Flutter Doctor
[✓] Flutter (on Mac OS, channel master)
• Flutter at /Users/joel/dev_3rd/flutter
• Framework revision 198d293 (9 hours ago),
• Engine revision f306a6f
• Tools Dart version 1.22.0-dev.10.6
I've landed a patch which eliminates the use of a raw dylib and builds a framework instead. See the steps in #8971 to migrate existing Xcode projects. Once those steps are done, you should be able to do the following steps to push a build to the App Store:
On the command line, run flutter build ios --release.
Close & re-open the Xcode project to pick up the mode change (Xcode 8.3 will eliminate the need to close & re-open when it's out).
Select Runner > Generic iOS Device from the target menu in the toolbar.
Ensure you've set an unused Build number in your project settings General tab.
Select Archive from the Product menu.
The Organizer window will open. Ensure the new build is selected and click the Validate... button. Ensure everything looks good.
Click Upload to App Store.... You should receive an email back within 10-15 minutes with the status of the build.
hi,
when i submit flutter app on app store, build upload successfully uploaded, but after that apple store given me issue.
ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
Did anyone manage to fix this not by using the XCode Upload tool?
I'm using code magic and would much appreciate using it in my CI instead of manually doing thing in XCode
I have the same issue, when I build with fastlane and upload to testflight. I got the following errors in the email.
I can confirm that I did not use these features.
Dear Developer,
We identified one or more issues with a recent delivery for your app, "colorful-classroom-app" 1.0.0 (1). Please correct the following issues, then upload again.
ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSContactsUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSCalendarsUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSAppleMusicUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSMotionUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSSpeechRecognitionUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
Though you are not required to fix the following issues, we wanted to make you aware of them:
ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the 'aps-environment' entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the 'aps-environment' entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.
ITMS-90191: Missing beta entitlement - Your app does not include the beta-reports-active entitlement. If you intend to distribute this build via TestFlight for beta testing, please re-build this app with an App Store Distribution provisioning profile. Do not use ad-hoc profiles.
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
Best regards,
The App Store Team
EDIT: found the cause. I was trying to upload the iOS build to the TestFlight using AdHoc distribution profile. But for TestFlight AppStore distribution profile should be used instead.
I have the same issue with two different applications on two different dev machines. I'm using fastlane tools (pilot action) to upload the build to the TestFlight.
ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
[✓] Flutter (Channel stable, 2.2.0, on macOS 11.3 20E232 darwin-x64, locale en-GB)
• Flutter version 2.2.0 at /Users/kzapylaiev/Library/flutter
• Framework revision b22742018b (2 weeks ago), 2021-05-14 19:12:57 -0700
• Engine revision a9d88a4d18
• Dart version 2.13.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/kzapylaiev/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /Users/kzapylaiev/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] IntelliJ IDEA Community Edition (version 2020.2.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.56.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.22.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212
• No issues found!
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
abarth commentedon Feb 11, 2017
/cc @cbracken @xster
jtrunick commentedon Feb 11, 2017
I've also tried setting the "Always Embed Swift Standard Libraries" to NO - ${inherited} w/the same error
jtrunick commentedon Feb 14, 2017
any ideas? anything I can try?
cbracken commentedon Feb 15, 2017
Question -- are you using any third-party libraries (e.g., via CocoaPods)?
jtrunick commentedon Feb 16, 2017
I'm using the Superpowered library : http://superpowered.com/
which has me including these libraries
MediaPlayer.framework
AVFoundation.framework
I didn't seem to have to touch anything to get it to work past adding those... such as the arch list.
eseidelGoogle commentedon Feb 16, 2017
I believe @cbracken is on this?
jtrunick commentedon Feb 20, 2017
I suppose my next try will be to force Swift to be included, but seems a shame, since afaict there's no Swift anywhere.
cbracken commentedon Mar 14, 2017
@jtrunick any luck on this?
10 remaining items
cbracken commentedon Mar 23, 2017
I've landed a patch which eliminates the use of a raw dylib and builds a framework instead. See the steps in #8971 to migrate existing Xcode projects. Once those steps are done, you should be able to do the following steps to push a build to the App Store:
flutter build ios --release.cbracken commentedon Mar 23, 2017
Alright; confirmation from @vlidholt in the Gitter chat today that he was able to upload to the App Store. Marking as fixed.
@jtrunick please re-open if you're still hitting this issue after a
flutter updateand following the steps above.jtrunick commentedon Mar 24, 2017
works!
cbracken commentedon Mar 24, 2017
Fantastic! Glad to hear it. Thanks for confirming!
SumitDextrous commentedon Jan 16, 2020
hi,
when i submit flutter app on app store, build upload successfully uploaded, but after that apple store given me issue.
ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
eseidelGoogle commentedon Jan 16, 2020
@SumitDextrous this is a very old issue. I suspect the cause of this message could be different 3 years later.
Would you be willing to file a new issue with more information (e.g. flutter doctor output)? We'd love to help. Thanks.
SumitDextrous commentedon Jan 23, 2020
ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit it
SumitDextrous commentedon Jan 23, 2020
same issue when submit flutter app on app store.
what is the issue?
Please let me know if any possibility.
ir2pid commentedon Apr 22, 2020
same for us, any one found a solution?
Marek00Malik commentedon May 2, 2020
Did anyone manage to fix this not by using the XCode Upload tool?
I'm using code magic and would much appreciate using it in my CI instead of manually doing thing in XCode
liudonghua123 commentedon Jun 12, 2020
I have the same issue, when I build with fastlane and upload to testflight. I got the following errors in the email.
I can confirm that I did not use these features.
tekumai commentedon May 31, 2021
EDIT: found the cause. I was trying to upload the iOS build to the TestFlight using AdHoc distribution profile. But for TestFlight AppStore distribution profile should be used instead.
I have the same issue with two different applications on two different dev machines. I'm using fastlane tools (
pilotaction) to upload the build to the TestFlight.github-actions commentedon Aug 1, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.