Skip to content
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

Unable to distribute to App Store Connect "app references non-public selectors" #1210

Closed
4 tasks done
squaredx opened this issue Jun 6, 2022 · 23 comments
Closed
4 tasks done
Labels
bug Something isn't working

Comments

@squaredx
Copy link

squaredx commented Jun 6, 2022

Environment

Technology Version
Flutter version 3.0.0
Plugin version 5.4.3+7
Android version n/a
iOS version n/a
Xcode version 13.3.1

Device information: M1 Macbook pro

Description

Expected behavior:
I should be able to upload my flutter Xcode archive to App Store Connect

Current behavior:
When uploading my Xcode archive to App Store Connect I receive the following error

The app references non-public selectors in Payload/Runner.app/Frameworks/
flutter_inappwebview.framework/flutter_inappwebview:allowsResizing,
applicationNameForUserAgent, dataTypes, estimatedProgress, framelnfo, initialURL,
isMainFrame, mediaTypesRequiringUserActionForPlayback, selectionGranularity,
setNavigationDelegate:, setProcessPool:, setSelectionGranularity:, sourceFrame, targetFrame
userContentController, userScripts, websiteDataStore With error code
STATE ERROR.VALIDATION ERROR.50 for id f560997f-27c8-4dff-9266-80818b0fc91d

Everything was fine 7 days ago when I last submitted my app to App Store Connect and I have not changed any of my dependencies since then. So I'm not sure if maybe apple changed some validation check during the distribution process or what.

Note: flutter_inappwebview is a transitive dependency in my project but the pubspec.lock file indicates that it is using the most recent version.

Steps to reproduce

  1. Build flutter app in the Xcode archive format
  2. Attempt to Distribute App to App Store Connect

Images

Screen Shot 2022-06-06 at 3 00 50 PM

@squaredx squaredx added the bug Something isn't working label Jun 6, 2022
@github-actions
Copy link

github-actions bot commented Jun 6, 2022

👋 @squaredx

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

@JulianMartos
Copy link

I am having the same problem, try to upload my app now and have the same error on uploading,
i have the same device specs.

@jay2jp
Copy link

jay2jp commented Jun 6, 2022

i have same issue, was able to upload one around 12pm ET but after 4pm et I've been running into this issue!

@JulianMartos
Copy link

i have same issue, was able to upload one around 12pm ET but after 4pm et I've been running into this issue!

it looks like it has something to do with apple developer event they had today

@jay2jp
Copy link

jay2jp commented Jun 6, 2022

i have same issue, was able to upload one around 12pm ET but after 4pm et I've been running into this issue!

it looks like it has something to do with apple developer event they had today

would that really effect AppStore connect? those features don't go live instantly do they?

@jay2jp
Copy link

jay2jp commented Jun 6, 2022

image

Response from apple when using the transporter app

@daronwolff
Copy link

Same here.

1 similar comment
@robertflesch
Copy link

Same here.

@Justus-M
Copy link

Justus-M commented Jun 6, 2022

Same, seems to be an apple issue. Lots of reports here too https://developer.apple.com/forums/thread/127678

@APPXOTICA
Copy link

APPXOTICA commented Jun 7, 2022

Same here. I tried downgrade the package to 5.4.0 without luck.

@paulocrr
Copy link

paulocrr commented Jun 7, 2022

Same here when I tried to publish using codemagic

@dragongesa
Copy link

Same here. thought it was my bad. but everyone got the same too

Which the last version that worked for this? anyone know?

@paulocrr
Copy link

paulocrr commented Jun 7, 2022

If think is an apple think rather than a version stuff

@doraMana
Copy link

doraMana commented Jun 7, 2022

Same here.

@jay2jp
Copy link

jay2jp commented Jun 7, 2022

just tried again still busted, if the issue persists I guess ill call developer support tomorrow and update back here

@ItdaTeam
Copy link

ItdaTeam commented Jun 7, 2022

same here

@Strain-solutions
Copy link

Thank god it's not just me. Yes same error message here, although it took a while to find since I don't use this package directly, but it is part of a youtube player package.

@jihchao
Copy link

jihchao commented Jun 7, 2022

Same here.

@BLACKCAT25896
Copy link

ITMS-90338: Non-public API usage - The app references non-public selectors in Frameworks/flutter_inappwebview.framework/flutter_inappwebview: allowsResizing, applicationNameForUserAgent, dataTypes, estimatedProgress, frameInfo, initialURL, isMainFrame, mediaTypesRequiringUserActionForPlayback, navigationType, selectionGranularity, setNavigationDelegate:, setProcessPool:, setSelectionGranularity:, sourceFrame, userContentController, userScripts, websiteDataStore,The app references non-public selectors in Frameworks/webview_flutter_wkwebview.framework/webview_flutter_wkwebview: estimatedProgress, isMainFrame, setNavigationDelegate:, userContentController, websiteDataStore. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed.

@MahdiFakhrabadi
Copy link

Same issue here :(

@Justus-M
Copy link

Justus-M commented Jun 7, 2022

This should be fixed now. An apple developer tools engineer commented here (at the end) saying it should work if you now resubmit
https://developer.apple.com/forums/thread/127678?page=6

@Strain-solutions
Copy link

Can confirm, just uploaded the same file successfully.

Copy link

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 and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests