[英]Hostname, port and wlservercontext of MobileFirst on Bluemix Mobile Foundation
I have done the following: 我已经完成以下工作:
I need the host name, port and wlservercontext to be set in the mfpclient.plist
file. 我需要在
mfpclient.plist
文件中设置主机名,端口和wlservercontext。 How/From where can I get these? 如何/从哪里可以得到这些?
You need to register your application with the MobileFirst Server instance that you're running in the Mobile Foundation service. 您需要向在Mobile Foundation服务中运行的MobileFirst Server实例注册应用程序。
Did you read the tutorial...? 您读过教程了吗? See here: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/quick-start/
参见此处: https : //mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/quick-start/
What you want to do is: 您想要做的是:
npm install mfpdev-cli
) npm install mfpdev-cli
) mfpdev server add
, see example here mfpdev server add
, 请参见此处的示例 Register the app: 注册应用程序:
mfpdev app register your-remote-server-name-from-step-2
- This step adds the details you've mentioned into the .plist file. mfpdev app register your-remote-server-name-from-step-2
此步骤将您提到的详细信息添加到.plist文件中。 Build the app again in Xcode 在Xcode中再次构建应用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.