cocos2d / cocos2d-x-samples

Contains different cocos2d-x samples
MIT License
576 stars 242 forks source link

Download engine script fails on 404 #52

Open MaxGabriel opened 8 years ago

MaxGabriel commented 8 years ago
Max@maximilians-mbp ~/D/C/C/cocos2d-x-samples> python download-engine.py
=======================================================
==> Prepare to download cocos2d-x engine!
==> Ready to download 'cocos2d-x-3.8.zip' from 'http://cocostudio.download.appget.cn/Cocos2D-X/cocos2d-x-3.8.zip'
==> Error: Could not find the file from url: 'http://cocostudio.download.appget.cn/Cocos2D-X/cocos2d-x-3.8.zip'
==> Http request failed, error code: 404, reason: <html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.10.1</center>
</body>
</html>
haha0504 commented 8 years ago

have you solved?

Poordeveloper commented 8 years ago

You can follow below:

$ git clone https://github.com/cocos2d/cocos2d-x-samples.git $ cd cocos2d-x-samples $ git submodule update --init $ cd libs; git clone https://github.com/cocos2d/cocos2d-x; cd libs/cocos2d-x $ ./download-deps.py $ open cocos2d-x-samples/samples/LiquidFun-Testbed/proj.ios_mac/LiquidFun-Testbed.xcodeproj/

to make samples work with latest cocos2d-x, you need to disable bitcode, please refer to http://stackoverflow.com/questions/31205133/how-to-enable-bitcode-in-xcode-7, and add in CoreText.framework