Closed hounsellal closed 8 years ago
Try react-native upgrade
, and read this: https://github.com/facebook/react-native/issues/7308#issuecomment-219597774
Still doesn't work unfortunately.
Could you, please, try run XCode and clean your project (Cmd+Shift+K
)? I've sometimes experienced this when trying to run react-native run-ios
on my project regardless @shoutem/ui
Hi, I think this may help you @hounsellal : https://medium.com/@alberto.schiabel/react-native-on-xcode-beta-8-0-how-to-fix-initial-build-error-f0225c649850#.m0jxnivwt
This blog post of mine solves the following problem:
Print: Entry, ":CFBundleIdentifier", Does Not Exist /Users/jkomyno/dev/YourAwesomeProject/node_modules/promise/lib/done.js:10
throw err; ^
Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/YourAwesomeProject.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist
Closing, as this issue seems to be related with React Native.
In file included from /Users/kartikpatel/Documents/GoInt/shoutem/bswelcomeapp/node_modules/react-native-shopify/ios/RNShopify.m:1: /Users/kartikpatel/Documents/GoInt/shoutem/bswelcomeapp/node_modules/react-native-shopify/ios/RNShopify.h:10:9: fatal error: 'Buy.h' file not found
^~~~~~~
1 error generated.
The following build commands failed: CompileC /Users/kartikpatel/Documents/GoInt/shoutem/bswelcomeapp/ios/build/Build/Intermediates.noindex/RNShopify.build/Debug-iphonesimulator/RNShopify.build/Objects-normal/x86_64/RNShopify.o RNShopify.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/BarberSupplies.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist
When I create a simple React Native app that works. but shoutem app doesnt work.
The first error says the header file is missing.. I check the project and the file doesnt exist, So the compiler is correct that's an error. But how can the same project run on my colleague's machine.
The other errors I assume are the consequence of the first one.
Followed the instructions exactly. Clones shoutem/ui, cd'd into restaurants app and installed and linked. tried starting on iOS simulator and:
And:
Any ideas?