Sidekick error build ios locally manual signing xcode


#1

my specs :

NativeScript Sidekick
Version: 1.12.1-v.2018.9.3.2 (latest)
NativeScript CLI version: 4.2.3
CLI extension nativescript-angular-cli version: 0.1.9
CLI extension nativescript-cloud version: 1.13.0
CLI extension nativescript-starter-kits version: 0.3.4

OSx Sierra 10.12.6
xcode 9.2 (9C40b)
Iphone7

I currently have 2 projects in Sidekick. The first one I can build,run locally on my device (iphone7).

But the second one, the builder keeps saying errors about the provision profile.

I’ve tried to remove the app id from my apple developer account and removed the provision profile.
Then I recreated the the app id and provision profile.
I downloaded the profile, dubble clicked it so it is loaded in Xcode.
Back in Nativescript, in the Build tab I entered the the developer certificate and the provision profile.
Also I opened the xcode project to set the signing to manual and set the team and provision profile (same one I downloaded).
Then press build in SideKick.

Also after some research I keep getting back at ExportOptions.plist file. I do have one and placed in platforms/ios/ but do I need to include it somewhere?

My build log:

[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 **