2017-10-11 5 views
0

私はReact Nativeで初心者です。私はIOSの開発を知らない。最初のプロジェクト(AwesomeProject)を作成する際にエラーが発生しています。私はAndroid上でこのプロジェクトを実行し、期待どおりに動作しています。添付されたスナップショットを見つけてIOSの問題点を教えてください。解決済み:Reactネイティブプロジェクトを開始するに失敗しました

エラーが発生したときにXcode 8を使用していましたが、Xcodeを9.0やNodeなどにも更新しましたが、何も問題なく動作しています。

** BUILD FAILED ** 

The following build commands failed: 
     CompileC /Users/clines291/RNProjects/AwesomeProject/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/Conv.o/Users/clines291/RNProjects/AwesomeProject/node_modules/react-native/third-party/folly-2016.09.26.00/folly/Conv.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler 
     CompileC /Users/clines291/RNProjects/AwesomeProject/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/StringBase.o /Users/clines291/RNProjects/AwesomeProject/node_modules/react-native/third-party/folly-2016.09.26.00/folly/StringBase.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler 
(2 failures) 

Installing build/Build/Products/Debug-iphonesimulator/AwesomeProject.app 
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): 
Failed to install the requested application 
An application bundle was not found at the provided path. 
Provide a valid path to the desired application bundle. 
Print: Entry, ":CFBundleIdentifier", Does Not Exist 

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug- iphonesimulator/AwesomeProject.app/Info.plist 
Print: Entry, ":CFBundleIdentifier", Does Not Exist 

添付ファイル:
Visual Code build failed error
Xcode build failed errors

バージョン:
のXCode:9.0
ノード:v8.6.0
自作:1.3.5
夜警:4.9。 0
反応ネイティブ-CLI:2.0.1
を反応させ、ネイティブ:0.49.3
NPM:5.3.0

は、事前にありがとうございます!

答えて

0

xcode 9ではなくxcode 8を使用してみましたか?

またはあなたはまだこの

rm -r ~/.rncache/ 
cd node_modules/react-native/third-party/glog-0.3.4/ 
./configure --host arm-apple-darwin 
+0

ありがとうございますが、これは悪くありませんケッド!上記と同じ問題。 – John

関連する問題