简体   繁体   English

Expo 是否能够在不需要 Mac 的情况下构建可用于生产的 iOS 应用程序?

[英]Is Expo able to build a production-ready iOS app without needing a Mac?

I'm about to start developing a React Native app.我即将开始开发 React Native 应用程序。 However, for iOS, my company is unable to provide me a physical Mac device for building/publishing the app.但是,对于 iOS,我的公司无法为我提供用于构建/发布应用程序的物理 Mac 设备。

So I'm planning to use Expo.所以我打算使用世博会。 But can Expo replace a physical Mac for building the app (I mean, getting the app ready for the App Store)?但是 Expo 能否取代物理 Mac 来构建应用程序(我的意思是,让应用程序为 App Store 做好准备)? Or is Expo only used to test the app on an iPhone (by flashing the QR code)?还是 Expo 仅用于在 iPhone 上测试应用程序(通过闪烁二维码)? I'm a bit confused.我有点困惑。

Short answer: Yes, with a curve.简短回答:是的,有曲线。

Long answer: Before your app is released, react native needs to transpile your javascript to exo-native code (not sure of the real term for that).长答案:在您的应用程序发布之前, transpile Native 需要将您的 JavaScript 转换为外部本地代码(不确定真正的术语)。 And this process may not run unless you 'eject' your code.除非你“弹出”你的代码,否则这个过程可能不会运行。 This produces the android and ios folders that would be almost production ready except that you now have to build to generate apk in the case of Android or app in the case of iOS.这将生成几乎可以用于生产的 android 和 ios 文件夹,除了您现在必须build以在 Android 的情况下生成apk或在 iOS 的情况下生成app

Now if you have added third party plugins, that have native codes, that expo does not already have a unimodule for, these won't work in expo because they need to really be compiled into native codes before being bundled into your app.现在,如果您添加了具有本机代码的第三方插件,那么 expo 还没有unimodule ,这些插件将无法在 expo 中使用,因为它们需要在捆绑到您的应用程序之前真正编译成本机代码。

Edit: Expos has evolved during these years and the former short answer I gave as No, no longer is as valid.编辑:Expos 在这些年里发生了变化,我之前给出的简短回答“否”不再有效。 You can now build without a Mac;您现在可以在没有 Mac 的情况下进行构建; expo does that for you.世博会为你做到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我无法更改 Expo IOS 版本的应用程序图标 - I am not able to change the app icon for Expo IOS build React Native expo 在没有 mac 的情况下创建 iOS 应用程序? - React Native expo create iOS app without mac? 如何在没有登录权限的情况下在博览会中构建 iOS 应用程序? - How to build iOS app in expo without login access? Expo和React Native:准备生产 - Expo and React Native: Ready for production 在代码中确定应用程序是否在 Expo Go 中运行(在生产版本中) - Determine in code if app runs in Expo Go or not (in production build) 世博会独立应用,为Facebook App Review生成iOS模拟器 - Expo detached app, generate iOS simulator build for Facebook App Review TEMP FIX - 构建和上传 iOS 应用程序 Expo(无应用程序加载器) - TEMP FIX - Build and Upload iOS application Expo (Without Application Loader) expo:是否可以构建 ios 独立应用程序并直接在设备上运行 - expo: Is it possible to build ios standalone app and run on device directly 在 Windows 计算机上为 React Native App 运行 expo build:ios 时出错 - Error running expo build:ios on Windows Computer for React Native App Expo:“Withnavigation”和“gorhom/bottom-sheet”导致应用在生产模式和应用构建时卡在启动画面 - Expo: ‘Withnavigation’ & ‘gorhom/bottom-sheet’ is causing the app to get stuck at Splash Screen on the production mode & app build
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM