question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CSC_INSTALLER_LINK environment variable isn't picked up

See original GitHub issue
  • Version: 5.10.3
  • Target: “mac”: { “target”: [“dmg”, “zip”, “mas”] }

When building for both mac and mas I have CSC_LINK, CSC_KEY_PASSWORD, CSC_INSTALLER_LINK, CSC_INSTALLER_KEY_PASSWORD set and using CSC_IDENTITY_AUTO_DISCOVERY=false to bypass my keychain because this will eventually be run on CI.

From looking at the code it seems like the CSC_INSTALLER_LINK environment variable isn’t being used anywhere, and as a result I’m getting the error:

Error: Signing is required for mas builds but CSC_INSTALLER_LINK is not specified

This works fine with auto discovery, just not environment variables.

Also, is it possible to specify two separate CSC_LINK files, one for mas builds and one for non-mas. I intend to distribute our application both on the store and via our website. I guess two separate builds could be run from the command line with separate environment and target rules, but this seems cumbersome.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jwhearecommented, Jul 5, 2016

I’m excited!

0reactions
jwhearecommented, Jul 7, 2016

Thanks, confirmed this is fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The term 'csc' is not recognized as the name of a cmdlet ...
Locate the path of csc.exe and add it your PATH environment variable. Probably C:\Windows\Microsoft.NET\Framework64\v4.0.30319 .
Read more >
Update your Path variable to include the location of csc.exe ...
csc.exe for the C# Batch compiler. Unfortunately, the installation program of the .Net Framework and Visual Studio does not update the Windows Path...
Read more >
csc is not recognized - For Beginners
csc.exe probably isn't in your PATH. Batch files (.bat) typically set up the environment to add the required directories to the path environment...
Read more >
Setting up Path Environment Variable for CSC Compiler and ...
How To install python and setting environment variable · Top 5 Excel Functions for Finance People (with end-to-end example) · [TAGALOG] Fixing ...
Read more >
Problems with Environment Variables
If the error message states that the environment variable is not set, IT MEANS PRECISELY THAT ! The most likely reason is that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found