Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native run-ios 报错 #17

Closed
codingEcho opened this issue Jul 27, 2016 · 12 comments
Closed

react-native run-ios 报错 #17

codingEcho opened this issue Jul 27, 2016 · 12 comments

Comments

@codingEcho
Copy link

.../reading/node_modules/promise/lib/done.js:10
throw err;
^

Error: xcodebuild process exited with code 65
at ChildProcess. (runIOS.js:102:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

@Richard-Cao
Copy link
Member

log不全啊。看下 #1 能不能解决你的问题

@codingEcho
Copy link
Author

按照#1的方法试了试,还是找不到RCTBridgeModule.h @Richard-Cao

@Richard-Cao
Copy link
Member

@codingEcho 是wechat那个库报的问题么

@codingEcho
Copy link
Author

是的,现在
修改了
$(SRCROOT)/../../react-native/React and
$(SRCROOT)/../../react-native/Libraries
但是又抛另外一个错
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/Developer/Library/Frameworks'
ld: file not found: /Users/mlwills/Library/Developer/Xcode/DerivedData/reading-evusolphipkzgrgghdzjodzlcllk/Build/Products/Debug-iphonesimulator/reading.app/reading
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@Richard-Cao
Copy link
Member

这是你xcode里虚拟机的问题了,就不是代码问题啦 @codingEcho

@codingEcho
Copy link
Author

@Richard-Cao 难道是我的版本太高 不兼容

@Richard-Cao
Copy link
Member

额,你把编译虚拟机sdk降一点试试,估计是你没有9.3的虚拟机导致的

@codingEcho
Copy link
Author

@Richard-Cao 把readingTests删除之后问题解决这里

@Richard-Cao
Copy link
Member

good

@HasBeenOnGit
Copy link

@codingEcho 在哪把readingTests删除?

@Richard-Cao
Copy link
Member

你现在拉最新的代码,readingTests已经删除掉了 @HasBeenOnGit

@HasBeenOnGit
Copy link

恩,好了.重新弄了最新的代码,一个问题都没有了.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants