**The identity used to sign the executable is no longer valid.**
Please verify that your device’s clock is properly set, and that your signing certificate is not expired.
Run Code Online (Sandbox Code Playgroud)
我在Xcode设备上在iPhone上构建我的应用程序2天后遇到此错误.它之前运作正常.但只有在iphone上构建时,其他ios设备才是正常的,没问题.你能帮助我吗 :(
我正在尝试使用locationManager
获取我的位置并将其更新到我的网络服务。
- (void)locationManager:(CLLocationManager *)manager
didUpdateToLocation:(CLLocation *)newLocation
fromLocation:(CLLocation *)oldLocation {
//some code here
}
Run Code Online (Sandbox Code Playgroud)
这是正常的,但如果我的应用程序进入后台或手机屏幕被锁定,更新位置可能会暂停。无论如何,我如何获取位置?