【发布时间】:2012-06-06 19:39:57
【问题描述】:
当我构建到设备时,我的项目直接在设备上运行。但是,当我尝试将其存档以与 TestFlight 一起使用时,我收到以下错误:
Lexical or Preprocessor Issue
Macro names must be identifiers
为什么会这样 我定义的唯一宏是 AppDelegate 中的这个:
#define TESTING 1
#ifdef TESTING
[TestFlight setDeviceIdentifier:[[UIDevice currentDevice] uniqueIdentifier]];
#endif
任何帮助将不胜感激。
【问题讨论】:
标签: iphone objective-c xcode build linker