我的规格:

NativeScript Sidekick版本:1.12.1-v.2018.9.3.2(最新)NativeScript CLI版本:4.2.3 CLI扩展nativescript-angular-cli版本:0.1.9 CLI扩展nativescript-cloud版本:1.13.0 CLI扩展nativescript-starter -kits版本:0.3.4

OSx Sierra 10.12.6 xcode 9.2(9C40b)Iphone7

我目前在Sidekick有2个项目 . 我可以构建的第一个,在我的设备上本地运行(iphone7) .

但第二个,构建器一直在说有关配置文件的错误 .

我试图从我的Apple开发者帐户中删除app id并删除了配置文件 . 然后我重新创建了应用程序ID和配置文件 . 我下载了配置文件,dubble点击它,因此它被加载到Xcode中 . 回到Nativescript,在Build选项卡中,我输入了开发人员证书和配置文件 . 我还打开了xcode项目,将签名设置为手动,并设置团队和配置文件(我下载的同一个) . 然后在SideKick中按下build .

经过一些研究后,我不断回到ExportOptions.plist文件 . 我确实有一个并放置在平台/ ios /但是我需要将它包含在某个地方吗?

我的构建日志:

[18-09-10 11:16:00.566] Build started.
[18-09-10 11:16:14.242] (CLI) Executing before-shouldPrepare hook from /Volumes/Seagate2TB/projects/nativescript/MyApp/hooks/before-shouldPrepare/nativescript-dev-webpack.js
[18-09-10 11:16:14.245] (CLI) Executing before-prepare hook from /Volumes/Seagate2TB/projects/nativescript/MyApp/hooks/before-prepare/nativescript-dev-sass.js
[18-09-10 11:16:14.248] (CLI) Found peer node-sass
[18-09-10 11:16:15.000] (CLI) Executing before-prepare hook from /Volumes/Seagate2TB/projects/nativescript/MyApp/hooks/before-prepare/nativescript-dev-typescript.js
[18-09-10 11:16:15.004] (CLI) Found peer TypeScript 2.7.2
[18-09-10 11:16:23.066] (CLI) Preparing project...
[18-09-10 11:16:23.070] (CLI) Executing before-prepareJSApp hook from /Volumes/Seagate2TB/projects/nativescript/MyApp/hooks/before-prepareJSApp/nativescript-dev-webpack.js
[18-09-10 11:16:23.298] (CLI) Project successfully prepared (iOS)
[18-09-10 11:16:23.301] (CLI) Executing after-prepare hook from /Volumes/Seagate2TB/projects/nativescript/MyApp/hooks/after-prepare/nativescript-dev-sass.js
[18-09-10 11:16:23.932] (CLI) All SASS source files removed from app package
[18-09-10 11:16:23.935] (CLI) Executing after-prepare hook from /Volumes/Seagate2TB/projects/nativescript/MyApp/hooks/after-prepare/nativescript-dev-webpack.js
[18-09-10 11:16:23.935] (CLI) Building project...
[18-09-10 11:16:24.390] (CLI) Xcode build...
[18-09-10 11:16:25.056] (CLI) 2018-09-10 11:16:25.055 xcodebuild[3529:41494] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
[18-09-10 11:17:11.455] (CLI) === BUILD TARGET MyApp OF PROJECT MyApp WITH CONFIGURATION Debug ===
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/UIKit-2LM3EQU7VVY4O.pcmwhile processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2B9CA3IY919IU/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory
[18-09-10 11:17:11.460] (CLI) note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2B9CA3IY919IU/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2B9CA3IY919IU/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2B9CA3IY919IU/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2B9CA3IY919IU/ObjectiveC-1KD62J152BYGO.pcm: No such file or directory
[18-09-10 11:17:11.460] (CLI) : No such file or directory
[18-09-10 11:17:11.460] (CLI) note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
[18-09-10 11:17:11.460] (CLI) while processing /Volumes/Seagate2TB/projects/nativescript/MyApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
[18-09-10 11:17:11.460] (CLI) warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/NYRHVEZZLW1G/ObjectiveC-1KD62J152BYGO.pcm: No such file or directory
[18-09-10 11:17:50.083] (CLI) Xcode build...
[18-09-10 11:17:50.900] (CLI) 2018-09-10 11:17:50.899 xcodebuild[3978:45152] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
[18-09-10 11:17:51.320] (CLI) 2018-09-10 11:17:51.318 xcodebuild[3978:45152] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/w0/l3ftdv311vvbzfmklzs979x00000gn/T/MyApp_2018-09-10_11-17-51.315.xcdistributionlogs'.
[18-09-10 11:18:00.134] (CLI) 2018-09-10 11:18:00.133 xcodebuild[3978:45152] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7ffe13d057d0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
[18-09-10 11:18:00.134] (CLI)     "Error Domain=IDEProvisioningErrorDomain Code=9 \"\"MyApp.app\" requires a provisioning profile.\" UserInfo={NSLocalizedDescription=\"MyApp.app\" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}"
[18-09-10 11:18:00.134] (CLI) )}
[18-09-10 11:18:00.138] (CLI) error: exportArchive: "MyApp.app" requires a provisioning profile.
[18-09-10 11:18:00.138] (CLI) Error Domain=IDEProvisioningErrorDomain Code=9 ""MyApp.app" requires a provisioning profile." UserInfo={NSLocalizedDescription="MyApp.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}
[18-09-10 11:18:00.138] (CLI) ** EXPORT FAILED **