我正在尝试在Heroku上推送我的Web应用程序但是它需要特定的NPM版本(> 2.0,因为我想从本地路径安装模块).
我尝试在我的package.json文件中指定我想要的npm版本,如下所示:
"engines": {
"node": "0.10.x",
"npm": "2.1.6"
},
Run Code Online (Sandbox Code Playgroud)
但它不起作用.我得到以下内容:
[13:26:09][Step 3/3] 80 http 200 https://registry.npmjs.org/mailgun
[13:26:09][Step 3/3] 81 silly registry.get cb [ 200,
[13:26:09][Step 3/3] 81 silly registry.get { date: 'Wed, 12 Nov 2014 18:26:08 GMT',
[13:26:09][Step 3/3] 81 silly registry.get server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
[13:26:09][Step 3/3] 81 silly registry.get etag: '"4TEYXG8V5ESBTLTLYGNM1K3VM"',
[13:26:09][Step 3/3] 81 silly registry.get 'content-type': 'application/json',
[13:26:09][Step 3/3] 81 silly registry.get 'cache-control': 'max-age=60',
[13:26:09][Step 3/3] 81 silly registry.get 'content-length': '14782',
[13:26:09][Step 3/3] 81 …Run Code Online (Sandbox Code Playgroud) 我正在尝试从命令行生成临时IPA,但无法使其正常工作。
不过,我可以生成从Xcode中做即席IPA Product -> Archive和Export...在管理。
这是我如何在命令行上生成IPA的方法
xcodebuild -project DemoApp.xcodeproj -scheme DemoApp archive -archivePath build/DemoApp.xcarchive -configuration Release
xcrun -sdk iphoneos PackageApplication -v build/DemoApp.xcarchive/Products/Applications/DemoApp.app -o build/DemoApp.ipa --sign "iPhone Distribution" --embed DemoApp_Adhoc.mobileprovision
Run Code Online (Sandbox Code Playgroud)
通过iTunes安装生成的IPA时,无法在设备上正确安装。图标变灰,标题显示为“正在安装...”,如此处。
我已经检查了配置文件,UUID等。
我曾尝试过深圳,但行为相同。
你能发现我在做什么错吗?
谢谢!