Skip to content

AlecColas/Poool-bug-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poool React Native Access — Bug Reproduction Repository

This repository provides a minimal, isolated environment to reproduce and debug issues encountered when installing and using the @poool/react-native-access library in a React Native project.


Purpose

The goal is to help debug and report issues related to integrating @poool/react-native-access on both Android and iOS platforms.


Android

  • The app builds successfully on Android.
  • However, it crashes at runtime starting from commit a698cd862ae9eaa5ba29bc4d21d078b9e6294455 (build(deps): install native poool access sdk dependencies).
  • The next commit, f811e825d9ccc8f821b64bf26ac8bb328615599f (docs: add android logs on startup crash), adds the crash log for further investigation.

Crash log:

Crash video:


iOS

Before

iOS Fonctionnel

After activating useFrameworks: "static"

See commit feat(iOS): reproduce build error (72ea9690f5647c12568aeac506ef02c98e5b35e7).

  • The app does not build on iOS.
  • The following error occurs during the build process:
...
❌  error: Multiple commands produce '/Users/alexandrecolas/Library/Developer/Xcode/DerivedData/pooolrepro-fcivpygscjatysdycjcrfxwbmhdz/Build/Products/Debug-iphoneos/op-sqlite/op_sqlite.framework/Headers/libsql.h'

❌  error: Multiple commands produce '/Users/alexandrecolas/Library/Developer/Xcode/DerivedData/pooolrepro-fcivpygscjatysdycjcrfxwbmhdz/Build/Products/Debug-iphoneos/RNAccessIOS/RNAccessIOS.framework/Headers/AccessIOS-Swift.h'
...

iOS logs:


Build Instructions

To build the project, run:

bun install --no-cache
bun prebuild --clean
bun ios      # for iOS
bun android  # for Android

Initial Commit Demo

On the initial commit (81fb920cdb80135ac55fe0a892b305dedd5dcd10), both Android and iOS builds worked.

Android successful build:

iOS successful build:


Additional Notes

  • The repository contains logs (logcat.txt, xcode-log.txt, ios-logs.txt) and configuration files for debugging.
  • Refer to the commit history to identify when issues first appear.

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors