测试 Testflight beta 测试时应用程序崩溃
App has been crash when testing on Testflight beta test
我已经使用 testflight 对我的应用程序进行了 beta 测试。但它不作为自我发展的表现。我在我的应用程序上使用了 google 地图,当我通过 xcode 测试安装应用程序时它可以工作,这是 运行 在真实设备上 (iOS 8)。但是,当我在 testflight 模式下加载 google 地图时,应用程序崩溃了。
我已将 NSLocationAlwaysUsageDescription
和 NSLocationWhenInUseUsageDescription
添加到 info.plist
代码(swift):
if CLLocationManager.authorizationStatus() == .NotDetermined
{
if (UIDevice.currentDevice().systemVersion as NSString).floatValue >= 8
{
self.manager.requestWhenInUseAuthorization()
}
}
我的开发目标是 iOS 7 和 iOS 8。我该如何解决这个问题,在 iOS 7 和 [=22= 的生产中是否会发生这种情况? ] 8?
我在Build Settings中发现Linking的环境设置需要Other Linker Flags的问题(出现在Targets->您的 App -> Build Settings)为 Google Map SDK 设置参数 -ObjC。我错过了在 Release 环境中添加参数。
我已经使用 testflight 对我的应用程序进行了 beta 测试。但它不作为自我发展的表现。我在我的应用程序上使用了 google 地图,当我通过 xcode 测试安装应用程序时它可以工作,这是 运行 在真实设备上 (iOS 8)。但是,当我在 testflight 模式下加载 google 地图时,应用程序崩溃了。
我已将 NSLocationAlwaysUsageDescription
和 NSLocationWhenInUseUsageDescription
添加到 info.plist
代码(swift):
if CLLocationManager.authorizationStatus() == .NotDetermined
{
if (UIDevice.currentDevice().systemVersion as NSString).floatValue >= 8
{
self.manager.requestWhenInUseAuthorization()
}
}
我的开发目标是 iOS 7 和 iOS 8。我该如何解决这个问题,在 iOS 7 和 [=22= 的生产中是否会发生这种情况? ] 8?
我在Build Settings中发现Linking的环境设置需要Other Linker Flags的问题(出现在Targets->您的 App -> Build Settings)为 Google Map SDK 设置参数 -ObjC。我错过了在 Release 环境中添加参数。