[英]i have already developed an app in java how do i open it in xcode simulator
My team has developed a big social networking app. 我的团队开发了一个大型的社交网络应用程序。 Now i want to publish it to app store.
现在,我想将其发布到应用程序商店。 But the app is not written in Objective C. What is the way to get it published in app store?
但是该应用程序不是用Objective C编写的。如何在应用程序商店中发布它? Or least how can i open in in Xcode simulator for testing and enhancement?
或者至少我如何在Xcode模拟器中打开进行测试和增强?
My guess is that you created an app in android and now want to port it to iOS. 我的猜测是您在android中创建了一个应用,现在想将其移植到iOS。 Unfortunately Xcode isn't able to transform Java to Objective-C and iOS cannot run Java apps, so you will not be able yo submit your app as-is to the App Store.
不幸的是,Xcode无法将Java转换为Objective-C,iOS无法运行Java应用程序,因此您将无法按原样将应用程序提交到App Store。
You will have to do it the hard way and rewrite the entire app in Objective-C. 您将必须用困难的方式完成操作,然后在Objective-C中重写整个应用程序。 Luckily Google recently launched a translator that might help with part of the work: http://google-opensource.blogspot.com.br/2012/09/j2objc-java-to-ios-objective-c.html
幸运的是,Google最近推出了可能对部分工作有所帮助的翻译器: http : //google-opensource.blogspot.com.br/2012/09/j2objc-java-to-ios-objective-c.html
You cannot. 你不能。 Sorry.
抱歉。
I recently worked on an app for iOS and Android launch and we settled for parallel development. 我最近为iOS和Android发布开发了一个应用程序,我们决定进行并行开发。
Your Java code is incompatible with iOS and Xcode has no process to convert it to Obj-c. 您的Java代码与iOS不兼容,并且Xcode没有将其转换为Obj-c的过程。 The only options for cross-platform development that I am aware of are:
我知道的跨平台开发的唯一选择是:
1) Heavy use of c/c++ based libraries; 1)大量使用基于c / c ++的库; these can be utilised in both Android applications and iOS applications (this is what we used).
这些可以在Android应用程序和iOS应用程序中使用(这就是我们所使用的)。 But the entire front end of the apps must be re-implemented.
但是必须重新实现应用程序的整个前端。
2) A cross-platform framework such as PhoneGap or Appcelerator, but this would require significant redevelopment from your current code-base. 2)跨平台框架,例如PhoneGap或Appcelerator,但这将需要从当前代码库进行大量重新开发。
3) A 'translator' such as the one Breno Gazzola suggested (another option is XMLVM) but these only do some of the work for you, and they're far from perfect. 3)诸如Breno Gazzola建议的“翻译器”(另一种选择是XMLVM),但是这些仅为您完成一些工作,而且还远远不够完美。
It's very hard to judge without knowing your code, but if I were you I'd look at combining options 1 and 3 as much as possible, but budget for a complete re-write. 在不知道您的代码的情况下很难判断,但是如果您是我,我会考虑将选项1和3尽可能多地组合在一起,但是要预算以完全重写。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.