如何从android studio生成iOS端点库

时间:2023-01-06 23:10:29

I created an Android client / appengine cloud endpoints server project with Android Studio. I would now like to generate the iOS Objective-C sources of the endpoint to use for an iOS port of the Android client. How can I generate the source? I cannot find the endpoints.sh or any other command line tools with the project. Also, the gradle sources for the endpoints plugin seems to have java-libs only hardcoded.

我用Android Studio创建了一个Android客户端/ appengine云端点服务器项目。我现在想生成端点的iOS Objective-C源,用于Android客户端的iOS端口。我该如何生成源代码?我无法在项目中找到endpoints.sh或任何其他命令行工具。此外,端点插件的gradle源似乎只有java-libs硬编码。

1 个解决方案

#1


0  

You can't generate an iOS client from Android. You need a computer with Xcode installed. See here. The endpoints SDK only allows Java client library generation, because of this, and also because most other clients are generated dynamically and/or external from the client generator service.

您无法从Android生成iOS客户端。您需要安装了Xcode的计算机。看这里。端点SDK仅允许生成Java客户端库,因此,还因为大多数其他客户端是从客户端生成器服务动态和/或外部生成的。

#1


0  

You can't generate an iOS client from Android. You need a computer with Xcode installed. See here. The endpoints SDK only allows Java client library generation, because of this, and also because most other clients are generated dynamically and/or external from the client generator service.

您无法从Android生成iOS客户端。您需要安装了Xcode的计算机。看这里。端点SDK仅允许生成Java客户端库,因此,还因为大多数其他客户端是从客户端生成器服务动态和/或外部生成的。