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

运行demo的时候运行自定义shell脚本出问题 #8

Closed
yangchao0033 opened this issue Nov 16, 2015 · 2 comments
Closed

运行demo的时候运行自定义shell脚本出问题 #8

yangchao0033 opened this issue Nov 16, 2015 · 2 comments

Comments

@yangchao0033
Copy link

`PhaseScriptExecution Run\ Script /Users/chaoyang/Library/Developer/Xcode/DerivedData/YYKit-Static-dgprtydmnneatjaxszjjpuyeiyso/Build/Intermediates/YYKit-Static.build/Debug-iphoneos/YYKit.build/Script-D9B2622F1BEF581D0038C00A.sh
cd /Users/chaoyang/Desktop/IOS/库文件/YYKit-master/Framework
/bin/sh -c /Users/chaoyang/Library/Developer/Xcode/DerivedData/YYKit-Static-dgprtydmnneatjaxszjjpuyeiyso/Build/Intermediates/YYKit-Static.build/Debug-iphoneos/YYKit.build/Script-D9B2622F1BEF581D0038C00A.sh

UFW (M iphoneos): ERROR: Build failed
Traceback (most recent call last):
File "/Users/chaoyang/Library/Developer/Xcode/DerivedData/YYKit-Static-dgprtydmnneatjaxszjjpuyeiyso/Build/Intermediates/YYKit-Static.build/Debug-iphoneos/YYKit.build/Script-D9B2622F1BEF581D0038C00A.sh", line 812, in
run_build()
File "/Users/chaoyang/Library/Developer/Xcode/DerivedData/YYKit-Static-dgprtydmnneatjaxszjjpuyeiyso/Build/Intermediates/YYKit-Static.build/Debug-iphoneos/YYKit.build/Script-D9B2622F1BEF581D0038C00A.sh", line 745, in run_build
project = Project(os.path.join(os.environ['PROJECT_FILE_PATH'], "project.pbxproj"))
File "/Users/chaoyang/Library/Developer/Xcode/DerivedData/YYKit-Static-dgprtydmnneatjaxszjjpuyeiyso/Build/Intermediates/YYKit-Static.build/Debug-iphoneos/YYKit.build/Script-D9B2622F1BEF581D0038C00A.sh", line 201, in init
self.header_paths = [os.path.join(*x['pathComponents']) for x in self.public_headers]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 73, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 28: ordinal not in range(128)
Command /bin/sh failed with exit code 1`
不知道啥原因。。。

@ibireme
Copy link
Owner

ibireme commented Nov 16, 2015

先把 /Users/chaoyang/Library/Developer/Xcode/DerivedData/ 下面关于 YY 的东西都删掉,然后 Clean 一下工程,直接运行 YYKitDemo.xcodeproj。

另外确保用 Xcode 7 以上版本运行~

@yangchao0033
Copy link
Author

嗯嗯,可以了 里面的demo好强大,正在研究ing,多谢哈!

@ibireme ibireme closed this as completed Nov 17, 2015
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

2 participants