im-js / im.js

一个基于 react-native + mobx + socket.io + node 的仿微信 JS-Wechat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

项目运行失败

ElvisVern opened this issue · comments

/Users/mao/Desktop/im.js/node_modules/react-native/React/Base/RCTPlatform.m:22:10: note: previous case defined here
case UIUserInterfaceIdiomPad:
^
2 errors generated.

** BUILD FAILED **

The following build commands failed:
CompileC /Users/mao/Desktop/im.js/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTPlatform.o Base/RCTPlatform.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/ImClient.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/ImClient.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

为什么会报这个错误呢

额。。我全都试过了 还是没解决 我升级xcode 8 试试 谢谢啊

升级后运行成功。感谢楼主