swift failed with exit code 1 while compiling in Xcode - possibly related to Bridging-Headers

前端 未结 25 2902
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 02:00

I have an Obj-C Project I\'m trying to migrate to Swift. I did succeed with various classes but recently ran into an issue I can\'t seem to make sense of. When I try to comp

25条回答
  •  不思量自难忘°
    2020-12-05 02:34

    NSString const *kGreenColor = @"#00C34E"; 
    

    I had above line in my Constant.h file. which was meant for preprocessors only. Removing that line worked for me.

提交回复
热议问题