MetaMask / MetaMask/react-native-self-host-example

Not working on iOS

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Same issue as : https://github.com/torusresearch/tkey-react-native-example/issues/14

----

Hi,

I wanted to have a test on tkey and found that repository .

It is not working.
I tired with different node version using nvm from node 16.9.0 to node 18+

Installation works.
pod install works.

yarn ios is not working and gives the following error :

2023-06-16 11:09:14.785 xcodebuild[23212:4788150] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:AEB7D762-3575-4FF3-85E9-18FD7F926DB5, OS:16.4, name:iPhone 14 Pro }
{ platform:iOS Simulator, id:AEB7D762-3575-4FF3-85E9-18FD7F926DB5, OS:16.4, name:iPhone 14 Pro }
** BUILD FAILED **

The following build commands failed:
CompileC /Users/.../Library/Developer/Xcode/DerivedData/HelloWorld-hibinssiglxyqnbvcwefmugegvzi/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-Codegen.build/Objects-normal/arm64/FBReactNativeSpec-generated.o /Users/.../Documents/dao/daowallet22/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-Codegen' from project 'Pods')
(1 failure)

I have the latest version of xcode 14.3.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the reported Node versions after installation and pod install, then run yarn ios and inspect the React-Codegen compilation failure in the generated iOS build. Use the xcodebuild output to narrow down the failing React-Codegen target; done means the example builds and launches on the reported iOS Simulator setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.