sindresorhus/LaunchAtLogin-Legacy

Adding LaunchAtLogin.framework to a project created in Xcode 11.7 causes debugger to fail

demianturner opened this issue · 2 comments

Please see example project

Tmp.zip

which is

  • a template macOS project
  • one variable defined in applicationDidFinishLaunching
  • add LaunchAtLogin.framework and attempt to view value of foo in debugger:
Printing description of foo:
expression produced error: error: Couldn't IRGen expression, no additional error
  • remove LaunchAtLogin.framework, variable value prints fine

Tested with Xcode 11.3 through to 11.7, issue persists, however I do have one project that has LaunchAtLogin integrated where the issue does not occur. I also set the deployment version of LaunchAtLogin to the same as my project, didn't help.

Started testing other Carthage frameworks, ie by integrating Alamofire and others into the default Xcode project, the Couldn't IRGen expression problem did not occur.

Xcode 12 was released this morning, the problem described above disappeared. Thanks Apple, I guess.