为什么带有 firebase 运行的 nativescript 会失败?

时间:2021-02-02 14:30:29

标签: ios firebase nativescript

我尝试在真实设备上运行我的 nativescript firebase。但我收到以下错误。

Webpack compilation complete. Watching for file changes.
Webpack build done!
nativescript-plugin-firebase: building for same environment, not forcing prepare.
Updating runtime package.json with configuration values...
Project successfully prepared (ios)
Building project...
Xcode build...
/Users/michael/Library/Developer/Xcode/DerivedData/Notifier-evgqptqlgvcdmdeqgihzagdiotph/Build/Intermediates.noindex/ArchiveIntermediates/Notifier/InstallationBuildProductsLocation/Applications/Notifier.app/Frameworks/TKLiveSync.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
/Users/michael/Library/Developer/Xcode/DerivedData/Notifier-evgqptqlgvcdmdeqgihzagdiotph/Build/Intermediates.noindex/ArchiveIntermediates/Notifier/InstallationBuildProductsLocation/Applications/Notifier.app/Frameworks/NativeScript.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
/Users/michael/Library/Developer/Xcode/DerivedData/Notifier-evgqptqlgvcdmdeqgihzagdiotph/Build/Intermediates.noindex/ArchiveIntermediates/Notifier/InstallationBuildProductsLocation/Applications/Notifier.app/Frameworks/TNSWidgets.framework: replacing existing signature
/Users/michael/Library/Developer/Xcode/DerivedData/Notifier-evgqptqlgvcdmdeqgihzagdiotph/Build/Intermediates.noindex/ArchiveIntermediates/Notifier/InstallationBuildProductsLocation/Applications/Notifier.app/Frameworks/TNSWidgets.framework: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description

如果我用 XCode 打开平台/iOS/Notifier.xcworkspace 文件,点击播放,应用程序启动,推送通知有效。只有当我执行命令 'tns run ios' 时,我才会收到错误

Pod 版本:1.10.1

XCode 版本:12.2

tns 版本:7.1.2

有人遇到同样的问题吗?

0 个答案:

没有答案
相关问题