我在Xcode 10.1中收到以下警告消息。
iOS Simulator部署目标设置为7.0,但是此平台支持的部署目标版本范围是8.0至12.1。
我的模拟器OS在12.1 Xcode 10.1中
然后我更新了pod文件。
我的部署目标是9.0
在我的目标
我在Xcode 10和iOS 12中遇到一个问题.看到我的问题是:
GPU帧捕获
由于部署目标早于设备版本,着色器性能数据可能不可用
看我的屏幕截图
这仅在iOS 12中发生.这意味着......
在我的Xcode部署目标:9.0中,在我的iPhone操作系统中是:iOS 12(现在问题来了.)
但是当我在Xcode 10和iOS 11.4中运行时,它很好.
当我从主viewController重定向到另一个viewController时,我得到了这个
错误:
懒加载NSBundle MobileCoreServices.framework,
加载MobileCoreServices.framework,
对于systemgroup.com.apple.configurationprofiles路径系统组容器是/用户/开发/库/开发商/ CoreSimulator /设备/ 083C0102-C85F-463A-96F4-CA1B9AC7919D /数据/容器/共享/ SystemGroup/systemgroup.com.apple. configurationprofiles
我的代码是......
Appdelegate.m
if (![[NSUserDefaults standardUserDefaults] boolForKey:@"HasLaunchedOnce"]) {
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"HasLaunchedOnce"];
[[NSUserDefaults standardUserDefaults] synchronize];
NSLog(@"Launched first time");
} else {
NSLog(@"Already launched");
[self getData];
}
Run Code Online (Sandbox Code Playgroud)
viewDidLoad中
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"HasLaunchedOnce"]) {
dispatch_async(dispatch_get_main_queue(), ^{
LoginPageViewController *lpvc = [self.storyboard instantiateViewControllerWithIdentifier:@"LPVC"];
[self.navigationController pushViewController:lpvc animated:NO];
});
} else {
// My code...
}
Run Code Online (Sandbox Code Playgroud) 在尝试调试视图层次结构时,出现以下错误:
\n\n\n\n\n错误:无法捕获视图层次结构。\n 详细信息:没有用于获取视图层次结构的 plist 数据:计算表达式 \xe2\x80\x9c(id)[(Class)objc_getClass("DBGViewDebuggerSupport_iOS") fetchViewHierarchyWithOptions:(id)[(Class ) 时出错)objc_getClass("NSDictionary") DictionaryWithObjects:(id)[(id)[(id)[(Class)objc_getClass("NSArray") arrayWithObject:(id)[(Class)objc_getClass("NSNumber") numberWithBool:1]] arrayByAddingObject:(id)[(id)[(Class)objc_getClass("NSArray") arrayWithObject:@"_UIVisualEffectBackdropView"] arrayByAddingObject:@"_UIBackdropEffectView"]] arrayByAddingObject:(id)[(Class)objc_getClass("NSNumber") numberWithBool :0]] forKeys:(id)[(id)[(id)[(Class)objc_getClass("NSArray") arrayWithObject:@"DBGViewDebuggerUseLayersAsSnapshots"] arrayByAddingObject:@"DBGViewDebuggerEffectViewsToSnapshotAsImage"] arrayByAddingObject:@"DBGViewDebuggerAlwaysEncodeLayers"]]] \xe2\x80\x9d: 错误:执行被中断,原因:信号 SIGSTOP。\n 进程已返回到表达式求值之前的状态。\n 方法:-[DBGAbstractViewDescriber handleFetchedViewInfo:fetchError:resultHandler:]\n 请归档http://bugreport.apple.com上的错误,其中包含此警告消息以及您可以提供的任何有用信息。
\n
有人有线索吗?
\n\nXcode 版本 8.2.1 (8C1002)
\n模拟器:iPhone 6 (10.2)
谢谢!
\n我正在使用场景工具包进行应用程序.并且eveything工作正常,直到iOS 10.
我可以看到3D模型正确但在我将设备更新到iOS 11后,模型的颜色发生了变化.
-(void)applyColor:(SCNNode*)node{
NSArray *materials = node.geometry.materials;
for (SCNMaterial *material in materials) {
material.diffuse.contents = [UIColor purpalColor];
}
}
Run Code Online (Sandbox Code Playgroud)
我在Crashlytics中经常收到此错误.
TCC __TCCAccessRequest_block_invoke_2.80 + 222
TCC __CRASHING_DUE_TO_PRIVACY_VIOLATION__ + 682
Run Code Online (Sandbox Code Playgroud)
在我的应用程序中,我正在下载图像并将图像直接存储在照片库中,我不会创建用于存储这些图像的化妆文件夹.为此,我在plist中添加了访问权限.
Privacy - Photo Library Additions Usage Description - Save downloaded photos in gallary
Privacy - Camera Usage Description - This app not access your Camera
Privacy - Microphone Usage Description - This app not access your Microphone
Run Code Online (Sandbox Code Playgroud)
但是我遇到了很多崩溃事件.见下面的截图....
谁能帮我...
我与“openssl”结合输入的内容无关紧要,我总是收到以下错误消息:
'openssl: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory'
Run Code Online (Sandbox Code Playgroud)
在阅读了本论坛和其他论坛中提出的许多问题后,我不知道如何解决该问题。
使用 xmppframework 创建聊天应用程序。当我尝试连接到服务器时,它会立即连接并断开连接并引发以下错误。
error domain=gcdasyncsocketerrordomain code=7 socket closed by remote peer
Run Code Online (Sandbox Code Playgroud)
Adium(聊天应用程序)软件上也会发生同样的情况。想知道在 AWS 服务器上设置 Openfire 时是否有任何设置错误。
https://community.igniterealtime.org/thread/50643
如果我需要执行任何步骤等,请告诉我。
谢谢阅读。
我正在使用Objective-CCoreData,但遇到以下错误...
*** 由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“类“NSManagedObject”的 NSManagedObject 必须具有有效的 NSEntityDescription。”
我添加CoreData到我的项目中。我saveData在 中创建了方法viewControllerA并在 中调用了它viewControllerB。
在这种情况下,如果我调用 saveData 方法,它会正常工作,viewDidLoad我会收到错误。viewControllerA
In AppDelegate.h
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
In AppDelegate.m
#pragma mark - Core Data stack
@synthesize managedObjectContext = _managedObjectContext;
@synthesize managedObjectModel = _managedObjectModel;
@synthesize persistentStoreCoordinator = _persistentStoreCoordinator;
- (NSURL *)applicationDocumentsDirectory {
// The directory the application uses to store the Core Data …Run Code Online (Sandbox Code Playgroud) 我正在与您联系以获取位置和地址。因为我成功地找到了位置,但是在获得地址的同时,我得到了警告,
'addressDictionary' is deprecated: first deprecated in iOS 11.0 - Use @properties
Run Code Online (Sandbox Code Playgroud)
有什么解决办法...
ios ×9
objective-c ×6
xcode ×3
cocoa-touch ×2
swift ×2
appdelegate ×1
cocoapods ×1
core-data ×1
crashlytics ×1
database ×1
debian ×1
google-maps ×1
ios12 ×1
iphone ×1
libssl ×1
mqtt ×1
openfire ×1
openssl ×1
privacy ×1
scenekit ×1
sockets ×1
uicolor ×1
xcode9 ×1