应用程序仅在 testflight 构建时崩溃,但在开发或临时构建时运行良好

Tus*_*per 5 testflight ios9 xcode7

我仅在 testflight 应用商店构建中收到此错误。如果我从 xcode 运行应用程序或准备临时构建,那么应用程序运行良好。但是如果我提交到应用商店并通过应用商店的 testflight 功能安装,那么应用会在应用启动时崩溃。

'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 1 
beyond bounds for empty array'
Run Code Online (Sandbox Code Playgroud)

我曾尝试从这个答案遵循:要验证首先转到编辑方案,然后在运行选项卡中将构建配置更改为发布模式,然后在本地安装构建。