Build locally doesn't work


#1

Hi

I’m having troubles with building (locally) and running my ios app on a iphone7. I have created 2 projects in Nativescript Sidekick. For each project I have a different provision file. The first project I can still build and run on the iphone7 device.

But when I try to build the second project, I keep getting :

[18-09-07 16:43:46.165] Build failed. Command xcodebuild failed with exit code 70 Error output: 
 2018-09-07 16:43:41.040 xcodebuild[27374:355575] [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
2018-09-07 16:43:41.304 xcodebuild[27374:355575] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/w0/l3ftdv311vvbzfmklzs979x00000gn/T/MyApp_2018-09-07_16-43-41.302.xcdistributionlogs'.
2018-09-07 16:43:46.136 xcodebuild[27374:355575] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7f98a2495d10>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
    "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.}"
)}
error: exportArchive: "MyApp.app" requires a provisioning profile.
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.}

Before building the second project, I changed the provision files (on the phone) and just in NativeScript Sidekick Build tab. I’ve opened the project in Xcode, and set the provision files also. In Xcode I can build and run the project on my device. But when I try to build and run from NativeScript Sidekick it fails. It does however build and run from cloud option.

So what am I doing wrong?

Some 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

MacOs 10.12.6

iPhone7
iOs 11.2.1