iOS binding project - Error MSB6006: "zip" exited with code 255 - xamarin

I have been trying to bind the PayPalHereSDKv2 from this cocoa pod. I have, I think, bound the project and its dependencies but now when I go to build I am getting this error:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.ObjCBinding.CSharp.targets(3,3): Error MSB6006: "zip" exited with code 255. (MSB6006) (PayPalHereSDKv2.PodBinding.iOS)
Not to sure where to go from here? has anyone ever seen this?

Related

Reference errors when importing CubeMx project into VisualGDB

I am having some issues when importing my fresh cubeMX project into VisualGDB. I get tonnes of errors that say:
undefined reference to 'vPortFree' (for example)
Steps taken:
Generate project files in CubeMX using "Other toolchain"
Then in VS, create project using Embedded Visual GDB and mostly following default steps. I am following this process exactly. https://www.youtube.com/watch?v=XY4I0Nq6IGc
Once the project is created I try built it, but I get these errors:
Severity Description Project File Line
Error undefined reference to `vPortFree' stm32nucleof429zi_freertos_tcpip C:\Repos\stm32nucleof429zi_freertos_tcpip.git\stm32nucleof429zi_freertos_tcpip.git\Middlewares\Third_Party\FreeRTOS\Source\tasks.c 3920
Error undefined reference to `vPortFree' stm32nucleof429zi_freertos_tcpip C:\Repos\stm32nucleof429zi_freertos_tcpip.git\stm32nucleof429zi_freertos_tcpip.git\Middlewares\Third_Party\FreeRTOS\Source\tasks.c 3921
Error undefined reference to `vPortFree' stm32nucleof429zi_freertos_tcpip C:\Repos\stm32nucleof429zi_freertos_tcpip.git\stm32nucleof429zi_freertos_tcpip.git\Middlewares\Third_Party\FreeRTOS\Source\tasks.c 3927
Error Build failed: arm-none-eabi-g++.exe exited with code 1 stm32nucleof429zi_freertos_tcpip 1
Error ld returned 1 exit status stm32nucleof429zi_freertos_tcpip C:\Repos\stm32nucleof429zi_freertos_tcpip.git\stm32nucleof429zi_freertos_tcpip.git\collect2.exe 0
When I right click on main.c however and compile, the project compiles without fault. Its when using the build tool and debugger that these errors come up.
Ive never had this problem before when importing projects. Any help would be greatly appreciated
Thank you
After playing with configurations for some time I found the issues. The toolchain file that CubeMx created does not tell the linker to include all the files required for FreeRTOS to compile.
This issue is only relevant if you are using CMSIS_RTOS_V2 and the following steps fixed it for me:
Add CMSIS_RTOS_V2 to the project space by going to:
Add missing includes:
Go to: Project->VisualGDP Project Properties->MS build settings->Include directories and add the folder CMSIS_RTOS_V2 to the file path
To resolve the unidentified reference ‘pvPortMalloc’ error:
Within the VS in the Solution Explorer window: Click on "Show all files". This is a little icon/tab at the top of the solution explorer. Navigate to: C:\...Middlewares\Third_Party\FreeRTOS\Source\portable\MemMang. Right click on heap_4.c and include it in the project
https://sysprogs.com/w/forums/topic/error-undefined-reference-to-pvportmalloc-and-vportfree/

error MSB6006: "lc.exe" exited with code -1

I can't build my application anymore,
every time I try to compile the following error arises.
error MSB6006: "lc.exe" exited with code -1
I've never changed anything within the Microsoft.Common.CurrentVersion.targets file (or any other file which is related to MSBuild).
Full path to the file:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets
Rows where the error seems to be/arise:
<LC
Sources="#(_LicxFile)"
LicenseTarget="$(TargetFileName)"
OutputDirectory="$(IntermediateOutputPath)"
OutputLicense="$(IntermediateOutputPath)$(TargetFileName).licenses"
ReferencedAssemblies="#(ReferencePathWithRefAssemblies);#(ReferenceDependencyPaths)"
NoLogo="$(NoLogo)"
ToolPath="$(LCToolPath)"
SdkToolsPath="$(TargetFrameworkSDKToolsDirectory)"
EnvironmentVariables="$(LCEnvironment)"
MSBuildArchitecture="$(LCMSBuildArchitecture)"
TargetFrameworkVersion="$(TargetFrameworkVersion)"
>
The main problem here is that I can compile every other application, but not my most important one which is written in C# WPF with the .NET Framework 4.7.2.
Does anyone have a clue why I might can't compile the solution?
error MSB6006: “lc.exe” exited with code -1
This error means that your project has something wrong rather than Microsoft.Common.CurrentVersion.targets file
In fact, to see the specific error, you should set your Build Output log to Diagnostic/Detailed by Tools-->Options-->Projects and Solutions-->Build and Run-->set MSBuild project build output verbosity to Diagnostic/Detailed. Then when you build again, you can see the detailed info about it.
And you can try to follow these syggestions:
Please check whether you have any warnings on your nuget packages. If so, please reinstall them or just use update-Package -reinstall under Package Manage Console.
If you have any post(pre)-build event(Right-click on your project-->Properties-->Build Event), please check whether the command has some errors.
If you have licenses.licx files, you should exclude them from your project.
you can try to create a new WPF project and then add the same as the previous project to test if it is the issue of your project.
do a repair in VS Installer in case there are something with your VS Environment or update your VS to the latest version.
In addition, if possible, please share the xxxxx.csproj file of your WPF project with us to troubleshoot your issue quickly. Also, there is a similar issue about this error.

Sync failed unable to resolve dependency

i've just downloaded Android Studio yesterday and when it start building the project i got this error Gradle Sync Failed and the following error messages :
If someone can help me please, i've tried the 'offline work' trick but it was already unchecked.

Titanium Alloy compile failed without error message

When i try to build with titanium studio, i got error message :
[ERROR] :
[ERROR] : Alloy compiler failed
Without another error message, just a blank error message and build is not done.
How can i check which file has an issue ?
Thanks
If the compiler fails it is usually always a typo somewhere in your code. In Studio, check for a little red attention mark next to the filename of the files in your project folder.

Error in make file in eclipse

I tried to build my project in eclipse mars using CDT editor it shows error in makefile. I am very new to handle makefile, I have attached 2 images what I saw in project explorer.
When I try to build my project it shows error
1.mingw32-make.exe: *** [build/driver] Error 1
2.recipe for target 'build/driver' failed Makefile
Need help to resolve this error.

Resources