简体   繁体   English

无需开发人员帐户即可在本地构建iOS应用

[英]Build iOS app locally without a developer account

I'm just trying out iOS development and no way willing to pay $99 to try out something. 我只是在尝试iOS开发,没有办法愿意支付99美元来尝试一些东西。 I have a running project that works on android and I wanted to see how it looks on iPhone but it seems I'm stuck on all sides. 我有一个正在运行的可在android上运行的项目,我想看看它在iPhone上的外观,但似乎我四面楚歌。

First of all, I've installed Sidekick and setup Nativescript on the mac and tns doctor reports no issues (I originally made the project on Windows with Android phone). 首先,我已经在Mac上安装了Sidekick并设置了Nativescript,而tns doctor没有任何问题的报告(我最初是在使用Android手机的Windows上创建该项目的)。 Now I'm trying to do a local build but I get an error: 现在,我正在尝试进行本地构建,但出现错误:

[18-10-19 22:49:00.401] Error detected during LiveSync on 9991865793b34ae30366571031b6c251590c222a for /Users/vipulk/Documents/YO. Error: ENOENT: no such file or directory, scandir '/Users/vipulk/Library/MobileDevice/Provisioning Profiles/'

I think this is related to certificates and provisioning profiles. 我认为这与证书和配置文件有关。 I thought you didn't needed those for local builds. 我以为您不需要本地构建的那些。 Anyways, The sidekick's Auto Generate is of no use either as it doesn't work with 2FA accounts . 无论如何,Sidekick的自动生成功能也没有用,因为它不适用于2FA帐户

I tried to use this guide to create these files manually. 我尝试使用本指南手动创建这些文件。 I created the csr file but step 6 asks you to go to this page which asks you to use your development program. 我创建了csr文件,但第6步要求您转到此页面该页面要求您使用开发程序。 Again, don't have that. 同样,不要那样。

The cloud build also needs certificates. 云构建也需要证书。

What do I do? 我该怎么办?

The NativeScript Book has two chapters at the end on iOS deployment, and they address your question, though they don't use sidekick. NativeScript书》在iOS部署的最后有两章,尽管它们不使用同伴,但它们解决了您的问题。 But, hey, nothing wrong with the good old {N} CLI. 但是,嘿,旧的{N} CLI没什么错。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM