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

Not working on iOS

未關閉
#4 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Java
星號
2
分支
1
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先,在安裝和 pod install 後使用回報的 Node 版本重現該失敗,然後執行 yarn ios,並檢查產生的 iOS 建置中的 React-Codegen 編譯失敗。使用 xcodebuild 輸出縮小範圍,找出失敗的 React-Codegen 目標;完成標準是 example 在回報的 iOS Simulator 設定上成功建置並啟動。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
ios, react-native
領域
build-system, mobile
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。