React native IOS demo not running on M4 or arm64 chips
The app crashes when ever it trys to init the camera or when ever NativeModules.ThetaClientReactNative is called
I don't have an M4 machine, but many of us in the community have the demo-react-native ios app running with Apple Silicon to deploy to both simulator and physical device. https://community.theta360.guide/t/howto-use-theta-client-1-11-0-with-react-native-ios/10032?u=craig
@ighotouch this is not a solution to your original question. However, a few of us are using theta-client with React Native 0.77 (newest with New Architecture) from new React Native apps. We're building on Mac, Apple Silicon for iOS 18.
https://community.theta360.guide/t/fix-react-native-crash-on-start-with-theta-client/10236?u=craig
Unfortunately, none of us have an M4 Mac yet.
Additionally, I built the demo yesterday on a Mac and I had to change the source of the boost module checksum to build demo-react-native. Again, likely not the source of your problem, but just letting you know.
https://community.theta360.guide/t/fixed-error-installing-boost-verification-checksum-was-incorrect-with-demo-react-native/10228?u=craig
@ighotouch Please try Theta client 1.12.0 that resolved an iOS issue.
@ighotouch Please see this article with theta-client 1.12. https://community.theta360.guide/t/starting-a-new-react-native-project-with-theta-client-1-12/10332?u=craig
@simago did you publish the pod on cocoapods?
date
Tue Feb 11 2025
craig@Craigs-MacBook-Air ~ % pod search THETAClient --simple
-> THETAClient (1.11.1)
THETA Client
pod 'THETAClient', '~> 1.11.1'
- Homepage: https://github.com/ricohapi/theta-client
- Source:
https://github.com/ricohapi/theta-client/releases/download/1.11.1/THETAClient.xcframework.zip
- Versions: 1.11.1, 1.11.0, 1.10.2, 1.10.1, 1.10.0, 1.9.1, 1.9.0, 1.8.0,
1.7.1, 1.7.0, 1.6.0, 1.5.0, 1.4.0, 1.3.1, 1.3.0, 1.2.0, 1.1.0, 1.0.0 [trunk
repo]
@codetricity I have published Theta client 1.12.0 on cocoapods.
@simago thank you for your help. This was my error as I forgot to run pod repo update . I can see the 1.12.0.
I'll update this step in our community docs.
pod repo update
Updating spec repo `trunk`
pod search THETAClient --simple
-> THETAClient (1.12.0)
THETA Client
pod 'THETAClient', '~> 1.12.0'
- Homepage: https://github.com/ricohapi/theta-client
- Source:
https://github.com/ricohapi/theta-client/releases/download/1.12.0/THETAClient.xcframework.zip
- Versions: 1.12.0, 1.11.1, 1.11.0, 1.10.2, 1.10.1, 1.10.0, 1.9.1, 1.9.0,
1.8.0, 1.7.1, 1.7.0, 1.6.0, 1.5.0, 1.4.0, 1.3.1, 1.3.0, 1.2.0, 1.1.0, 1.0.0
[trunk repo]
(END)