问题标签 [sidekick]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
36 浏览

nativescript - Nativescript sidekick 最新更新(版本:1.14.1-v.2018.11.23.3(最新))

我刚刚更新了 Sidekick(或者他这样做是因为我关闭了我的 Mac,并且当我自动返回 Sidekick 更新时),从那时起,我遇到了很多我没有遇到的问题,例如今天早上......他只是卡在“设备上的刷新应用程序...”上,什么也没做...几分钟前要求我手动操作(我以前不必这样做)但如果在那之后我在我的代码上更新了一些东西,然后他被卡住了……我在本地构建,我正在使用我的 iphone 6。

谁能告诉我这是怎么回事?!?!

问候

0 投票
1 回答
275 浏览

nativescript - CLI 更新后 Nativescript Sidekick 不会启动

我发现了一些重复项,但这些对我不起作用: NativeScript Sidekick won't run since CLI 3.2.1 update doesn't work https://discourse.nativescript.org/t/tns-update-3-2-1-不工作/2766/4

我目前正在尝试启动 Nativescript Sidekick,但它总是提示我使用命令更新 nativescript CLI

npm i -g nativescript@latest

这不起作用。

我也尝试卸载,清除缓存并重新安装。这也没有奏效。

有什么建议么?

日志:

主要的

[18-12-28 16:54:16.851](信息)ab.actionsLogger.shell.appVersion - {"name":"NativeScript Sidekick","version":"1.14.1-v.2018.11.23.3"} [ 18-12-28 16:54:16.864](信息)ab.analytics.shell.clientId - 2084238102.1530883066 [18-12-28 16:54:16.878](信息)ab.appContext.shell.appContext - 未提供值 [ 18-12-28 16:54:16.879](信息)ab.appContext.shell.projectType - 没有提供值 [18-12-28 16:54:16.913](信息)ab.appValidityWatcher.shell.isAppValid - 没有值提供 [18-12-28 16:54:16.931] (Info) ab.autoUpdate.shell.updates - {"eventName":"checking-for-update","message":"检查更新..."} [18-12-28 16:54:16.950] (信息) ab.buildDeploy.shell.buildConfigChanged - {"platform":null,"buildType":"Cloud","buildConfig":"Debug","isClean":false,"useSharedCloud":false,"webpack":{"isWebpack":false,"env":{"uglify":true,"snapshot":true,"aot" :{"debug":false,"release":true},"sourceMap":false}},"isHmr":false} [18-12-28 16:54:16.954](信息)ab.buildDeploy.shell。 isWebpackSupported - 未提供值 [18-12-28 16:54:16.957](信息)ab.buildDeploy.shell.isWebpackRequired - 未提供值 [18-12-28 16:54:16.959](信息)ab.buildDeploy。 shell.isAOTSupported - 未提供值 [18-12-28 16:54:16.960] (Info) ab.buildDeploy.shell.isSourceMapsSupported - 未提供值 [18-12-28 16:54:16.961] (Info) ab. buildDeploy.shell.canChangeWebpackOption - true [18-12-28 16:54:16.962](信息)ab.buildDeploy.shell。isHMRSupported - 未提供值 [18-12-28 16:54:16.966](信息)ab.buildDeploy.shell.isSharedCloudFlagSupported - 未提供值 [18-12-28 16:54:16.975](信息)ab.certificateStore。 shell.isSupported - true [18-12-28 16:54:16.987](信息)ab.codeSigning.shell.codeSigningChanged - {"ios":{},"android":{}} [18-12-28 16 :54:16.991] (信息) ab.codeSigning.shell.csrStore - {} [18-12-28 16:54:17.004] (信息) ab.createApp.shell.lastUsedAppDirectory - {"appDirectory":"D:\项目"} [18-12-28 16:54:17.025] (信息) ab.editor.shell.editorSettings - {"editorPath":"C:\Program Files\Microsoft VS Code\Code.exe","args" :"{projectPath}"} [18-12-28 16:54:17.040](信息)ab.kinveyAuth.shell.configData - {"shouldConfigure":false} [18-12-28 16:54:17。118](信息)ab.privacy.shell.privacyConfig - {"skipTracking":true,"privacyPolicyUrl":"https://www.progress.com/legal/privacy-policy ","intercomPrivacyPolicyUrl":" https://www.intercom.com/terms-and-policies#privacy ","forgetMeUrl":" https:// app.onetrust.com/app/#/webform/7897e80a-b8a4-4797-883a-bdacfe1ab8e4 ","unsubscribeUrl":" https://forms.progress.com/emailoptin ","partnersUrl":" https:// www.progress.com/partners/partner-directory","privacyInfoShown":true,"emailsAccepted":false} [18-12-28 16:54:17.121] (信息) ab.proxy.shell.proxySettings - {} [18-12-28 16:54:17.144 ](信息)ab.subscriptions.shell.usageInfo - 未提供值 [18-12-28 16:54:17.146](信息)ab.subscriptions.shell.accountFeatures - [] [18-12-28 16:54: 17.235](信息)ab.userAccounts.shell.userAccountList - [] [18-12-28 16:54:17.237](信息)ab.userAccounts.shell.activeUserAccount - 未提供值 [18-12-28 16:54 :18.898](信息)ab.analytics.ui.setVersion - {“版本”:“1.14.1-v.2018.11.23.3”} [18-12-28 16:54:18.901](信息)ab.buildDeploy。 ui.pendingRequests - 未提供值 [18-12-28 16:54:18.964] (Info) ab.vueService.ui.routeChanged - {"path":"/recent-apps","query":{"back" :true}} [18-12-28 16:54:19。068] (信息) ab.connectedDevices.ui.devicesListChanged - {} [18-12-28 16:54:26.253] (信息) ab.autoUpdate.shell.updates - {"eventName":"update-not-available" "消息":"没有可用的更新。"} [18-12-28 16:54:32.087] (信息) ab.tnsDoctor.shell.checkLocalBuild - {"iOS":{"canExecuteLocalBuild":false,"警告" :[]},"Android":{"canExecuteLocalBuild":true,"warnings":[]}} [18-12-28 16:54:37.873] (信息) ab.tnsDoctor.shell.checkDependencies - {"node ":{"name":"NodeJS","version":"8.11.3","versionRange":">=8.0.0 <10.6.0 ||update-not-available","message":"没有可用的更新。"} [18-12-28 16:54:32.087] (Info) ab.tnsDoctor.shell.checkLocalBuild - {"iOS":{"canExecuteLocalBuild" :false,"warnings":[]},"Android":{"canExecuteLocalBuild":true,"warnings":[]}} [18-12-28 16:54:37.873] (信息) ab.tnsDoctor.shell .checkDependencies - {"node":{"name":"NodeJS","version":"8.11.3","versionRange":">=8.0.0 <10.6.0 ||update-not-available","message":"没有可用的更新。"} [18-12-28 16:54:32.087] (Info) ab.tnsDoctor.shell.checkLocalBuild - {"iOS":{"canExecuteLocalBuild" :false,"warnings":[]},"Android":{"canExecuteLocalBuild":true,"warnings":[]}} [18-12-28 16:54:37.873] (信息) ab.tnsDoctor.shell .checkDependencies - {"node":{"name":"NodeJS","version":"8.11.3","versionRange":">=8.0.0 <10.6.0 ||[]}} [18-12-28 16:54:37.873](信息)ab.tnsDoctor.shell.checkDependencies - {"node":{"name":"NodeJS","version":"8.11.3" ,"版本范围":">=8.0.0 <10.6.0 ||[]}} [18-12-28 16:54:37.873](信息)ab.tnsDoctor.shell.checkDependencies - {"node":{"name":"NodeJS","version":"8.11.3" ,"版本范围":">=8.0.0 <10.6.0 ||

=10.10.0","versionToInstall":"8.11.3","isMet":true,"isAutoFixSupported":false},"npm":{"name":"npm","version":"6.4.1 ","isMet":true,"isAutoFixSupported":false},"tns":{"name":"NativeScript CLI","version":null,"versionRange":">=5.0.1","versionToInstall" :"最新","isMet":false,"isAutoFixSupported":true}}

安慰:

ENV: {"ALLUSERSPROFILE":"C:\ProgramData","ANDROID_AVD_HOME":"C:\Users\run_j\.android\avd","ANDROID_HOME":"C:\Users\run_j\AppData\Local\Android\ Sdk","ANDROID_SDK_ROOT":"C:\Users\run_j\AppData\Local\Android\Sdk","APPDATA":"C:\Users\run_j\AppData\Roaming","ChocolateyInstall":"C:\ProgramData \chocolatey","ChocolateyLastPathUpdate":"周五

2018 年 11 月 9 日 12:41:32","CLASSPATH":".;","CommonProgramFiles":"C:\Program Files\Common Files","CommonProgramFiles(x86)":"C:\Program Files (x86) \Common Files","CommonProgramW6432":"C:\Program Files\Common Files","COMPUTERNAME":"LAPTOP-23SLBRUJ","ComSpec":"C:\WINDOWS\system32\cmd.exe","DriverData" :"C:\Windows\System32\Drivers\DriverData","DXROOT":"D:\Programs\SandCastle\","FPS_BROWSER_APP_PROFILE_STRING":"Internet Explorer","FPS_BROWSER_USER_PROFILE_STRING":"默认","FSHARPINSTALLDIR":" C:\Program Files (x86)\Microsoft SDKs\F#\10.1\Framework\v4.0\","GOOGLE_API_KEY":"AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q","GTK_BASEPATH":"C:\Program Files (x86)\GtkSharp\2.12\","HOMEDRIVE":"C:","HOMEPATH":"\Users\run_j","JAVA_HOME":"C: \Program Files\Java\jdk1.8.0_191","LOCALAPPDATA":"C:\Users\run_j\AppData\Local","LOGONSERVER":"\\LAPTOP-23SLBRUJ","NUMBER_OF_PROCESSORS":"8"," OneDrive":"C:\Users\run_j\OneDrive","OneDriveConsumer":"C:\Users\run_j\OneDrive","OS":"Windows_NT","Path":"C:\ProgramData\Oracle\Java \javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem ;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D: \Programs\QuickTime\QTSystem\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\ Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone\; C:\Users\run_j\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\ Graphviz2.38\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA公司\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;\"C:\ProgramData\Oracle\Java\javapath;C:\Program Files ( x86)\Intel\iCLS 客户端\;C:\Program Files\Intel\iCLS 客户端\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell \v1.0\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell \v1.0\;D:\Programs\QuickTime\QTSystem\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files ( x86)\Skype\Phone\;C:\Users\run_j\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Graphviz2.38\bin;C:\xampp\php;C :\ProgramData\ComposerSetup\bin;C:\Program Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C :\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;\"C:\ProgramData\Oracle\Java\javapath; C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C: \Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C: \WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Programs\QuickTime\QTSystem\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel( R) 管理引擎组件\IPT;C:\Program Files\Intel\Intel(R) 管理引擎组件\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Users\run_j\.dnx\ bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Graphviz2.38\bin;C:\xampp \php;C:\ProgramData\ComposerSetup\bin;C:\Program Files\PuTTY\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS \system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;\"C:\WINDOWS\System32; C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools\";C:\ProgramData\chocolatey\bin;D:\Programs\NodeJS\;C:\Android\android-sdk\tools;C:\Android\android-sdk\平台工具;C:\Android\android-sdk\tools\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Java\jdk1.8.0_191\bin;C:\Program Files\ Oracle\VirtualBox;;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools\";C:\ProgramData\chocolatey\bin;D:\Programs\NodeJS\;C: \Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin;C:\Program Files\Microsoft VS Code\bin;C:\ Program Files\Java\jdk1.8.0_191\bin;C:\Program Files\Oracle\VirtualBox;;C:\Android\android-sd;C:\Users\run_j\AppData\Local\Microsoft\WindowsApps;C:\用户\run_j\AppData\Roaming\Composer\vendor\bin;C:\Program Files\Microsoft VS Code\bin;C:\Users\run_j\AppData\Roaming\npm","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" ,"PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 94 Stepping 3, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"5e03","ProgramData":"C:\ProgramData ","ProgramFiles":"C:\Program Files","ProgramFiles(x86)":"C:\Program Files (x86)","ProgramW6432":"C:\Program Files","PSModulePath":"C :\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\","PUBLIC":"C:\Users\Public","SESSIONNAME":"Console","SystemDrive":"C:","SystemRoot": “C:\WINDOWS","TEMP":"C:\Users\run_j\AppData\Local\Temp","TMP":"C:\Users\run_j\AppData\Local\Temp","USERDOMAIN":"LAPTOP-23SLBRUJ ","USERDOMAIN_ROAMINGPROFILE":"LAPTOP-23SLBRUJ","USERNAME":"Mennolp","USERPROFILE":"C:\Users\run_j","VBOX_MSI_INSTALL_PATH":"C:\Program Files\Oracle\VirtualBox\", "VS140COMNTOOLS":"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\","windir":"C:\WINDOWS"}Mennolp","USERPROFILE":"C:\Users\run_j","VBOX_MSI_INSTALL_PATH":"C:\Program Files\Oracle\VirtualBox\","VS140COMNTOOLS":"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\","windir":"C:\WINDOWS"}Mennolp","USERPROFILE":"C:\Users\run_j","VBOX_MSI_INSTALL_PATH":"C:\Program Files\Oracle\VirtualBox\","VS140COMNTOOLS":"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\","windir":"C:\WINDOWS"}

时间:appReady:77.854ms

时间:同步代理:1042.114ms

时间: apiShell: 87.933ms [2018-12-28T15:54:17.245Z]: Shell Ready - {"shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":310,"windows ":[{"type":"splash-screen","re​​ady":false},{"type":"index","re​​ady":false}],"shellReady":false,"allWindowsReady":false} }

时间:modulesLoad:473.362ms [2018-12-28T15:54:18.460Z]:UI 接收就绪 -

{"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app- 1.14.1-v201811233/resources/app.asar/ui/splash-screen.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows": [{"type":"splash-screen","re​​ady":false},{"type":"index","re​​ady":false}],"shellReady":false,"allWindowsReady":false}} [ 2018-12-28T15:54:18.461Z]:外壳窗口就绪 - {"windowType":"splash-screen","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","re​​ady":true},{"type":"index","re​​ady":false}],"shellReady": false,"allWindowsReady":false}} [2018-12-28T15:54:18.461Z]: UI 接收就绪 - {"uiData":{"readyForReceiving":true,"readyForSending":false,"sendRequestsCache":7} ,"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app.asar/ui/index.html","shellData":{ "lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","re​​ady":true},{"type":"index ","ready":false}],"shellReady":false,"allWindowsReady":false}} [2018-12-28T15:54:18.461Z]: Shell Window Ready - {"windowType":"index","shellData": {"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":312,"windows":[{"type":"splash-screen","re​​ady":true},{"type":" index","re​​ady":true}],"shellReady":true,"allWindowsReady":true}} [2018-12-28T15:54:18.715Z]:UI 发送就绪 - {"uiData":{"readyForReceiving" :true,"readyForSending":true,"sendRequestsCache":15},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14.1-v201811233/resources/app .asar/ui/启动画面。html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":0,"windows":[{"type":"splash-screen","re​​ady":true} ,{"type":"index","re​​ady":true}],"shellReady":true,"allWindowsReady":true}} [2018-12-28T15:54:18.895Z]:UI 发送就绪 - {" uiData":{"readyForReceiving":true,"readyForSending":true,"sendRequestsCache":85},"windowHref":"file:///C:/Users/run_j/AppData/Local/NativeScriptSidekick/app-1.14。 1-v201811233/resources/app.asar/ui/index.html","shellData":{"lastModuleEvent":"componentsReady","moduleEventsCache":64,"sendRequestsCache":0,"windows":[{"type":"splash-screen","re​​ady":true},{"type":"index","re​​ady":true}],"shellReady":true,"allWindowsReady":true}}

时间:initWindows:2918.208ms

时间:检查先决条件:22657.786ms

0 投票
0 回答
180 浏览

ios - NativeScript 错误:安装失败:无法将应用程序传输到设备

突然间,我的 iOS 应用程序(NativeScript 5.1 Sidekick iOS Cloud build)不再部署在我的设备上。错误消息并没有真正的帮助。与设备的连接在那里......以前工作正常。主机是 Windows 10。重新启动 Pad 和 PC 没有帮助。

在 C:\app\testapp 的 xxxxxxxxxxxxxx 上进行 LiveSync 期间检测到错误。错误:无法在标识符为 xxxxxxxxxxxx 的设备上安装 C:\app\testapp.cloud\ios\device\testapp.ipa。错误是:无法转移应用程序

谷歌在这个问题上也没有真正的帮助......任何线索?

0 投票
1 回答
162 浏览

nativescript - 在 Windows 10 上安装 NativeScript Sidekick 时遇到一些错误。之前已经安装了 CLI 完整版

尝试安装 NativeScript Sidekick 以便在本地设备上部署应用程序。我已经安装了完整的 CLI,并且 tns run 在模拟器上运行良好。现在 Sidekick 安装给出了几个错误并挂起。

尝试满足所有先决条件,包括安装 iTunes。

Windows 10 上的错误列表

0 投票
0 回答
46 浏览

nativescript - NativeScript Sidekick

当我加载 Sidekick 时,由于正在使用用户代理(Chrome 版本 58,它是 14 版本的旧版本)而出现错误。由于我们的安全策略,我无法在我们的公司网络上运行它。

是否有任何设置可以更改,以便我可以成功加载 Sidekick。

干杯

麦克风

0 投票
1 回答
140 浏览

nativescript - Nativescript Sidekick 发布到 App Store

我在我的 Windows 10 机器 (64b) 上运行 Sidekick。

我正在尝试将我的应用程序发布到 Apple AppStore。证书,规定一切正常。当我发布时,构建完成,我可以在询问时登录并填写验证码。

但后来我收到错误“Spawn Failed”。谷歌搜索了这个错误,但没有找到任何东西。

日志中的错误是:

[19-03-08 10:52:20.711] (CLI) 构建机器主机名:administrators-Mac-16.local

[19-03-08 10:52:58.349] 生成失败。

, 错误:生成失败。在 CloudPublishService.getiOSError (C:\Users\bartad\AppData\Roaming.nativescript-cli\extensions\node_modules\nativescript-cloud\lib\services\cloud-publish-service.js:79:21)

在 CloudPublishService。(C:\Users\bartad\AppData\Roaming.nativescript-cli\extensions\node_modules\nativescript-cloud\lib\services\cloud-publish-service.js:96:29)

在 Generator.next ()

已完成(C:\Users\bartad\AppData\Roaming.nativescript-cli\extensions\node_modules\nativescript-cloud\lib\services\cloud-publish-service.js:4:58)

有谁知道这里有什么问题?

谢谢巴特

0 投票
1 回答
393 浏览

javascript - 构建项目时出现 Nativescript 错误

我正在尝试在 iOS 中构建一个简单的项目。当我尝试通过 nativescript sidekick 运行项目时,它会引发以下错误:

Ld DerivedData/ManiBurs/Build/Intermediates.noindex/ArchiveIntermediates/ManiBurs/IntermediateBuildFilesPath/ManiBurs.build/Debug-iphoneos/ManiBurs.build/Objects-normal/armv7/ManiBurs normal armv7 Ld DerivedData/ManiBurs/Build/Intermediates.noindex/ArchiveIntermediates /ManiBurs/IntermediateBuildFilesPath/ManiBurs.build/Debug-iphoneos/ManiBurs.build/Objects-normal/arm64/ManiBurs normal arm64(2次失败)[00:00:43.399] [WARN] [xcode-build] ld:找不到目录对于选项'-F/tmp/builds/_/457659ebf679bdfd010de0fc82139cb9c95cece2/5.0.3/5.0.0/ManiBurs/platforms/ios/../../node_modules/nativescript-pro-ui/platforms/ios' [xcode-build ] ld:找不到选项'-F/tmp/builds/_/457659ebf679bdfd010de0fc82139cb9c95cece2/5.0.3/5.0.0/ManiBurs/platforms/ios/../../node_modules/nativescript-pro-ui/platforms/的目录IOS' [00:00:43。404] [错误] [xcode-build] ld:找不到框架 TNSAutoComplete [xcode-build] clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)[xcode-build] ld:找不到框架TNSAutoComplete [xcode-build] clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)[00:00:43.637] [ERROR] ** ARCHIVE FAILED ** 以下构建命令失败:Ld DerivedData/ ManiBurs/Build/Intermediates.noindex/ArchiveIntermediates/ManiBurs/IntermediateBuildFilesPath/ManiBurs.build/Debug-iphoneos/ManiBurs.build/Objects-normal/armv7/ManiBurs normal armv7 Ld DerivedData/ManiBurs/Build/Intermediates.noindex/ArchiveIntermediates/ManiBurs/ IntermediateBuildFilesPath/ManiBurs.build/Debug-iphoneos/ManiBurs.build/Objects-normal/arm64/ManiBurs normal arm64(2 次失败)“构建失败,错误代码为 2”。找不到框架 TNSAutoComplete [xcode-build] clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)[xcode-build] ld:找不到框架 TNSAutoComplete [xcode-build] clang:错误:链接器命令退出代码 1 失败(使用 -v 查看调用) [00:00:43.637] [ERROR] ** ARCHIVE FAILED ** 以下构建命令失败:Ld DerivedData/ManiBurs/Build/Intermediates.noindex/ArchiveIntermediates/ManiBurs/ IntermediateBuildFilesPath/ManiBurs.build/Debug-iphoneos/ManiBurs.build/Objects-normal/armv7/ManiBurs normal armv7 Ld DerivedData/ManiBurs/Build/Intermediates.noindex/ArchiveIntermediates/ManiBurs/IntermediateBuildFilesPath/ManiBurs.build/Debug-iphoneos/ManiBurs。 build/Objects-normal/arm64/ManiBurs normal arm64(2 次失败)“构建失败,错误代码 2”。找不到框架 TNSAutoComplete [xcode-build] clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)[xcode-build] ld:找不到框架 TNSAutoComplete [xcode-build] clang:错误:链接器命令退出代码 1 失败(使用 -v 查看调用) [00:00:43.637] [ERROR] ** ARCHIVE FAILED ** 以下构建命令失败:Ld DerivedData/ManiBurs/Build/Intermediates.noindex/ArchiveIntermediates/ManiBurs/ IntermediateBuildFilesPath/ManiBurs.build/Debug-iphoneos/ManiBurs.build/Objects-normal/armv7/ManiBurs normal armv7 Ld DerivedData/ManiBurs/Build/Intermediates.noindex/ArchiveIntermediates/ManiBurs/IntermediateBuildFilesPath/ManiBurs.build/Debug-iphoneos/ManiBurs。 build/Objects-normal/arm64/ManiBurs normal arm64(2 次失败)“构建失败,错误代码 2”。

谁能帮我看看错误是什么???

0 投票
1 回答
527 浏览

app-store - Nativescript - 发布到 IOS

众所周知,发布到应用商店是一场噩梦,此时此刻我正试图发布我的应用,但无论使用 nativescript sidekick 还是使用应用加载程序,我都会不断出错,而且我已经完成了这里所说的每一步... 所以:

使用 nativescript sidekick 时:

  1. 我点击发布按钮,选择我的证书和配置文件。
  2. 插入我的应用商店凭据
  3. 错误是:错误是:请求无法收到任何响应
  4. 我去了这里,但问题仍然存在!

在应用程序加载器中上传 ipa 文件时:

该错误只是说(总是!!!)我的配置文件不适用于该捆绑包等。

我可以在这里做什么?问题是什么?

感谢您的时间,问候

0 投票
0 回答
89 浏览

ios - 无法在 iOS NativeScript Sidekick 中使用 openUrl 打开应用程序

我尝试了所有找到的解决方案,但仍然获得相同的结果。

我在 Windows 10 上使用 NativeScript Sidekick,它工作正常,但是当我想打开谷歌地图、Facebook 或优步时(例如使用 openUrl("comgooglemaps://") 或 openUrl("fb://")),它不工作。我尝试将 LSApplicationQueriesSchemes 添加到 Info.plist 中,但没有任何变化。

有人帮助我运行了一个使用 Sidekick 创建的干净项目,并且 openUrl() 运行良好。

所以...我想知道我的问题是因为我使用的是 Windows 还是我需要添加其他配置。

这似乎是一个简单的问题,但我将非常感谢任何帮助。谢谢!

PD:使用原生 iOs Map 可以正常工作 (openUrl("map://"))

0 投票
1 回答
466 浏览

typescript - NativeScript 升级步骤因缺少 TypeScript 和 Webpack 支持脚本而失败

我正在尝试升级旧项目以使用最新的 NativeScript 版本运行。我正在按照 NativeScript 升级页面中列出的步骤进行操作。据我所知,这个项目正在使用 4.2.0 平台和 6.1.0 Angular 库,以及以下开发依赖项:

当我运行命令npm i nativescript-dev-typescript@latest --save-dev更新 TS 时,下一步使用的文件:./node_modules/.bin/ns-upgrade-tsconfig丢失。webpack 步骤也是如此。

我尝试忽略这一点并完成了其他升级步骤,但是当我尝试运行我的应用程序时,我得到了指向这篇文章的错误,这让我处于同样的情况(./node_modules/.bin/update-ns-webpack --deps --configs由于文件丢失而无法运行)

我尝试从 github 下载 .zip 文件并将这些脚本手动添加到我的.bin文件夹中,但是它们无法运行,缺少依赖项。

最后,作为最后的手段,我恢复了对应用程序的所有更改,并尝试构建但它失败了,我假设是因为我现在安装了最新版本的 NativeScript。注意在我尝试执行升级步骤之前,该应用程序正在构建并运行良好。

这是我得到的当前错误(在还原所有内容并尝试使用 Sidekick 构建之后)

最终我只想让我的应用程序更新到最新的 NativeScript、TypeScript、Webpack 和 Angular

更新我删除了 package-lock.json、tsconfig.json 和 webpack.js,并从 package.json 中删除了对 nativescript-dev-typescript 和 nativescript-dev-webpack 的引用。我清理了钩子、node_modules 和平台文件夹并再次运行升级步骤。

这次 TypeScript 步骤成功了,我的 node_modules/.bin 文件夹中有 ns-upgrade-tsconfig 脚本,但是 webpack 步骤失败了,它的升级脚本仍然丢失。