英文:
Using react native for IOS development on Linux
问题
我目前正在尝试开发一个多平台应用,但我在使用Linux(Ubuntu),我以为我可以只使用Expo进行开发,然后只需在Mac上构建项目。
但似乎如果我想要一个使用摄像头等功能的项目,Linux 是不够的。
我错了吗?
看起来我需要使用CocoaPods,但它不仅仅适用于macOS吗?
我完全迷失了 😅
尝试使用CocoaPods,以为它适用于Linux和Mac,但它仍然需要安装Xcode,而Xcode是严格针对Mac的。
英文:
I'm curently trying to develop an multi platform app, but i'm using a linux (ubuntu) and I thought that i could just use expo for the development and then just use a mac to build the project.
But it seems that if I want a project that uses for example the camero, a linux isn't gonna cut it.
Am i wrong ?
It seems like I need to use cocoapods, but isn't it just for macOS ?
I'm completly lost on this 😅
Tried using cocoapods thinking it was adapted to both linux and mac but it still need xcode installed, which is strictly for mac.
答案1
得分: 0
我曾感到困惑,但只是错误地使用了 Expo,现在我只使用 Expo SDK,它会自动处理复杂的 iOS 问题,而不是使用 React Native 包。
英文:
I was confused, but i was just using expo the wrong way, I now just use the expo SDK that handles automatically the complicated ios stuff, instead of the react-native packages.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论