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

target is not running or doesn't have entitlement on ios #361

Open
gh-pro opened this issue Nov 22, 2024 · 2 comments
Open

target is not running or doesn't have entitlement on ios #361

gh-pro opened this issue Nov 22, 2024 · 2 comments

Comments

@gh-pro
Copy link

gh-pro commented Nov 22, 2024

Describe the bug
on react-native 0.76.2 player frame not work i have error on xcode console

To Reproduce
Steps to reproduce the behavior:
Play video player and get error Expected behavior

Expected behavior
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))" UserInfo={NSLocalizedFailureReason=((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))}>

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Iphone 14 pro
  • OS + version:IOS 18.0.1
  • react-native-youtube-iframe version 2.3.0
  • react-native-webview version 13.12.4
  • Expo verison [if using expo] no expo

Additional context
Add any other context about the problem here.

@Jul1enF
Copy link

Jul1enF commented Nov 23, 2024

There's a lot of us experimenting trouble with the latest react native for the initial loading of react native webview. I did not have the exact same error code but i think it's the same problem.

Just actualising the webview component with a key props and a setTimeOut solved it for me.

Here's my code (using webview 13.12.4) :

const [webviewKey, setWebviewKey]=useState(1)

   useEffect(() => {
        if (Platform.OS === "ios"){
            setTimeout(()=>setWebviewKey(key=>key+1), 50)
        }
    }, [])

   <YoutubePlayer
          height={RPW(56)}
          videoId={article.video_id}

          webViewProps={{
          key : webviewKey,
          }}
   />

For more details : react-native-webview/react-native-webview#3616

@gh-pro
Copy link
Author

gh-pro commented Nov 24, 2024

Thanks, i have retrograded plugin react-native-web-view a 11.25.0 and, all its work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants