android - 我能否使用 React Native 框架在 Mountain Lion 中编写/发布 iOS 和 Android 应用程序?

标签 android ios macos react-native

我开始学习 React Native,我不想使用 Create React Native App 为 Android 和 iPhone 编写代码,因为我似乎会失去一些“乐趣” .

为了做到这一点,我似乎需要使用 Mac 操作系统来编码,或者至少在 iPhone 上进行测试。

MacBooks 目前超出了我的预算,从互联网上下载也不是一个选择,所以唯一的选择,似乎是正确的,是虚拟化一个 Mac 操作系统,但要购买的最新可用操作系统是 山狮

我能否在 VM 中使用 Mountain Lion 在 Ubuntu 上编写 React Native 应用程序代码并在 iPhone 上测试/发布?提前致谢!

最佳答案

我怀疑。您需要最新的 Mac OS/Xcode 才能创建要在 App Store 上分发的应用程序。

来自: https://developer.apple.com/ios/submit/

Update your version of Xcode to the latest release of Xcode 9 available on the Mac App Store, which includes the iOS 11 SDK, and build your apps. Starting July 2018, all new iOS apps and updates submitted to the App Store must be built with the iOS 11 SDK.

由于 Mountain Lion 是 10.8.x 版,您不太可能运行需要 10.12+ 的 Xcode 9: 查看 How do I install Xcode 9/10 without updating macOS? 上帖子的链接答案

Apple 传统上强制新的/更新的应用程序使用最新的 SDK,它本身只支持最新版本的 Xcode,只能在最新版本的 Mac OS 上运行。

关于android - 我能否使用 React Native 框架在 Mountain Lion 中编写/发布 iOS 和 Android 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51181720/

相关文章:

android - 纵向居中 VideoView

android - 在可绘制文件夹中共享图像

ios - 覆盖层上的 userInteractionEnabled 会阻止下面 UIView 上的 touchEvents

ios - 我正在尝试从我的 ios Swift 项目中的 Firestore 数据库中获取数据

macos - Mac OS X 上的 Vim 插入模式

macos - 如何在 OS X 上使用 CLI 在文件或目录上设置图标?

android - 如何获得当前位置的纬度和经度值的一米或两米精度

android - 如何正确设计每侧带有 TextView 的 LinearLayout?

iphone - 我怎样才能在 cocos2d 中垂直而不是水平移动这些背景图像?

xcode - 第二个窗口简单显示 : OS X & Swift