質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
React Native

React Nativeは、ネイティブモバイルアプリ(iOS/Android)を作成できるJavaScriptフレームワークです。Reactと同じ設計のため、宣言的なコンポーネントでリッチなUIを開発することが可能です。

Q&A

0回答

936閲覧

react nativeでiosのbuildができなくなった

miya007

総合スコア0

React Native

React Nativeは、ネイティブモバイルアプリ(iOS/Android)を作成できるJavaScriptフレームワークです。Reactと同じ設計のため、宣言的なコンポーネントでリッチなUIを開発することが可能です。

0グッド

0クリップ

投稿2022/05/23 07:25

編集2022/05/24 04:46

react nativeでiosビルドすると以下のエラーが返ってきました。

info Found Xcode workspace "memoApp.xcworkspace" info Building (using "xcodebuild -workspace memoApp.xcworkspace -configuration Debug -scheme memoApp -destination id=B806A527-F246-46EC-9CC8-96A1DEE5231F") (node:56102) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening memoApp.xcworkspace. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace memoApp.xcworkspace -configuration Debug -scheme memoApp -destination id=B806A527-F246-46EC-9CC8-96A1DEE5231F User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES note: Using new build system note: Planning Analyze workspace Create build description Build description signature: c12746e0da0847dff37d250656a205ef Build description path: /Users/linkjapan/Library/Developer/Xcode/DerivedData/memoApp-cqsvbqsvwoaldscwiwkpahbfqshr/Build/Intermediates.noindex/XCBuildData/c12746e0da0847dff37d250656a205ef-desc.xcbuild note: Build preparation complete note: Building targets in dependency order error: Multiple commands produce '/Users/linkjapan/Library/Developer/Xcode/DerivedData/memoApp-cqsvbqsvwoaldscwiwkpahbfqshr/Build/Products/Debug-iphonesimulator/memoApp.app/AntDesign.ttf' note: Target 'memoApp' (project 'memoApp') has copy command from '/Users/linkjapan/memoApp/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf' to '/Users/linkjapan/Library/Developer/Xcode/DerivedData/memoApp-cqsvbqsvwoaldscwiwkpahbfqshr/Build/Products/Debug-iphonesimulator/memoApp.app/AntDesign.ttf' note: That command depends on command in Target 'memoApp' (project 'memoApp'): script phase “[CP] Copy Pods Resources” ,,,,,,, info Run CLI with --verbose flag for more details.

ビルドのキャッシュが邪魔しているのかと考え、キャッシュクリアしてみたのですが、治りません。

試したコマンド watchman watch-del-all lsof -n -P -i :8081 -t | xargs kill rm -rf ios/build rm -rf android/app/build rm -rf node_modules && npm install rm -rf ~/Library/Caches/CocoaPods rm -rf Pods rm -rf ~/Library/Developer/Xcode/DerivedData cd ios pod deintegrate pod setup bundle exec pod install

他のプロジェクトではビルドができているため、ディレクトリ内のコード記述に誤りがあるのかと思いますが、キャッシュクリア以外に改修方法ございますでしょうか。

追記
関連記事を参考にして、xcodeのbuildをlegacyに変更したり、違うポートでビルドしたりしましたが変わらずこのエラーでした。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問