先日から、React Nativeについて勉強を開始し始めました。
Androidはエミュレーターで実際にアプリを操作することができるのですが、
IOSは何度操作してもビルドできない状態です。(IOSエミュレーター自体は起動します)
IOSエミュレーターでアプリを操作することが目的になります。
作成したプロジェクトがXcodeで開けないのですが、どのように開けば良いのでしょうか?
よろしくお願いいたします。
Xcode Ver. 12.4 (12D4e)
Mac Ver. 10.15.7
React Native 4.14.0
cocoapod Ver 1.10.1 (homebrewでinstall)
watchman Ver 4.9.0 (homebrewでinstall)
行った操作
cd ios pod install cd ../ npx react-native start npx react-native run-ios
ビルド失敗時のエラー。量が多いので途中省略しております。
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 DiaryProject.xcworkspace. Run CLI with --verbose flag for more details. Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace DiaryProject.xcworkspace -configuration Debug -scheme DiaryProject -destination id=11F1621C-12C9-4B25-8DF5-F9314088D8AA ~ 省略 ~ note: Using new build system note: Building targets in parallel note: Planning build note: Using build description from disk CompileC /Users/naoya/Library/Developer/Xcode/DerivedData/DiaryProject-cgcaeoccffotskazletjdzcwoovz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperClient.o /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Flipper/xplat/Flipper/FlipperClient.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods') cd /Users/naoya/Public/appDeve/Diaryver2/ios/Pods export LANG\=en_US.US-ASCII In file included from /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.cpp:8: In file included from /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.h:13: In file included from /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Flipper/xplat/Flipper/FlipperInitConfig.h:10: In file included from /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventBase.h:46: In file included from /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/AsyncTimeout.h:19: In file included from /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventBaseBackendBase.h:21: In file included from /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/EventUtil.h:21: In file included from /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Headers/Public/Flipper-Folly/folly/portability/Event.h:24: /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Headers/Public/libevent/event.h:44:10: fatal error: 'event2/event-config.h' file not found #include <event2/event-config.h> ^~~~~~~~~~~~~~~~~~~~~~~ 9 warnings and 1 error generated. warning: no rule to process file '/Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Flipper-RSocket/rsocket/benchmarks/CMakeLists.txt' of type 'text' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods') warning: no rule to process file '/Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Flipper-RSocket/rsocket/benchmarks/README.md' of type 'net.daringfireball.markdown' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods') warning: no rule to process file '/Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Flipper-RSocket/rsocket/README.md' of type 'net.daringfireball.markdown' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods') ** BUILD FAILED ** The following build commands failed: CompileC /Users/naoya/Library/Developer/Xcode/DerivedData/DiaryProject-cgcaeoccffotskazletjdzcwoovz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/ConnectionContextStore.o /Users/naoya/Public/appDeve/Diaryver2/ios/Pods/Flipper/xplat/Flipper/ConnectionContextStore.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。