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 use widget on iOS device #34

Open
tanthanhtran2708 opened this issue Jun 25, 2019 · 0 comments
Open

Unable to use widget on iOS device #34

tanthanhtran2708 opened this issue Jun 25, 2019 · 0 comments

Comments

@tanthanhtran2708
Copy link

tanthanhtran2708 commented Jun 25, 2019

Description

I followed instruction and built project successfully. I also checked the 3D touch on my device, it worked well, i added it to the widgets on real device but it was "Unable to load" even it was just a widget with Hello React Native text view

Steps to reproduce

  1. React-native install react-native-today-widget.
  2. Delete all the libRCT... and then add them again with the JavaScriptCore.framework also ( if i don't do this, it'll raise errors that Xcode can't find all the libRCT... libraries)
  3. Change the bundle identifier of TodayWidgetExtension to org.reactjs.native.example.MyProject.TodayWidgetExtension (if not it will raise error: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier).
  4. Open the project target -> build phases -> in the Embed App Extensions -> Checked the Copy only when installing (if not it'll raise an error : Failed to set plugin placeholders for org.react.native.example.MyProject

System configuration

When i run the react-native log-ios:
un 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.WebKit.WebContent) : Unknown key for Boolean: EnableTransactions
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.WebKit.WebContent) : Unknown key for Boolean: EnablePressuredExit
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.backboard.display.archive) : Unknown key for Boolean: EnableTransactions
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.backboard.display.archive) : Unknown key for Boolean: EnablePressuredExit
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.imfoundation.IMRemoteURLConnectionAgent) : Unknown key for Boolean: EnableTransactions
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.imfoundation.IMRemoteURLConnectionAgent) : Unknown key for integer: _DirtyJetsamMemoryLimit
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.imfoundation.IMRemoteURLConnectionAgent) : Unknown key for Boolean: EnablePressuredExit
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.uifoundation-bundle-helper) : Unknown key for Boolean: EnableTransactions
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (com.apple.uifoundation-bundle-helper) : Unknown key for Boolean: EnablePressuredExit
Jun 25 15:20:47 thanhtans-MacBook-Pro com.apple.CoreSimulator.SimDevice.A03980F8-1C89-418A-BCAB-361E840F6EDB[87375] (org.reactjs.native.example.BaseControlls.TodayWidgetExtension[87486]) : assertion failed: 18F132: launchd_sim + 63721 [4911879E-54AD-341A-9EEA-BD6E6DDD9DD6]: 0x16

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

1 participant